|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please analyze this actionscript...
Should this not work?--
-------------------------------------------------- //This var is declared on main timeline var _root.cad = "1" // This code is run inside of a movie clip on the main timeline if (_root.cad <> "") { gotoAndStop(_root.cad); } else { stop(); } -------------------------------------------------- I am having a problem with gotoAndStop(_root.cad); I cannot get flash to jump to the frame number when passing it in. Is there something I have to to make that happen? |
|
#2
|
|||
|
|||
|
Sorry, here is the snippet of code I am having trouble with:
_root.cad = "1" if (_root.cad <> "") { "gotoAndStop(cad"+_root.cad+");" } else { stop(); } I am trying to addend frame name dynamically into the gotoAndStop Action. Is this possible? |
|
#3
|
|||
|
|||
|
Howdy...
Try this... PHP Code:
|
|
#4
|
|||
|
|||
|
I sometimes find it is necessary to use-
_root.gotoAndStop(_root.cad); ~mgb |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Please analyze this actionscript... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|