I know a lot of people know about this code but i'm posting this for all the begginers (like me LoL) in coding ^^
just to make it clear i'm using AS2
well let's get this started
Like in all the buttons tutorial go to library--common library--buttons just if you DON'T have a button with your own design
[ATTACH=CONFIG]3114[/ATTACH]
select the one you like from this library
when you have the button you like you're ready for the codes: this code goes in the button:
on (press) {
play();
}
[ATTACH=CONFIG]3115[/ATTACH]
with the REplay button you have to follow all the steps again the only different thing is the code, replay code: obviously in other button.
on (press) {
gotoAndPlay(2);
}
in the first frame of your movie and the last where you put the buttons you need to put this code in the actions panel (F9): stop(); or the movie will play and all this work will be in vain, ok?
[ATTACH=CONFIG]3116[/ATTACH]
well I think that's all see you next time
Bye, vml..........