Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 ViewsI know this is a basic thing, that has been explained in maybe differnetways in several tutorials, but none of them seem to work with me. I'm dreadful at using actionscript and was hoping someone could help makes things a little clearer for me
reaally simple
make buttons for each scene
on button put
on(release){
gotoAndPlay(scene,frame number/label);
}
do that for all your buttons but change the scene / frame of course then stick them in the first frame/introscreen with
stop();
on the frame
TEH EDN
nobody
does'nt work, this is the code i'm using
on(release){
gotoAndPlay(scene2,1);
}
At 9/15/09 12:52 AM, blank0000 wrote: does'nt work, this is the code i'm using
on(release){
gotoAndPlay(scene2,1);
}
Take out the scene2 and put just 2?
I personally think its a lot better just to have it iin one timeline then label the frames
that HAS to work
i actually would put each scene into an mc the have 5 frames with 1 mc in and at the last frame in each i put
_root.nextFrame();
but thats just me
as for you is it a button your using or mcbutton and are there any errors coming up
make sure in the scene part you write it like this if you want to go to scene called later frame 14 thats
on(press){
_root.gotoAndPlay("later",14)
}
nobody
Easy peasy, make buttons for all the different scenes you have in your flash (you'll have to leave a frame for the scene select and do your animation) once you've finished your animation go back to the menu frame. On the buttons for the scenes copy and paste the actionscript:
on (release) {gotoAndPlay(FRAME HERE);}
Delete the 'frame here' and put in the frame number for the scene you want it to go to. Do this for all the buttons.
THE END.