ActionScript 2.0 :: Currentframe - Send Movie Clip To A Specific Frame On The Main Timeline When Close
Jun 25, 2006
I have a movie clip which, when closed, should send you to a specific frame on the main timeline... I have used frame labels on the main timeline... Here is a bit of my code so far:
[Code]...
View 5 Replies
Similar Posts:
Jan 29, 2012
I am making a website based in flash actionscript 3.0 i have a button nested in its own movie clip, because I have the button expanding to be able to read it i have figured out the only way to do this is by creating it as a movie clipa nd inside the movie clip creating it as a button. I added an event listener to the blog button by saying[code]...
i have named the symbol blog and have name the frame of where the blog page is going to be "blogframe" this line of code at the bottom is where i run into trouble the output window in Flash is saying "The blog button was clicked" just like i want it to. no errors are accouring why than is the playhead not going to frame "blogframe"? if the button is working when i click it the code is right i belive the problem here is it does not want the playhead to go to the frame i want it to. So i gues my question is, how can i make a button withing a movie clip interact with the main timeline?
View 3 Replies
Apr 29, 2010
how to jump to a certain frame number / frame label inside a movie clip on the main time line (ROOT) from ANOTHER movie clip elsewhere. Any ideas?
View 1 Replies
Feb 7, 2006
Is there any way to check the currentframe or totalframes of a movie loaded into a 'holder clip' on the main stage? Everything i try just comes back with 1 frame despite there being more than that?
View 3 Replies
May 18, 2010
I want to link a button in my main timeline to a label- frame in a movie clip. The movie clip is called "Adetail" and the label is "on01"... I type in the following script
[Code]...
View 1 Replies
Apr 6, 2010
The situation is as follows:I'm using Action Script 2.0 --- I'm obligated to in the course I'm attending.I have a main timeline that has 3 frames. On the 2nd frame I have a movieclip named mc_nbr. On the 3rd frame I have a button "voltar" that when pressed I want it to "Go and Stop/Play" at frame 3 of the movieclip (that is embedded on frame 2 of the main timeline).
I used the folowing code for the button btn_voltar:
on (press)
{
[code]......
View 2 Replies
Sep 13, 2010
how to make a button go to a specific frame on the main timeline my button called a play_btn and i want it to go to a specific frame on the main timeline ???
View 2 Replies
Oct 15, 2009
I want a button which is on an externally loaded swf to tell a movieclip on my main swf to gotoand play a specific frame. Is this possible and how would I do it?
View 0 Replies
Jan 12, 2011
I have this code below on this button that is inside of a movieclip. I just want this button to do is move the main timeline to a specific frame thats all.
[Code]...
I didnt put i a object name before the addeventlistener because I'm not sure what to put because if I put "this" the other buttons will bt controlled by this code and if i put "parent" only that button will work.
View 7 Replies
Jul 8, 2009
Is it possible to access the currentFrame of the main timeline from a document class (which extends movie clip)?
View 3 Replies
Aug 19, 2009
Does anyone know a good way to acquire the currentFrame of a movieclip symbol placed on the main timeline? currently there is only 1 frame, but the movieclip has 50.
If i trace currentFrame, i only get 1. and tracing the child name doesnt work either.
I got it to work earlier but it crashed before i got to save and now i cant figure it out. Was something to do with making another movieclip symbol.
View 8 Replies
Oct 29, 2009
I know that the functionality of the addChildToStage and deleteChildFromStage functions works fine because I have tested it here: [URL] the nav adds a new instance of "player" to the stage and the big red button deletes "player".
I want to start the movie with a mc_CopyBlank on stage and then have the nav issue play(); command to the movie clip held in "player" then have the current frame of that clip trigger the addChildToStage and DeleteChildFromStage functions that I've written here. The .fla is hosted here: [URL]why this doesn't work. Feel free to keep the .fla as it's basically a barebones four page site. (if it ever works)
stop();
mc_nav1.buttonMode = true;
mc_nav2.buttonMode = true;
mc_nav3.buttonMode = true;
[Code].....
View 7 Replies
Jul 16, 2010
i'd like to control MovieClip timeline witch contain several DisplayObject (like Sprite, Button, ...) these DisplayObject have Motion (AnimatorFactory). How can i do seek frame-by-frame the MovieClip Timeline and use the currentFrame to control all Motion child.
[Code]....
View 18 Replies
Feb 23, 2011
I've got a main timeline .swf file called "blank.swf" which contains nothing but two blank movie clips one called called "pproduct", the other called "ppalette". In the script frame of this main timeline I use the simple "Loader = new Loader();" method to load a URL of an .swf file into the "ppalette" movie clip. The "ppalette" movie clip contains several color chip buttons, each of which use the same Loader method above to load an external .swf into a clip. Here's what I want to do: let those color chip buttons, when the "blank.swf" file loads, be used to load an .swf movie into the "pproduct" clip on the main timeline. I'm wanting to be able to swap depths with various movie clips which will take out the movie which has the palette, but I want whatever that palette has loaded in the original "pproduct" clip to stay there.
[Code]...
View 3 Replies
Feb 2, 2010
I cannot seem to find anything of what I need from google.(Well, I can find the reverse method to what i need ) Basically I wish to access a variable declared in the Root Timeline from my Movie clips timeline.
[Code]...
View 2 Replies
Dec 3, 2009
I have been doing really well figuring everything out up until now.[code]How it stands, what is this link pointing to? Can I make it target a specific frame in a specific movie clip?And if someone would be so kind and explain what this is saying in 3rd grader terms.
View 3 Replies
Oct 9, 2009
I have a file comprised of 1 scene and two movie clips. The clips are instanced into the Main Timeline and occupy Frames 1 and 2 respectively.MovieClip1 is an animation that has navigation buttons that appear at the end of the clip. I'm trying to get mouse click navigation to make Frame 2 on the Main Timeline active.
Here is what I'm trying but it is not working:
btExplore.addEventListener(MouseEvent.CLICK, ExploreClick);
function ExploreClick (evt:MouseEvent):void {
gotoAndStop(2);
}
this takes the animation to Frame 2 of the Movie Clip Timeline not Frame 2 the Main Timeline.
View 9 Replies
Nov 24, 2005
I am targeting a a movie clip. The problem is that all the syntax I have found for targetting clips looks like this: _root.sample_mc.sample2.mc. etc. The problem is, my target clip is in an swf that I've loaded into a container clip from my main timeline. So, essentially, I have a home.swf that loads menu.swf into a container called 'location'. In menu.swf, I have an MC called center, which contains the MC I am targetting called 'target'.
View 2 Replies
May 3, 2003
I have a main movie that loads about 30 external swf's, so i have a button which after its pressed it loads an external swf and a specific frame,
i.e
there is a main movie called main.swf and there is an external movie that has about 15 frames and its called movie.swf I added a button to a main.swf so when its pressed it loads that external movie.swf so my question is: how do i load a specifc frame of that movie.swf
View 1 Replies
Aug 3, 2003
how to load frame label "one" of external.swf into main movie.
buton.onPress = function () { loadMovie("external.swf.......??
View 12 Replies
Dec 6, 2009
I have my flash document set up in the following way: On the main timeline I have my buttons that I want to play movie clips embedded inside a movie clip on the main timeline.However, when I click each different button, the current movie clip stops playing and then the movie clip corresponding to the button plays.
I want them all to be able to play at once. So for example you push button 1 and the alien plays, but half way through you could click button 2 and the alien clip would keep playing, but also the helicopter clip would begin to play as well.Here is the code I have so far:
building_btn1.addEventListener(MouseEvent.CLICK, alien);
building_btn2.addEventListener(MouseEvent.CLICK, helicopter);
function helicopter(e:MouseEvent):void {[code]......
View 1 Replies
Dec 22, 2009
I am simply trying to tell my main timeline to go to the next frame when a movie clip reaches the end of its timeline (using AS3). Here is what I have which does not work.
Code:
MovieClip(root).gotoAndPlay(nextFrame);
View 2 Replies
Jul 16, 2010
I've got mc and at the and I would like to go to the main timeline and do something else. How would I could do it?
View 1 Replies
Apr 26, 2011
I have a move clip with several buttons inside; their rollover seems fine.i am trying to get the buttons in the clip to address/go to the main movie timeline. Button names within the clip: c_btn, d_btn, etc. These are the symbols names; they have not been given unique instance names within the clip. The clip name is nav_all and its instance on the timeline is navall.mc.
View 6 Replies
Apr 26, 2009
I'm trying to make a flash website that has clickable buttons that will play different movie clips. But I dont know how to make it to just play the movie clip with the button you click without playing all the movie clips on the main timeline.
View 1 Replies
Aug 12, 2003
(put this in the first frame of your movie on the main timeline)
Code:
_root.createEmptyMovieClip("logo",100);
_root.createEmptyMovieClip("circle",99);
_root.createEmptyMovieClip("over",101);[code].....
View 5 Replies
Aug 29, 2005
I've created a movie clip symbol with it's own animation on its timeline. I've placed this symbol onto the first frame of the main timeline but when I test it, it doesn't play. There's no stop actions or anything on either timelines so I'm not sure why this is happening. I thought that the animation in a movie clip symbol will automatically play (i.e. if you test in a browser) once it's on the main timeline - is this right? Or am I doing something wrong. Maybe I need to tell it to play?
View 6 Replies
Nov 5, 2010
How would one on a specific frame inside a movie clip cause the main timeline to go to a certain frame label?
I know how to use gotoandstop(), but i can't seem to find a working, correct syntax variable that accesses the main timeline and not the movie clip's timeline.
View 3 Replies
Jan 4, 2012
I'm in the process of designing this site as a portfolio for my art and am in the process of creating and laying out the galleries. My idea was to create movie clip animated buttons that would react to the roll over stuff. I got that part to work the way I wanted it. But now, I can't seem to figure out how to put a "Gotoandplay" type of code on the buttons so that the timeline would jump to the appropriate frame and play. (I put an "on(release) gotoandplay" on it the way I would put it on a button but it never responds. I have a couple of buttons that work fine with a "geturl". so I thought a "gotoandplay" would work fine. If this can be figured out in a way that I can easily use it for all buttons with just the frame number needing alteration, that would be best. After you click the splashpage door jpg, there will be a piece of paper on the floor. That is a button which should trigger the animation that starts at frame 114. When clicked, the page lifts up and spread open to two pages. But it never reacts
[URL]
View 6 Replies
Jan 23, 2012
my main timeline i have an intro, then a main menu. from that main menu it goes to a movie clip, i want to create a 'back to main menu' button inside the movieclip that will return to a certain frame in the main timeline.
View 8 Replies