ActionScript 2.0 :: Navigating To A Specific Frame?

Mar 26, 2003

I have a back button that should take you back from the first frame of one url to the last frame of another. However I can't figure out how to do this. It always brings you to the beginning.

tried this:

on (release) {
getURL("about :history.back(-1)");
}

but this won't always work because they can get there from a menu so the last thing in the history will be that menu instead of the last page of the section before.

tried this:

if(back == "true"){
gotoAndPlay(27);
}

as the variable that is checked at the start of my movie to see if it was opened from another movie

and:

on(release) {
getURL("introduction2.html?back=true", "_self");
stopAllSounds();
}

and this on the back button from the other movie

basically i just need to figure out a way to navigate to a specific frame in a different url.

View 12 Replies


Similar Posts:


ActionScript 2.0 :: Navigating To Frame Label

Jun 21, 2008

I am having trouble with the last part of the function were gotoAndStop ('sec' + myNum); needs to go to frame label sec1,sec2,sec3 etc.

[Code]....

View 1 Replies

ActionScript 3.0 :: FLV Audio Keeps Playing When Navigating To Different Frame / Moveclip

Feb 10, 2010

1. I have a swf contains a FLV paly back component playing a movie .I have used flash cs4 import movie tool to create it. Name of the files are >movie1.swf movie2.swf

2. In the main movie I have a movie clip which loads the movie1.swf and it start playing .Now  user can move from move1 to movie2 by clicking a button

However when I click to view second movie sound of the first movie is still playing .Even if I click to go back to movie1 another sound will be playing and a big mess.[code]...

View 3 Replies

ActionScript 3.0 :: Navigating To Previous And Next Frame Label / Stumped

Dec 9, 2007

i have a couple buttons that i want to move the timeline to previous or next Frame Label. i have tried one way that didn't work and i see there is an array that i could use for Frame Labels but i don't know how to work with it to get what i want.here is the class that i made, it currently has the initial try which dind't work and just the basic array set up:[code]btw, the traced array returns (and in the final version, no frame labels will be right next to each other on frames):[code]

View 9 Replies

ActionScript 2.0 :: Change The Colour Of A Graphic In A Specific Movie In A Specific Frame

Mar 31, 2006

i need to change the colour of a graphic in a specific movie in a specific frame. if i have a movie clip instance-named "sidetext" thats 15 frames long, and i want a graphic in the movie, called "letterp" to change to one of four colours that i want it to randomly at frame 10 and stay that colour uintil frame 15, how can i do this?

View 2 Replies

Professional :: Movie Clips / Sound Keeps Playing After Navigating Off Frame/page?

Aug 17, 2010

Basically I have a flash website built on different frames of the timeline, the simplest way I think.Some of these frames have movie clips embedded into them using the flv playback component class.The problem I have is the following, the site works fine and videos play fine, but whenever I navigate offa part of the website to another, from a frame to another - the sound of the clips that were playing keepsplaying on the background and never stop and it keeps building up every time I navigate of.f each page.I want to remark that I believe is not only the sound that keeps playing "invisible" but the whole clip butThis is the AS code for my buttons on an example frame, would you be so kind to tell me what I should add or change

stop();cvbtn15.addEventListener(MouseEvent.CLICK,onClick25);function onClick25(event:MouseEvent){  gotoAndStop(27);}showbtn15.addEventListener(MouseEvent.CLICK,onClick26);function

[code].....

View 3 Replies

ActionScript 3.0 :: Navigating Frames - Whole Game Project Runs On One Frame And Nothing Is On The Maintimeline?

Mar 8, 2009

Since my project uses class actionscript files my whole game project runs on one frame and nothing is on the maintimeline so there is only just one frame on the timeline. Just wondering how I could make it so that I could have the first frame with game instructions and a description which then goes into the game being second frame and when gameover goes to third frame using actionscript. or any tutorials or some peice of advice

View 3 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

Target A Specific Frame In Specific Movie Clip?

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

ActionScript 3.0 :: Load Specific SWF At Specific Frame By Default?

Sep 21, 2009

Basically once my animation loads I want to pull in an external SWF at a specific frame, basically like the "home page" swf that will display first. Underneath that I will have "About Us, Contact, etc..." and those will each load an external SWF into my movie clip. My movieclip right now is called mcHolder. Here is the code I am currently using for the buttons:

