Help for a new guy please.
http://www.rams-hill.freeserve.co.uk/flash/test.swf
Please look at the above. I only want to animation to start if your mouse pointer clicks on the menu button at the top right. It seems to loop. The animation is a movie clip symbol. Should it have been a button ?
A Guy With a Hat
Hi.
On the first frame of the animation movieclip (i'll call it animMC) put this:
stop();
on the menu put this:
code: on (release){
tellTarget(_root.animMC){
play();
}
}
Never tested it but should work.
Still can't do it !
Tried that and no luck. Stops looping but when you click on the button nothing happens.
Attached Files
Senior Member
Is this what you wanted? You were trying to call a movieclip that wasn't on the stage. Also, don't use tellTarget; simply use gotoAndPlay();
Flash is amor; nada more.
That's great just what I wanted, but how did you get it onto the stage ?
Senior Member
Get what onto the stage? I didn't really move anything except for the code.
Flash is amor; nada more.
on (release) {
_root.Explode.gotoAndPlay(2);
}
Oh I see the Explode section above refers to the label I have given the movie clip. Cool thanks
Regards
Martin.
on (release) {
_root.Explode.gotoAndPlay(2);
}
Oh I see the Explode section above refers to the label I have given the movie clip. Cool, thanks
Regards
Martin.
Senior Member
Well, it's the Instance Name of the movieclip...but same concept
Take care
Flash is amor; nada more.
Many thanks mate.
Take care
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