| Ultrashock Forums
• Referencing a sprite using a variable? [SwishMax] |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
|
2009-11-26
#2 |
||
|
|
2009-11-26
#3 |
||
|
Hi peter, thanks for your reply - were do i declare my variable - is it ok to do this from within the mc itself? thanks, neil |
|
|
2009-11-26
#4 |
||
|
on the main timeline preferably, if not, in the mc that will trigger the action will do too.
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


3 comments
| 410 views



Linear Mode
var my_mc_name:String = "asdf"; // do the action this[my_mc_name].gotoAndStop("A"); // or _root[my_mc_name].gotoAndStop("A");