I am thinking to use about 7 “controlling” movie clips throughout a movie (each in an imported swf). These movie clips need to continuously check on the status of a chosen language variable, located in the root, and on a change implement some actions.
If this was MX, I’d use listeners for this to detect a change. But in Flash 5, I think I need the onClipEvent method. My question is this: How draining on the CPU will this be? Since there will be about 7 of these clips continuously running, I’m afraid of this issue.
Can anyone comment? I’m open to any and all advice/suggestions.
Hey Karen
If you run 7 enterFrames that do nothing but test a variable, I don’t think that it will really slow down your movie.
But could you tell me how your status variable changes exactly?
The status variable is controlled by language buttons at the top of one of the imported movies (i.e. english, french, spanish, etc.) On release, a variable holding the user’s preferred language changes to reflect the new choice.
The 7 imported movies are stacked imported sections of the site (only one visible at any given time). The onEnterFrames would do more than just check the root variable, they would also do some simple logic to determine if the chosen language is actually available for that section and update the display accordingly.
I’m thinking it shouldn’t be too bad on the processor, but it doesn’t seem very elegant to me.