-
Dynamic reference to MC using variable???
Using AS2. I have a variable defined:
activenav = "services";
I then want to reference the variable in a MC string. I've tried many variations of this:
_root.my[activenav]Clip.gotoAndPlay("Out");
Essentially, I want Flash to see this as:
_root.myservicesClip.gotoAndPlay("Out");
Getting syntax error. Need some help!!!
-
FK'n_dog
_root["my"+activenav+"Clip].gotoAndPlay("Out");
-
Originally Posted by a_modified_dog
_root["my"+activenav+"Clip].gotoAndPlay("Out");
D'oh!! THANKS!!!!!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|