View Full Version : "return to" button
hi
i'm beginning the learning and made a button that starts an animation. At the end of it i want a button that sends the viewer to the beginning again. I did that putting an action stop on the button and on the next keyframe i put an action go to "start" - the name of the initial button. But i guess this can be done better. Can you help me?
thanks in advance
Rupert
02-12-2002, 11:52 PM
perhaps you might be better to put a stop(); action on the last frame of your animation where your button is. Then put an action on your button that sends the movie back to the start frame of your animation.
on(press){
gotoAndPlay(start of your animation);
}
Cheers,
Rupert
txs for answering!
i did it
now my problem is that the button doesnt obey: i mean, doesnt get back to where i want him to send the viewer
i make an action: gotoandplay(the name of the scene i want) but just sends me back to the last animation
how can i solve that?
thanks again for the atention
Rupert
02-13-2002, 12:21 AM
You will need to better describe your problem and describe the set up of the movie for me
- are there multiple scenes?
- are you trying to jump to a different scene as well as a different frame
Rupert
re hi
i have 3 scenes:
scene one - is where i have a button that sends me to scene 2
scene 2 has a button that sends me to scene 3
scene 3 is an animation, at the end of which i have the problem:
i want a button to appear at the last frame of that anim (the purpose is to click on it to get back to scene one);
there, i put an action stop in the button, and also a stop in a layer of the anim.
in the next frame i wanted the button, when clicked, to send me back to scene one!
here is what i did: put a stop action in the button on the last frame of the anim, and on the next frame i put an action: gotoandplay(sceneone)...
but it does nothing
hope i was clearer now!
thanks for your help and patience
Rupert
02-13-2002, 12:52 AM
see my attached file.
If you are trying to do what I think you are trying to do this should help.
Rupert
hi again!
:)
worked perfectly
that's it
thats what i wanted
just a little problem: i coudnt write, using the actions pannel, "on release"!!
had to copy and paste from you
how can i do that?
thanks a lot again
Rupert
02-13-2002, 01:52 AM
If you need to switch between Expert Mode and Normal mode you can do so by clicking the little black arrow on the top right of the actions panel.
Cheers,
Rupert
hi once more
i'm sorry but i dont understand that: when am i suposed to use one or another?
Is that why i coudnt write the on release thing?
thanks again
Rupert
02-13-2002, 02:35 AM
ok.
If you want to manually hand code (type stuff, paste things in) use Expert mode.
If you want to choose items from the lists of actions use Normal mode.
I'm off to get lunch.
Cheers,
Rupert
great!
thanks
this is great because in a few minutes i learned a lot
thanks again
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.