Can't change a variable in _root in Flash CS4?

  • Thread starter Thread starter Cha0tic221
  • Start date Start date
C

Cha0tic221

Guest
I'm not a novice in Flash and have been working in it for over 3 years.

I made a variable in _root, (Main timeline), using

var cur:MovieClip = _root.tip1

i have functions declared in the same frame and movieclips in the frame that access this variable. No matter what referance I make to it to try and change it nothing happens.

_root.cur = _root["tip"+mc.nextnum]

This is what I'm trying to do. Set the variable cur the instance of a movieclip. I have tip1, tip2, tip3..... tip5.

No matter what I try the cur variable ignores all changes I try to make to it. I can still access it and use the variable but it does not change.
 
Back
Top