Code:
//About Us Button
function test2(evt:Event):void{

[code].....

View 1 Replies

ActionScript 1/2 :: Specific Frame On A Specific Movieclip?

Sep 1, 2010

I'm trying to get the following movieclip smallbutton to link to frame 5 on movieclip cont.The way the timeline is built is as so:content_mc > cont > (more mcs) > smallbuttonThis seems to be an issue from every answer I've tried so far since the movieclip "cont" is not being called in the main timeline; first there's content_mc and then comes cont.How would I go about getting the movieclip "smallbutton" to link to the 5th frame of movieclip "cont"?This is for AS 2.0So far I'm at:on (release) {  _root.gotoAndPlay("cont");  _root.smallbutton.gotoAndPlay(5);

View 7 Replies

ActionScript 3.0 :: Create A Frame Label On A Specific Frame?

Aug 6, 2009

if its possible, via AS3, to create a frame label in a movieclip on a specific frame.

Obviously I can do it by manually by setting up labels on the timeline within the target movieclip, but I would rather use an array so I can loop through it, creating a label name on a the specific frame each time?

so for example I would end up with:
myLabelOne on frame 10
myLabelTwo on frame 25
myLabelThree on frame 115
etc

View 3 Replies

ActionScript 2.0 :: Keeping A Disabled Button Disabled After Navigating Away From The Frame

Aug 2, 2008

I'm making a VERY basic Jeopardy game, and I need buttons to be disabled after being clicked on once.

Oh, and I'm working in CS3, but I'm using AS 1&2 because that's what I learned... I have no idea how to use AS 3...

example: frame 1 has btn11 in it. btn11 when clicked takes the person to frame 2. when done with frame 2, they click on return.

the return button (btnReturn1) has the following AS

on (release) {
gotoAndStop ("Round1",1)
btn11.enabled=false;
}

the problem is that it works at first - the button disables when I get back to frame 1, but the next time I click a different button then return to frame 1, the first button I disabled isn't disabled anymore.

my actionscript so that my disabled buttons stay that way no matter how many times I come and go from the frame? or if you have a better way to do it, that'd be great. basically, it's like the jeopardy screen, and after "songs" for 200 is clicked, I don't want it to be clickable again at all.

View 1 Replies

ActionScript 3.0 :: Importing The Video In The First Frame While Navigating The Video Sound?

Mar 9, 2010

I attached the code here. The problem is after importing the video in the first frame while navigating the video sound is heard which means the video is still playing. How can I stop it when moving to other section. Here is code

[Code]...

View 2 Replies

ActionScript 2.0 :: Go To A Specific Frame Or Frame Label?

Nov 1, 2004

I am loading a swf into an empty MC with this code:

on(release) {
loadMovie("movie.swf", _root.container);
}

what I want to do is also go to a specific frame or frame label in that loaded movie. I thought I could do it by adding something like this:

_root.containter.gotoAndPlay("frame");

View 9 Replies

ActionScript 3.0 :: Get The Frame Label Of A Specific Frame?

Jun 3, 2011

Is there a way to get the frame label on a specific frame, without it being the current frame?

I've tried accessing it through:

this.scenes[0].labels but it doesn't allow me to check a specific point on the timeline.

View 2 Replies

Calling SWF To A Specific Frame

Sep 26, 2009

I have a button that uses the Load Graphic Behavior for bringing a SWF, but i want the SWF to come in a specific frame instead than starting at frame 1. For examplel; i click the button, the behavior of Load Graphic brings my SWF to stage but i want to start at frame 50, not at frame 1. How can i do that?After i use the Load Graphic Behavior i try using a gotostop frame, but doesn't work.

View 13 Replies

ActionScript 2.0 :: Get URL In A Specific Frame?

Jun 22, 2009

I have made a menu in flash . I have a frameset on my page . I want the button to open the link in a specific frame (my frames are bannerframe , leftmenu , rightmenu , bodyframe) . The menu is in the "leftmenu" frame. But whenever i use this :

ActionScript Code:
getURL ("xyz.html", "bodyframe")

the page opens in a new window .. ( i have tried in all browsers chrome firefox IE etc. ) ....

View 0 Replies

IDE :: GetURL In A Specific Frame?

Jun 22, 2009

I have made a menu in flash . I have a frameset on my page . I want the button to open the link in a specific frame (my frames are bannerframe , leftmenu , rightmenu , bodyframe) . The menu is in the "leftmenu" frame. But whenever i use this :

Code:
getURL ("xyz.html", "bodyframe")

the page opens in a new window .. ( i have tried in all browsers chrome firefox IE etc. ) ....

View 5 Replies

Jump To Specific Frame When Using Loader?

Apr 22, 2009

I want to jump to a specific frame in the swf I load using the Loader class. As it is now it goes directly to frame1 in the file, which I dont really want it to do. I'm using Flash CS4

View 2 Replies

Code A Button To Got To A Specific Frame In Another Mc?

Jun 3, 2009

im trying to code a btn to got to a specific frame in another mc

my code is
stop();
gfhtml.addEventListener(MouseEvent.CLICK,gfclick);

[code].....

View 4 Replies

ActionScript 3.0 :: Hyperlink To A Specific Frame?

Nov 8, 2009

I have a dynamic text box. I need to set up a hyperlink in my text file that will take the user to a specific frame on a page. I know how to set the hyperlink up to go to a specific page :

Code:
<a href="http://www.lasamigasseatpleasant.org/index.html">
Visit Our Site</a>

[code].....

View 1 Replies

ActionScript 3.0 :: Get An External Swf To Go To A Specific Frame?

Nov 9, 2009

I made a flash website and had one page load an external swf.

In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.

My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.

How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?[code]...

View 2 Replies

Completely Stop At A Specific Frame

Jul 26, 2010

I am very new to Flash and I am making a little 30 second clip just to fool around with Flash.Now at the end of my film I just want everything to stop (if possible, once a specific frame is hit move to another frame.)I've heard that you could use ActionScript to perform this but I really have no clue

View 5 Replies

How To Play A Sound At Specific Frame

May 13, 2009

I have the loading audio file at frame one. However, I want to play the audio only at specific frame or frame lable. How do I do that? Below are my codes:

[Code]...

The above plays the sound as soon as the .swf file is loaded. But I want to play at certain point in time, say frame number or frame lable.

View 17 Replies

Loading A Specific Frame In An External SWF

Sep 13, 2009

I have two flash files, say a.swf and b.swf.a.swf is the main swf file, embedded in an HTML page for a webpage. There is a preloader in a.swf too. In b.swf, when I click a specific button I need to load a.swf, but not from the preloader, from the content. To be precise, the content starts from Frame 24 of a.swf (obviously Preloader ends in Frame 23). I believe, the frame 24 has to be loaded in a.swf when I click the button in b.swf.

View 2 Replies

ActionScript 1/2 :: Go To Specific Frame If XML Search Has Tag

Dec 14, 2009

I need to do 2 things: I have a rotator piece I'm working on where I need to be able to go to a specific named frame (promotions) if the XML I search for [URL] has the tag <promo>. I also need to be able to have a button on that frame link to a URL that is pulled from a tag in the same XML, called <promoURL>.

View 3 Replies

ActionScript 1/2 :: How To AttachMovie In A Specific Frame

Mar 10, 2010

I have 3 pages of a document converted to symbols (i.e. mc_pg1, mc_pg2, mc_pg3), each residing in its own frame (i.e. "pg1", "pg2", "pg3") inside mc_Pages.  Mc_pg1, mc_pg2, and mc_pg3 are inside a movieclip called mc_Pages.  On click of mc_Pages, I am attaching a blinking icon (mc_Target) to a specific page.  The problem I'm having is when I attach mc_Target to a specific mc in its frame, navigate to another frame, and then return to the initial frame, mc_Target is no longer attached.  Yet, I have not clicked anywhere else other than the buttons that allow me to navigate from one frame to another.  So, my code is:
 
mc_Pages.onPress = function():Void
{
if(varPg1 == true) //this checks to see if I'm on "pg1" frame where mc_pg1 is located
{

[code]....
 
Everything is working as it should, i.e. on press of the mouse button, the mc_Target is attached to the frame/mc within mc_Pages that I'm in (I have a btn_Next and btn_Previous on the same timeline as mc_Pages that navigates to the specific frames inside mc_Pages), except that upon returning to a frame/mc which previously had mc_Target attached, mc_Target is no longer there.

View 5 Replies

ActionScript 3.0 :: Going To Specific Frame Of External Swf?

Jun 29, 2011

I've got another little hitch that I've come accross in the project that I'm currently assembling. From time to time I need to load swf files at specific frames & seem to have hit a brick wall.
 
[code]...
 
It loads the right swf, but at frame 1, when I want tp load it at frame 18

View 22 Replies

ActionScript 2.0 :: Load Swf And Go To Specific Key Frame

Dec 11, 2009

I am new to working with code and flash...I want to load a swf and go to a specific frame, what code do I use.

View 1 Replies







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