| View previous topic :: View next topic |
| Author |
Message |
tripti
Joined: 01 Aug 2006 Posts: 18 Location: Bangladesh
|
Posted: Mon Oct 02, 2006 7:43 am Post subject: Help me with start of action script |
|
|
Hi frndz ,I m very new and learning flash myslef. I m trying to make a 4 minutes flash movie .
I want the "play Button" at the beginning of the movie and at the ned I want the button " Replay". . How can I do tha? Would you plz help me?
without it the movie is looping and I have no control. it isd going on and on. I also want to stop or pause the movie in any stage. |
|
| Back to top |
|
 |
|
|
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 564 Location: UK
|
Posted: Thu Feb 22, 2007 3:15 pm Post subject: Re: Help me with start of action script |
|
|
Ok to start with how is your movie arragned, is everything on one frame or is spaced out between lots of frames? To do the play button make a new keyframe at the begining of the movie. Then right click on this frame and go to actionscript and insert:
Also do the same at the end. This wil mean that the movie does not start and when it gets to the end it wil not loop back to the begining.
To get the movie to play you will need a button, to do this insert a new peice of txt saying 'Play'. The right click on it and click 'Convert to Symbol'. After you have done this you can now right click on the text and add some code. The code you need to make the movie play is:
[code]Goto([code] (forgot it will check on return to my house)
Then this is repeated for the last frame with 'Replay' button. Need to know how movie is arranged to sort out pause buton.
Flabby Rabbit[/code] |
|
| Back to top |
|
 |
|