| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
i can design well but i have a problem to connect a simple "Enter" button and link it to my "intro" movie clip....can anyone help explain to me the procedures to make this all work together??
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Jan 2001
Posts: 245
|
Is the 'enter' button part of the Flash movie? If so you just need to target the movie clip to play;
Begin tell target ("/mcname") Go to and Play (2) End tell target or; _root.mcname.gotoand Play(2) in this case you would have a stop action in the first frame of the movie clip (and maybe no content in that frame if you want to keep it invisible before it plays) ~mgb [Edited by mgb on 03-18-2001 at 06:56 PM] |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
lets say the "enter" button is on a separate black page...with the text in the middle ....once the button is released...i want it to play my "intro" movie clip?....when you refer to go to and play (2) ...what does the 2 stand for?? is that the level or the frame number?
|
|
|
|
|
|
#4 |
|
Registered User
|
what actionscript do i apply to the "enter" button and what actionscript do i apply to the "intro" scene? i have the movieclip on frame 1 in my movie....and the "enter" button on a separate movie......
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Jan 2001
Posts: 245
|
The '2' refers to a frame. But you are better to make the enter button part of your movie - otherwise you will have to load a new page.
If you make a new scene in your movie and copy the frames in the 'enter' movie (Ctrl+Alt+c) and paste them into the new scene (Ctrl+Alt+v) you can then use the goto action to move into the movie. If you want to keep the 'enter' movie seperate use Get Url and load the page with your movie. If your enter button is in a seperate part of the movie you can forget about the frame 2 business. ~have you read the tutorials here on paths and targeting? ~mgb |
|
|
|
|
|
#6 |
|
Registered User
|
ive read through them and understood them partially....but i feel i can learn faster if i were told step by step....ok ill try to create the "enter" button on the same movie...
i have the enter button on frame 1 and the "intro" movie clip on frame 2 .... do i apply this to the enter button (frame 1) tell target.mcname gotoandplay(2) end tell target....is this right? |
|
|
|
|
|
#7 |
|
Registered User
|
i kinda figured out ...i created a new layer and place stop actions on frame 1 and 2
on the 2nd layer resides the "enter" button(frame 1) and "intro" movie clip(frame 2)....i used the actionscript you gave me and it worked......but the "intro" is in a loop...how do i make it come to a complete stop..... |
|
|
|
|
|
#8 |
|
Registered User
|
when dealing with multiple movie clips and buttons in one movie...i use tell targets and goto andplay...but when i have multiple movies what kind of actionscripts do i use?? oh yea i completely understand the whole notion on levels but im kinda stuck on scripting
|
|
|
|
|
|
#9 |
|
New Member
Join Date: Jan 2001
Posts: 245
|
If you put a stop action in the first frame of a movie clip and use Go to and Play (2) it will make it play.
~mgb |
|
|
|
|
|
#10 | |
|
New Member
Join Date: Jan 2001
Posts: 245
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple External Movie Loading and Stacking | Saed | ActionScript 1.0 (and below) | 6 | 10-13-2005 03:52 AM |
| How can I load multiple movie clips and mp3 so that the swf file will work? | wlester | ActionScript 2.0 | 0 | 09-16-2005 10:01 AM |
| need help please!! need to load a movie and also a movie within the 1st movie | miu66 | ActionScript 2.0 | 2 | 08-03-2004 06:21 PM |
| Problem With Loading MovieClip Into SUB movie | JakeMX | Components | 2 | 07-28-2004 11:07 PM |
| load movie in new window | nathang | ActionScript 1.0 (and below) | 1 | 09-24-2003 01:47 PM |