This content has been marked as final. Show 6 replies
Thanks for the quick reply, but I don't understand. What I need is a variable of the MovieClip type (I'll call it myMC), so depending on the value of city_str, the value of myMC could be toronto_mc or atlanta_mc and so on. When I tried your code and traced city_str, I got a value of undefined.
Also, I'm not clear on what .alpha does or what 50 is. The only thing I know about the .alpha property is for setting opacity.
Let's go through how the array accessor works:
I've been trying to keep track of a few frame numbers (since AS 2 doesn't seem to have a way of keeping track of frame labels). I'm using
var frameNumber:Number = this._currentframe;
but this number frequently gets returned as "undefined" after I move the play head with a gotoAndStop (but not reassigning the frameNumber variable). Basically, I'm trying to keep track of the old frame where the play head was, and the new frame where the play head moved. Can either of you think of where I should be looking?
you have to be careful about WHEN you execute that code.
you'll need to execute that statement at the "right times" or define a loop that executes that code when the _currentframe changes.