PDA

View Full Version : Animation slows gradually, if the swf remains opens for mins


cooljeetin
03-07-2008, 12:44 PM
Hi

I have a swf which has a repeated animation on a user click. The animation works fine the first time. But if you click again after say 45 mins it slows down considerably like from 40 fps to 10 fps. clicking does nothing but plays the same animation from frame 1.

Kindly let me know, wat is the reason

Regards
Jatinder

ASWC
03-07-2008, 01:43 PM
Hard to say like that, maybe you should attach you fla with the external files and somebody will take a look. Personally I don't have CS3 just so you know.

fnx
03-07-2008, 04:01 PM
What do you do inside the onButtonClick (or the function you call)?
Are you creating/adding child whatever or just call something like gotoAndPlay(1)?

In the first case you're adding child forever so the movieclip grow in memory forever (and slow down). In the second case I dunno :P

Anyway I wonder who on earth would have an swf running for 45 mins! :D