0
Answered

Hidden Animated Elements - will they impact end user CPU performance while hidden or just when they are Shown?

Charmaine Anderson 11 years ago updated by Ezra Weinstein (Administrator) 11 years ago 1

When you have a lot of hidden animated elements on the stage, are they taking up computing resources in interact mode while they are hidden? Or can one assume they won't impact end user CPU performance until they each element is Shown?  For example I have 26 static images on the canvas and want them to play the large animated version on tap.  User then can tap large animated version to  make it disappear and tap another static image to play a different animated element.  I have about 26 large animated elements I want user to be able to play --one at a time of course.  I'm worried it might be too processor intensive if they are going to take up resources even if elements are hidden.  Trying to figure out best method to not allow user to play all the other animations at once, if you have any suggestions please advise.  Thanks much.

Answer

Answer
Answered

If the animation is hidden then I would just make sure that it is not running through the frames in which case it won't take any CPU.   So the whole key is to make sure you are not "running" any animations that are hidden or off screen until you need to make them visible.

I decided not to go down this path after all as my PC couldn't handle the processing of this much data and the app kept crashing so I decided not to do this, although my question still stands.  Thanks.


Answer
Answered

If the animation is hidden then I would just make sure that it is not running through the frames in which case it won't take any CPU.   So the whole key is to make sure you are not "running" any animations that are hidden or off screen until you need to make them visible.