Movie Clip Buttons And Scenes
How would I go about making my movie clip button link to different scenes in a flash movie? I've tried the on release function, but I think it's looking within the movie clip itself for whatever scene I want it to point to. Is there a way to let the mc button know that it's supposed to be looking for scenes within the actual movie, and not with in the movie clip itself?
DevShed > Flash Help
Posted on: February 25th, 2007, 05:01 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Movie Clip Buttons Scenes
i have a drop down menu that i made. its a movie clip. when the drop down happens the buttons that come out wont jump to the scene i tell it to go too when it gets pressed.
Loading Scenes From Movie Clip Buttons
hello
this is probably very simple.
i have a button in a movieclip on one scene ion release i want this button to load the next scene. i rememeber something aboput get target but i can't really remember how to do it. thanks you for any help:confused: :confused:
Linking Movie Clip Buttons To Scenes
Hey Guys,
I'm kind of a newbie but not really but I feel that this probably a newbie topic. Basically what I have is a button that when you click on it, it jumps to another frame where more buttons appear. I want those specific buttons to then jump to another scene and play on frame 1. Unfortunately, things aren't working correctly for me and I have no clue why. It's just all text basically converted to graphics and movie clips. Could you please tell me how I can accomplish this without messing everything up. The easiest way possible. I have alot of scenes that I'm making and need my links to work towards them. Please help ASAP.
Matt
:: | Movie Clip W/ Buttons That Controls Scenes | ::
I think this is pretty simple, but I cannot figure why it is not working. I am using Flash MX 2004. I am pretty new to all of this so I will try to explain what is happening as best as possbile. I have a Flash file with multiple scenes. I have a draggable control box movie clip ("controlBox_mc") that I dropped onto the stage in Scene 1. "controlBox_mc" displays informational text for the current scene. Inside the "controlBox_mc" movieclip, I have 3 buttons, "goScene_btn" that should take the user to the next Scene, a "backScene_btn" to go back to the previous scene, and a "attachMovie_btn" to start the current Scene's animation ("animScene1_mc"). I am using the following script in Frame 1 of Scene 1:
//stops the playhead at frame 1
stop();
//This script takes the user to Scene 2 when goScene_btn is released
goScene_btn.onRelease = function(){
gotoAndStop("Scene 2", 1);
unloadMovie("animScene1_mc");
};
//function plays animScene1_mc when attachMovie_btn instance is released.
attachMovie_btn.onRelease = function(){
_root.attachMovie("animScene", "animScene1_mc", 1);
animScene1._x = 275;
animScene1._y = 200;
};
I have used the Linkage Properties method to give Scene 1's animation ("animScene1_mc") a linkage identifier name of "animScene1"
I believe that this script is not working because the buttons that control the scenes are inside of a movie clip that is dropped into the stage. If I put these buttons on the stage directly, the script works, I just need to find a way to tell the buttons to work when they are not on the stage, but in a movie clip ("controlBox_mc") that is on the stage. Anyone have an example, or advice on how to script this? I am building a product demo, and need to have the document set up this way.
Thanks in advance!
Buttons In Movie Clip Won't Bring Up Scenes
I've created a movie clip within my main scene.
I have 6 buttons in that clip. I would like these buttons to call up the appropriate scenes but it isn't. I don't know whether I cannot have buttons in movie clips call up new scenes or if my actions script is simply wrong.
Here are some of the actions I've tried to upload the scene or swf files:
thanks.
on (release) {
_root.gotoAndPlay("instance name");
}
----Also, named 1st frame of scenes with matching instance.
on (release) {
_root.gotoAndPlay("scene name");
}
on (release) {
gotoAndPlay("scenename",1);
}
on (release){
uploadMovie ("name.swf",1);
}
Buttons - Changing Scenes From A Button Within A Movie Clip
hi everyone
just wondering if someone can help me sort out a button problem
i want to change scenes by clicking on a button within a movie clip - and at the moment its just going back to the first frame of the clip - its not going to the next scene.....
any help would be great
cheers
From Movie Clip To Different Scenes
To anyone that can help me...
The problem that I have is that I have made an animated menu w/ buttons fading in..now this is part of a demonstration..and I need the menu to jump to different parts of the demonstration...What I have done is put these different parts in different scenes..
Now I came to the realization that I cannot jump from withing a movie clip to a different scene..what can I do to make this work out! this is very URGENT..grateful to anyone that can help me...
If you need to see the file..i'll show it to you if need be..THANKS!
Movie Clip Over Various Scenes
I have a movie clip that is animated and it runs over numerous scenes. I need this clip to play as if it were one animatiuon. At present the movie clip restarts on every scene.
Can anyone suggest a way to correct this?
Thank you
Movie Clip Won't Navigate To Other Scenes
I have a navigation bar made up of several buttons. This navigation bar is a movie clip that resides in the root movie.
Each button has the following code attached to it:
on (release) {
_parent.gotoAndPlay("Logging On", 1)
}
where "Logging On" is the name of the scene and is different for each button.
Anyways, the problem is that it isn't working at all. If I place a button and similiar code by itself in the main movie, it works, but not when nested in this navigation bar.
I've also tried _root as well, no luck.
Am I missing something completely obvious?
Triggering Movie Clip Run To Run Over 3 Scenes
Hi there, I was wondering if anyone can help. I have a Flash movie that contains 3 scenes; each scene has only 5 frames. Is it possible to trigger a 12 frame movie clip from within the first scene and have it play uninterrupted on top of the 3 scenes? At the moment the clip is stopping when the main movie goes from scene1 to scene2.
Thanks very much.
K.Rice
Changing Scenes From A Movie Clip
Hi
Is it possible to change scenes using actionscript in a movie clip. In other words, in a game I am working on, when the spaceship explodes, the explosion takes place in a movie clip. At the end of the movie clip I want to go to the next scene. (ie: the ending) But!!!, the actionscipt doesn't work with a basic goto statement!!!
Is it possible to send the user to a new scene from within a movie clip? If so how would I go about doing so?
If there isn't, any suggestions?
Any comments appreciated!
_________________________________________
Thanks,
Grant
Calling Scenes From A Movie Clip
I'm using a drop down style menu which is a MClip. When adding an action to a button within this movie clip to call another Scene within the movie, it does not work. In other words the typical:
on (release) {
gotoAndPlay ("Scene 1", 1);
}
action does not work. Anyone had any experience with calling movie scenes from buttons located within a movie clip?
In help would be great....I have tried _root. and _level0. syntex.
Thanks,
FEW
Multiple Scenes In A Movie Clip.
Hey everyone, thanks for looking here. I need to turn a portion of a website into a movie clip, however, it has two scenes (one for the preloader and one for the actual portion). I had no trouble turning it into a movie clip when it was one scene, but now I'm lost because I can't find any way to add a scene to a mc. Any ideas?
Thanks alot,
-tim
Linking To Scenes From A Movie Clip
Can you link to scenes within a Flash movie from a libary movie clip?
It allows me to do it in editing mode but when I view the movie as a shockwave file the link doesn't work...
Help!
Changing Scenes With A Movie Clip
Thanks for the earlier replies.
I have now placed a button inside a movie clip. I can use it to jump to places in the current scene with;
_root.gotoAndPlay("Options");
But when I apply the same to a scene nothing happens?
Can anyone help.
Movie Clip Navigation Between Scenes
Using MX…made a movie clip for general site navigation. I put an invisible button over some fading words in a little clip. Pulled the clip into a scene and I can’t use it to navigate to another scene using
on (release) { gotoAndPlay("otherscene", 1); }
It just starts the scene the clip is in over again. getURL will work, but I don’t want to export the scene separately. Are movie clips smart enough to know what scene they are in and to go to another?
Thanks
Changing Scenes From Movie Clip
Hi everyone!
I've been having trouble with getting actionscript to change scenes on the main timeline from within a movie clip. I used the code:
gotoAndPlay ("scene2", 1);
and instead of it going to the next scene it remains on the same scene. The code is on the last frame of the movieclip timeline.
Thanks for any help you can give me!
-S.C.
Jumping Scenes From Movie Clip
I tried searching the Help Forums first, but I kept getting errors so I'm just gonna ask for help here.
I have a navbar for my flash site, and its in its own movie clip. What I need to happen is when the user clicks on a button in the navbar the whole thing jumps to a different scene. I tried using the basic on release goto and play scene name, but that doesn't seem to work.
Does anyone know what I can do to make this work if it can be done at all??
Thanks!!
Controlling Scenes From A Movie Clip
I am building an online portfolio, and I am creating my "menu" buttons nested in a Movie Clip. I am doing this so that I can just drag the movie clip into whatever movie or scene. I also have some animation/drop down buttons in my "menu" movie clip. My problem is that I cannot figure out how to control the scenes in the main timeline (_root.) the way I want to. I can start and stop the timeline and even advance or move back in frames, but I cannot control moving to different scenes from my buttons within the movie clip.
Here is an example of my code from one of my "menu" buttons that does not work.
on (release) {
_root.gotoAndStop("Scene 2", 1);
}
However, this works,
on (release) {
_root.gotoAndStop(_root._currentframe+60);
}
Any suggestions?
Thank you
Controlling Scenes From A Movie Clip.
Hey again all, I'm having trouble and I hope the pros can help me out. I've started making a movie clip that will go to different frames within the movie clip when a button inside the clip is interacted with (I made it so a button would be increasingly highlighted when moused over). Everything works fine in the animation, however I want the main scene to jump to a different frame when the button inside the movie clip is release. In other words, I want a button in a movie clip to control the playback of the main presentation when it is released. Here's my script thinking that it will work:
Home> ButtonMovieClip frame 5 actions...
homebtn.onRollOver = function() {
gotoAndPlay(22)
}
homebtn.onReleaseOutside = function(){
gotoAndPlay(40)
}
homebtn.onRollOut = function() {
gotoAndPlay(40)
}
homebtn.onRelease = function() {
gotoAndPlay ("Home", 2)
};
Thanks for the input! I always enjoy learning something new. ^_^
Targeting Scenes From A Movie Clip
Lo all,
Just fired up MX, started playing around with it and hit my first problem! I am trying to target scenes from a button in a movieclip.
Here is the code I am using that won't work!
on (release) {
_root.my_clipper._alpha = 60;
main_interface.gotoAndStop(2);
}
What am i missing here?
Thanks in advance
Torquemada
Buttons In A Movie Link To Other Scenes
I am really stuck so any help would really be appreciated!
I am using Flash MX.
My navigation is comprised of buttons in a movie...I can not get the buttons to link to other scenes when I drag my navigation movie into a scene. The only way I can get the buttons to work is if I put the navigation keframes in every scene and do all my coding in the scene.
I want to be able to drag the navigation movie into scenes and have the buttons within that movie link to other scenes.
Please help!!!!!
Visit http://www.cashcowmedia.com/CCM.html to see the site I am working on. Have also attached an fla file that haas my navigation movie.
Thank you!!!!!
Movie Clips Buttons Within Scenes
Can you navigate scene to scene with buttons located within a movie clip?
I have about 6 scenes total. On one scene I incorporated a portfolio gallery. Within it I have a MovieClip that has about 4 buttons. I would like to have each of them point to other particular scenes. I used about 5 different scripts and none seem to work.
I will be more than happy to send you the file... I know its easier to view it than to try to explain it.
My Buttons Are Not Going To My Scenes In My Movie. I Don't Know What The Probem Is.
My buttons won't work. Even my college teacher can't figure it out so I am turning to you guys. Yes I did try some tutorials online, but they didn't seem to work. My fla is located here: http://buffalo.edu/~hb8/dms155 and it is the only fla in the directory. The fla uses the xml files and both folders, but that shouldn't cause problems if you want to edit the fla. Please help me because this project is due this Sunday and I spent many hours on the animations. My teacher is no help to me. Thanks to anyone willing to have a look-see!
Buttons In A Movie Link To Scenes
In my Flash MX my navigation is contained in one movie comprised of buttons. What I can't figure out is how to get the buttons contained in that movie to link to scenes. The only way I have been able to get the buttons to link to scenes is to take the buttons and individually place them in the scenes... I want to have the navigation in one movie with the scene links so that I can just drag that navigation on to the scens. Any help would really be appreciated, I am stuck!!!
I have attached my fla file for reference.
Buttons In A Movie Not Working With Scenes?
Hello Everyone:
I know the subject line sounds weird. but this is the scenario:
I have 2 Scenes: Scene 1 and Scene 2.
In Scene 2, I created a movie clip with some buttons like
link 1 | link 2 | link 3 | back to Main |
so these are all buttons inside a movie clip called mov1
The back to Main button inside the movie clip is supposed to go back to previous scene. I had some code like
on (release) {
gotoAndPlay("Scene 1", 1);
};
but It did not work. After tearing my hair and ****ing the computer for a bit, I deleted the back to Main button from the movie clip and created a separate button on Scene 2 (as apposed to a button on a movie clip and using the clip on scene 2) called "Back to Main" right next to Link 3 and same code as above and It works!!
I don't know why this happens? Any idea why?.
Thanks!!.
Jeyyu.
Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.
in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:
Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}
thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:
Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}
The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.
the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.
thanks!
Movie Clip Actionscript Working Across Scenes
Hi all,
I've got trouble making a movie clip button play a frame in another scene. I am using the script:
_root.Play(kitchen);
but it's not going to the first scene of the movie, it's looking for the kitchen frame label within the scene it's already in.
Can anyone tell me how to make it go to that label in the first scene?
Button Within Movie Clip Controlling Scenes..
hiya
i have a button within a movie clip and all i want it to do is take me to another scene within the main timeline. sounds easy enough but i can't for the life of me get this to work.
please help.
thanks.
Button Within Movie Clip Controlling Scenes..
Hello !
Well, im here, i looking for a solution, im creating a small page, for project,
I have a button, on this, button i have a Tell Target Action, this one shows up, a Movie Clip, it works, the deal , is there are 5 diferents, buttons, i want each time when you click in any button, clean the previous one and showp up , the the proper Movie Clip,
Every time when i click on the button shows up, the Movie clip, but when i click on the next one, this shows up, the movie clip under the first on,
Please help me Anyone
Waan
Scenes And Animation Inside A Movie Clip
Perhaps someone can help with this latest problem:
I have a movie with three scenes. It's meant to be a map with three levels of detail, each in its own scene drawing from external SWF files located at
/data/map/*filename*.swf via loadmovie. It does this on entering the first frame of the second scene, so I can't have it constantly reloading the data, or I'd get my account killed in about 10 minutes.
A major component of this map are two starfield objects in the background which rotate at different speeds for a quasi-3D effect. To get an idea of what it looks like when it works, I have an old version here:
http://genin.org/vendetta/map.swf
These are located within a movie clip and placed on the stage with a controlling script in a third empty movie clip.
And here comes the problem. I can't get Flash to stop playing through all of the scenes at once. I want it just to keep the movie clip playing in the background, but stay at that frame. I've tried a simple stop action, but that keeps the movie clip containing the starfields from playing. I tried a gotoandplay(1), but it simply ignored that and moved on to the next scene. The file in question is here:
http://genin.org/vendetta/map.fla
Can A Movie Clip Change The Main Scenes?
i have a movie clip in the main time line inside this movie clip i have this buttom that i want to change the main scenes somethin like this...
on (release) {
tell target (_root){gotoandstop("scenex", "1")}
}
i'd spend hours trying with telltaget with and the dot(.) notation
Movie Clip In Frame Plays Through All Scenes
Hi,
I have action script that is within a frame to play snow, I wanted this to stop playing in scene 3 at frame 300 but it keeps playing throughout. I have tried movie clip controls but everything I do doesn't work to stop the snow movie clip.
Any help would be great.
Thank you in advance.
Curtail/
Changing Scenes From Inside A Movie Clip
Hope this hasn't been posted before, I looked around a bit and didn't find anything. I'm using Flash 8. The problem is, I have a button inside a movie clip that's supposed to change the scenes when you click it, but it won't work. Here's the exact AS:
on (release) {
gotoAndStop("normal", 1);
}
Then, I remembered something from long ago when I used flash 6, and I tried this:
on (release) {
_root.gotoAndStop("normal", 1);
}
I guess I'm an Action script moron. Can anyone help?
How To Change Scenes From Inside A Movie Clip
i have a safe, and i drag and drop a key into it. when i put the key in, it deletes itself and makes the lock change the second frame of itself to have a key in it. anyways i was wondering if anyone knew how to make an internal button inside a movie clip change the scene outside of it?
Controling Main Scenes From Within A Movie Clip
hello everyone .,.. i hope u can help me with this delema im in at the moment... lets say i have a movie clip the instance name clip... and within this movie i have a button and the reason of this button is to go to another scene lets say Scene 3 ... so how can i do that /??????
plz help thanks
ps: using flash 8 ,action script 2.0
Swithing Scenes From Inside A Movie Clip
Using CS3 with Action script 2, I have a button on stage that calls up a movie clip. This mc is a drop down and has buttons in it. How do I code the buttons to goto a different scene? I know the standard goto will not work because it is in a movie clip but is there a way?
Thanks!
How Do I Change Scenes From Inside A Movie Clip?
Hi,
I can't figure out how to move to another scene, from inside a movieclip. From my experiments, you can only change scenes from _root, so I tried _root.gotoAndStop('Scene 2', 1), but that doesn't work either. I also tried to make an if statement in the _root, but it doesn't seem to work, for some reason:
if (_root.my_mc._currentframe==40){
gotoAndStop('Scene 2', 1);
}
How can I do this? Any help much appreciated
Continuous Movie Clip Animation Throughout Scenes
ok heres what i'm trying to do:
i have two scenes which both contain an mc of an animation that i made in swift 3d. what i'm trying to do is make it so that when you jump from scene 1 to scene 2 etc., the mc pics up from the frame of where the animation was in the previous scene. I think what i need to do is record the _currentframe of the mc in the first scene and the load that _currentframe variable in the second scene, i'm just not so sure how to go about doing this.
Here is the file if you'd like to look at it for yourself:
KRT.zip
The two scenes i'm working with are "Main" and "Films". (The films button is the second one from the top clockwise). The animation is the rotating logo in the center.
Any help would be greatly appreciated.
-Keith
Calling A Movie Clip In Multiple Scenes
Ok i have 5 scenes in my flash project and in each scene there is a movie clip off the stage so you cant see it and a button that calls the movie clip onto the stage with the following code:
on(release){
_root.music_control._x = 700;
_root.music_control._y = 300;
}
the movie clip changes the music playing and the volume of the music but the problem is, if i turn the volume bar down to half in scene one then go to scene 2 and try to turn the volume back up, my volume slider is already on full. this is because i have to put the movie clip into each scene.
is there a way i can call the movie clip when i'm in scene 2 from scene 1?
i don't know if anyone will understand what i'm trying to explain but i tried to explain it as simple as possible.
PLEASE HELP ME Working With Scenes, Buttons And Movie Clips
I'm new to flash although I think I'm catching on pretty well, I've run into a problem.
I created a scene "scene 1", with a stop action for it to stay on the first frame... and inside my scene- first frame- I have a movie clip.
Inside the movie clip there is a button.
When I press the button I want it to go to a specific frame in my movie clip and also to go to the second frame in my "Scene 1".
For some reason I can attatch the action to the button to play within the movieclip the desired frame,
BUT
I can't get it to go to frame 2 in Scene 1.
Can someone help me figure out how to do this??? I would really APPRECIATE THE HELP!!! THANKS!
Problems With GotoAndPlay In A Movie Clip Using Scenes [renamed]
well, i asked this before, but i don't know if i am able to do this.
in the end of a frame of a movie clip, can i have some kind of action script that makes that movie clip stop, and then play a frame in a scene?
this is what i have-
stop;
gotoAndPlay("Scene 2", 60)
it works, but instead of going to frame 60 of scene 2, it just goes to frame 60 of the movie clip that's still in scene 1.
any help would be greatly appreciated!
thanks!
Problems With GotoAndPlay In A Movie Clip Using Scenes [renamed]
well, i asked this before, but i don't know if i am able to do this.
in the end of a frame of a movie clip, can i have some kind of action script that makes that movie clip stop, and then play a frame in a scene?
this is what i have-
stop;
gotoAndPlay("Scene 2", 60)
it works, but instead of going to frame 60 of scene 2, it just goes to frame 60 of the movie clip that's still in scene 1.
any help would be greatly appreciated!
thanks!
Buttons In Movie Clips, Linking To Other Scenes - Total Noob Help Needed :o(
Hi guys, big time Flash MX newbie here, and I am struggling.
I have a movie clip in scene10, which has a button, when this button is pressed, I would like it to go to another scene. I have searched this forum and found out that I need to use _root, and I have used the following on my button, to some limited success:
Code:
on (release) {
gotoAndPlay(_root.gotoAndPlay(1));
}
This takes me to my first scene in the flash movie, for example called scene1. However I do not want it to go to scene1, I need it to go to say, scene4.
Ive tried allsorts _root.gotoAndPlay("scene4",1) _root.scene4.gotoAndPlay etc etc but I cannot get it to work.
Can nayone help please?
many thanks.
Controlling The Playhead In A Movie Clip Via Buttons In Another Movie Clip
Alright, first off, I've tried literally everything I can think of, and all of the scripting looks perfect (from what I understand), so I can't think of what could possibly be wrong with the script.
Here's some information upfront about where these movie clips are located:
Main Timeline > tv_mc
Main Timeline > menu > menu2 (buttons controlling tv_mc are located here)
(Note: menu2 is a graphic, not a movie clip. It was only made so that I could move the menu itself without tweening several layers.)
Here's what I want to accomplish:
I want the buttons inside of menu2 to control the playhead in tv_mc, a movie clip. The first 25 frames of tv_mc are just the "stage" moving into view so that the information can be displayed.
There are five buttons in menu2 containing the following script:
Code:
on (release, releaseOutside) {
if (!mainwindow) {
_level0.tv_mc.gotoAndPlay(1);
mainwindow=1;
_level0.tv_mc.set(framenext, bio);
} else if (mainwindow==1) {
_level0.tv_mc.gotoAndStop(bio);
}
}
"bio" is the name of the frame in tv_mc. Basically, what I want this to do is check and see if the "stage" is already viewable, and if it isn't, to display the stage and then display the information as well, which is the purpose of storing the frame name in "framenext".
tv_mc also has this code:
Code:
if (!framenext) {
stop();
} else {
gotoAndStop(framenext);
}
At the moment, the menu buttons work to display tv_mc, but wont move the playhead past 25. I'm guessing that the "framenext" variable is somehow not getting any information, or not getting any information across to tv_mc from menu2.
I'm really effing lost at this point. Any help at all? I'd post the .fla, but the size is pretty big. :T
Movie Clip Buttons Wont Operate Movie Clip
I've created a set of movie clip buttons which change colour when clicked for ease of navigation, They work fine but they do not load the seperate swf file when using this code:
_root.but1.onRelease = function()
{
_root.loading.loadMovie("availablemenue.swf");
}
Any ideas where im going wrong?
Buttons In One Movie Clip Controling Main Clip
I have a movie. In the center on the movie there are a set of four buttons. Instead of the hassle of making 5 or 6 extra layers on the main movie, I made them on their own clip. Now, if I press a button on that clip, can I make a play action work for the main clip? It seems to just make the buttons play again.
When it plays the button clip goes away and a tween moves the background around to the next step. The button sets a variable which determines which movie is loaded thereafter.
Thanks ahead of time! :^)
Buttons Within Movie Clip, Within A Movie Clip Not Working Right
My buttons are in a movieclip, within a movieclip... which might be my problem to start off with, if this is the case please let me know.
But what my buttons are set to do is skip to the next or previous frame like a picture gallery. They do that right, but my problem is with them functioning properly after they go to the next or previous frame. I have to move the mouse for the button to work right again, I can not just hold the mouse in the same location on the button and click over and over to proceed through the timeline. Although if I click several times kinda fast it will work.
Doesnt make any sense to me... Please help.
Main Movie With Buttons Link To Movie Clip
Basically, in Scene 1 (my only scene), I have buttons that call certain parts of a movie clip.
I've pulled the movie clip into the scene where I want it, and named the instance.
The movie clip has different things happening along the time line that relate to the different buttons. Each one has a stop action, as needed.
I placed the action of onrelease, tell target for each button to go and play the correct scene. Which it does - the first time. If the user hits one button, it goes to the right frame of the movie clip, etc, but if you hit the same button twice, then it jumps to a different button's place.
If there are only two buttons, it keeps switching back and forth.
If there are more than two buttons, only the last button is the messed up one - and if you hit it twice in a row, it goes back to the first button's frame of the movie clip.
Make sense? Any ideas of how to stop this. I even followed an example of this in a book EXACTLY and I get the same problem.
Thanks.
|