-
Simple Actionscript Code Question
If I have a Movie called movie1, and inside that movie i have another movie clip movie 2.
Inside Movie Clip 2 I want to have a button that sends the playhead back to movie1 at frame 1.
I tried :
button.onRelease = function (){
_root.movie1.gotoAndPlay(1);
};
But this isnt working...
Can anyone help
Thanks
-
have you tried?
_level0.movie1.gotoandPlay(1)
-
Originally Posted by wattsup
have you tried?
_level0.movie1.gotoandPlay(1)
hmm just did and its not doing anything except giving me a syntax error.
-
can you post your fla and what version of flash your using?
-
Originally Posted by wattsup
can you post your fla and what version of flash your using?
Im using Flash 8 and this is the code i just tried:
button.onRelease = function (){
_level0.movie1.gotoAndPlay(1);
};
-
Last edited by joe97tj; 02-13-2006 at 04:08 PM.
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
|