Flex :: Make A Button Go To A Specific Frame On The Main Timeline?

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


Similar Posts:


ActionScript 3.0 :: Button - Move The Main Timeline To A Specific Frame

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

Make Nested Movie Clip Button Go To Frame On Main Timeline?

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

ActionScript 2.0 :: Link A Button Thats Embedded In Frame 2 (music Page Timeline) To A Frame In The Main Timeline?

Nov 22, 2011

How do I link a button thats embedded in frame 2 (music page timeline) to a frame in the main timeline ( frame 3= biography page)? Both pages are on the same scene with link buttons embedded in each page independent timeline.

View 1 Replies

ActionScript 1/2 :: Jumping From Main Timeline To A Specific Frame Of A MovieClip?

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

ActionScript 3.0 :: Main Timeline Control - GotoAndPlay Specific Frame

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

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

ActionScript 3.0 :: Button Play Specific Frame On Timeline?

Feb 19, 2010

how to play the timeline with a simple button

example:

in AS2 you could attached script to button something like

on MouseEvent {
gotoandplay(6);
}

thats all I am trying to do, but in AS3 how do I simply get a button when clicked to go to a frame and play.

View 3 Replies

ActionScript 2.0 :: Make The Main Timeline Jump To Frame 1?

Sep 10, 2004

How do I make the main timeline jump to frame 1 when the mouse moves out of the entire embedded swf?

View 1 Replies

Button Inside Of ScrollPane To GotoAndPlay Frame On The Main Timeline?

May 5, 2011

I have a scrollPane on my stage, and I have a movieClip inside of it with a bunch of buttons. When you click on one of the buttons, I need it to gotoAndPlay a frame label on the main timeline. So far I cannot get this to work.

View 6 Replies

Professional :: Creating Button On Main Timeline To Go To Frame In MovieClip

Feb 5, 2010

In AS2 I need code for a button, on the main timeline, to go to a frame in a mc off the main time line. I have attached a picture of the time lines in case I have not articulated my needs well.

View 5 Replies

ActionScript 3.0 :: External Swf Button Accessing A Mc Frame In The Main Timeline?

Feb 8, 2010

I've beein digging forums everywhere but cant find the solution to my problem...

I have an external swf "advert_3.swf" loading into the main index.swf.

advert_3.swf has two buttons: one needs to go to "services" frame the other to "events" within a content_mc which is in the index.swf.

that is in the index.swf:

ActionScript Code:
var request:URLRequest = new URLRequest("advert_3.swf");
var loader:Loader = new Loader();
loader.x = 35;

[Code].....

View 1 Replies

ActionScript 2.0 :: Button On The Main Timeline To Be Visible On From Frame Onwards

Aug 11, 2009

I've got a button on the main timeline that i only want to be visible on from frame 2 onwards. I know i could just place it on a new keyframe on frame 2 but then i can't get the AS on frame 1 to control it and i don't want to duplicate all my code. (Its static text, converted to a btn mc). why the following isn't working?

[Code]...

View 2 Replies

ActionScript 3.0 :: Code The Button Inside The Movieclip To GotoAndPlay To Frame 1 On The Main Timeline?

May 11, 2011

ive made a simple game for a uni project, when you get game over a movieclip comes up and inside the movie clip there is a button to restart the game. how to i code the button inside the movieclip to gotoAndPlay to frame 1 on the main timeline?

[Code]...

View 4 Replies

ActionScript 2.0 :: Get A Button To Make A Movieclip Go To A Specific Frame?

Jan 13, 2004

What I am trying to do is get a button to make a movieclip go to a specific frame. I have a movieclip that plays a set of frames up to the 100th frame, and then I tell it to go back to and play frame 1 again. However, at about 105, I have another set of frames that I want to play at the push of a button. How would I go about doing this?

View 1 Replies

ActionScript 2.0 :: GotoAndPlay - Link A Button In Main Timeline To A Label- Frame In A Movie Clip

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

Make Button In Movieclip Target Back To Main / Root Timeline?

Oct 1, 2009

I have some submenu buttons in a movieclip on the mainline. My first level of navigation in on main timeline. The submenus are grouped in movieclips on the main timeline. I basically used the same code on the main navigation for the sub navigation except the code for the submenus is in that movie clip. My trace statement reads the button is clicked (which was a quantum leap for me) but I know I need some kind of _parent code in there so it knows to go to label back on main timeline.[code]...

View 3 Replies

