when i use this code
on
(press)
{
gotoAndStop("scene 3");
}
Nothing happens when i click on the button.... Can anyone help?
Edited by herocks, 25 November 2006 - 08:37 PM.
Posted 25 November 2006 - 08:36 PM
Edited by herocks, 25 November 2006 - 08:37 PM.
Posted 25 November 2006 - 09:28 PM
on (release) { gotoAndStop("Scene 3"); }
Posted 27 November 2006 - 03:29 AM
you actually CAN navigate through the scenes you've created using actionscript.When flash movies are published, the scenes are all placed one after the other and put together in one long movie. So, there are no "scenes" when a flash file is published, and hence you cannot make a reference to scene names in Actionscript. Scenes are only in flash files to help keep things organized.
What you need to do is create a frame label on the first frame of scene 3 by selecting the frame in the time line, and labeling it in the properties panel. You can then use your Actionscript code to refer to that frame by using it's label.
For example, if you label the keyframe "Scene 3":on (release) { gotoAndStop("Scene 3"); }
Hope that helps
Edited by UnderAttak, 27 November 2006 - 03:29 AM.
Posted 27 November 2006 - 05:23 AM
Posted 27 November 2006 - 05:26 AM
Posted 27 November 2006 - 05:58 PM
Posted 28 November 2006 - 06:32 PM
Posted 29 November 2006 - 12:26 AM
Posted 29 November 2006 - 02:40 AM
Posted 29 November 2006 - 02:44 AM
Posted 29 November 2006 - 04:00 AM
I think they're more full proof, because shape tweens (and you mean motion tweens, not graphic tweens) are weird and unpredictable. Shape tweens are only good for transition in shape and colour. Motion tweens are good for motion.
Posted 29 November 2006 - 04:34 AM
Posted 29 November 2006 - 07:56 AM
0 members, 0 guests, 0 anonymous users