Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:00:55+00:00 2026-06-13T05:00:55+00:00

I need to run a flash animation, (swf file) for about 12 hours. This

  • 0

I need to run a flash animation, (swf file) for about 12 hours. This is for a exhibition.

Due to constraint outside of my control Im running this from a laptop (currently windows vista(!) but I can reinstall all but mac os’s onto it, through a VGA, at a 1024×768 resolution.

Does anyone have any previus experience of best practices/advice on this?

would any os be better exquiped, am I better with a comandline linux running only a flash player? would there be any benifit converting the swf to native code and running it?

any pitfalls you can think of?

any advice greatly appriciated.

N.b I hve seen the question Running the Flash Player over long time period however I’m looking for best practices and tips etc on a wide range of topics

If anyone feels another ‘overflow’ would get me better advice please let me know

thanks for any suggestions

Andrew

EDIT:

just come across this:
http://www.adobe.com/devnet/flash/articles/efficiency-tips.html
Some good tips here on optimizing the file contents.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:00:56+00:00Added an answer on June 13, 2026 at 5:00 am

    Just some general tips:

    • Make sure you use the Release version of the Standalone Flash Player (the Debug version is slower and takes up more memory)
    • Always remove event listeners when you don’t need them anymore, and just to be on the safe side use weak references when you add event listeners.
    • If you’re loading .swf files into the main swf, make sure to call Loader.unloadAndStop() when you want to unload the .swf instead of Loader.unload().
    • In all classes you constantly create new instances of, you can spot memory leaks faster if you make sure each instance takes up a lot of memory. Just temporarily add a large bitmapData at the top of each class (private var _debugDummy : BitmapData = new BitmapData(2000, 2000);). Then you can quite quickly observe if the memory continously increases. Whatever you do don’t forget to remove these dummies when you are done testing!

    Specific tips in this case:

    • Build in the ability to run the time based logic at a faster rate, so you can simulate a “12h run” during a much shorter timespan. This will make it a lot easier to find leaks.
    • Since it’s an exhibition, it might be a good idea to setup the computer to start the flash again if it crashes (or rather quits silently if it runs out of memory, which is the most common reason for it to quit unexpectedly). What we have done for exhibitions at the company I work is to create a projector file (.exe) from the release version of the flash player. Then we have a small service (built in-house) running on the machine which constantly checks that the projector .exe is running. If it’s not, it starts it up again. As I said, the service is built in-house, but it’s possible you can find something similar. Also, it might be a good idea to setup the computer to start the flash when the computer starts, in case the power is lost and the computer restarts. If it’s an exhibition, you can’t be paranoid enough 🙂
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a swf file (a flash game). I want to run some script
I need to run a script that will generate the projects.list file when a
I need to run a standalone ruby script as Unix (linux) daemon. After running
I need an application to run only from a specific USB flash drive. I
I'm trying to do some animation without Flash, I need a logo to load
I am trying to just compile and run the demos from this article: Flash
I have this code <div id=c01 class=hider> < a href=flash.swf class=bump>flash</a> </div> and it
For local development of a Flash game we need to run servers at 127.0.0.1
I'm building a desktop app using Flash Builder and I need it to run
When I run my swf locally in the Flash Player application, its memory usage

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.