ActionScript 3.0 :: Int - Make A Generic Button To Call An Specific Frame

Sep 16, 2011

I'm trying to make a generic button to call an specific frame but when I'll try it with trace it works perfect... when I make a goto code on it it messes up my entire count....here is the code I'm using...does anyone know whats happening? how can I fix this? here is my code

[Code]...

View 7 Replies

Flash 10 :: Export Specific Frames Not All Frame - Specific Timeline

Sep 15, 2010

how do i export specific frames not all frame. ex: if flash has 1 to 200 frames. here i want to export 51 to 150 frames as a movie. if there is any command or plugin to export movie like this.

View 0 Replies

Flash :: Professional - Make Text (or A Button) Link To A Specific Frame

Aug 9, 2010

1. The old main logo was not as wide as the new one, so now the entire new one is not clickable (to take you back to the main page). How do I fix this?

2. For the life of me I can't figure out how to make text (or a button if need be) link to a specific flash frame. If you look on the site, there are a couple of spots under "What We Do" that I need clickable to take them to the Contact Us page.

View 5 Replies

ActionScript 3.0 :: Make Button Instance Containing Movieclip Play Specific Frame?

Sep 27, 2011

What I want to do is have one movieclip that has many frames and turn that into a button and then make different instances of the button and have those instances display a certain frame of the underlying movieclip.

View 17 Replies

IDE :: Make The Timeline Go To The Next Frame (ie GotoAndStop) Only If Two Button Instances Are Invisible?

Oct 6, 2009

I want to make the timeline go to the next frame (ie gotoAndStop) only if two button instances are invisible. For the buttons I have scripted an on(release) to make them invisible, but I don't know how to use the if function to make my animation progress when they are both invisible.

View 7 Replies

ActionScript 3.0 :: Execute Functions In Main Document Class When Main Timeline Reaches Frame X

Oct 16, 2009

I have 3 functions in my main document class that I want to execute when the main timeline reaches a particular frame number. how do I do that?

see the code and comments

public function mainClass()
{
//stage declaraction
stage.align = StageAlign.TOP_LEFT;

[Code]....

View 5 Replies

ActionScript 2.0 :: [Flash8] Assign A Variable To The Current Frame Of The Main Timeline (not Movieclip Timeline)?

Mar 16, 2007

I simply want to assign a variable to the current frame of the main timeline (not movieclip timeline) I already know about _currentframe and it doesn't help in this case.

View 4 Replies

Professional :: Moving To A Frame In Movieclip Timeline From The Main Timeline

Apr 26, 2011

I am in the learning process. Working with FlashCS5 and AS3. if the issue appears to be too simple for you. Placed a movieclip(mcassessJohn) on the main timeline and moved to the frame labelled "johnFeedback" in the movieclip timeline using the following actionscript code.

[Code]...

View 1 Replies

ActionScript 3.0 :: Get Back To A Specific Label In Main Timeline?

Jun 26, 2009

In the main timeline I have several movie clips, buttons and labels that navigate to the appropriate mc's. Inside the movie clip I have a button that will send you back to the main timeline and the appropriate label. I thought that would be relatively easy but it's not working.[code]...

View 2 Replies

ActionScript 2.0 :: Make A Specific Thing Happen While Clicking A Specific Button

Jan 17, 2006

What I want is a hint how to make a specific thing happen while clicking a specific button. Like "if I click button 1, do this". Would like to use this script though I'm gonna add buttons over time and this is an easy way to have the functionality working.

Here's the code:

Attach Code

function hitButton(btn) {
btn.onRollOver = function() {
this.colorTo (0xC4006A);

[Code]....

View 4 Replies

ActionScript 3.0 :: GotoAndPlay Specific Frame In External Swf From Main Swf?

Jul 27, 2011

I have a main swf that loads 2 external swfs. I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)

In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff. NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.

However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.

[Code]...

View 9 Replies

ActionScript 2.0 :: Target Mc In Specific Frame Of Main Stage?

Dec 9, 2003

I have two movie clips on the main stage: mcNav and mcContent1 (mcContent1 is located in the 2nd frame).

When I click btn1 which is a movie clip within mcNav, I want to go to the 2nd frame on the main stage where mcContent1 is located.

And then go to frame 10 within mcContent1 and stop.

Here's what I have:

btn1.onRelease = function() {
_root.gotoFrame(2).mcContent1.stop(frame 10);

View 2 Replies

ActionScript 2.0 :: (MX) Loading Specific Frame Into A Main Movie?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved