-
Dynamic Execution Instructions
I Know I'm doing this wrong, and will probably have to use the tellTarget function but i need to execute an instruction that changes depending on the selection made by a user. Therefore
can i do this?
nav_full.subMenu2.gotoAndPlay('in');
with This
eval("nav_full.subMenu" + varName + ".gotoAndPlay('in');");
Cheers in Advance
-
Hi,
you probably want something like
nav_full.subMenu[varName].gotoAndPlay('in');
Musicman
-
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
|