Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Back Button Within A Flash Movie



I'm sure there must be an answer to this problem somewhere on the forum but I can't find it so don't all shout at me if I've repeated a question!!
I have a movie which contains buttons that lead to "extra information" pages. the buttons can be on a number of pages - e.g. a price guide may have links coming from buttons on 4 different frames. I want the user to be able to click a back button to go back to exactly the same page that they navigated from - exactly the same way as a web page... but all contained within the flash movie. I'm sure it's simple but I don't know where to start... any ideas at all?



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-03-2006, 11:41 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Can You Use The Back Button In A Browser To Go Back To Go Back In A Flash Movie?
Hi
In html pages it is easy to go back (the back button in the browser) to the last page you were on. But when you have got a flash site in a html page you cannot go back to the last page in the flash site using the 'back' button in the browser. Is there anyway you can change this so that you can use the back button in a browser to go back to the last flash frame?

Don't Want To Reload Flash Movie When Hit Back Button
I have developed a seach engine with a group for a class. Initial loading of the page loads a flash movie (that includes the search block). When the user submits a search, a results page loads. QUESTION: how can I make it so that when a user hits the back button on the browser from the results page, the entire movie does not load again on the first page? Can I do this in Action Script?

Flash Movie Stays After Back Button (?)
I have flash movies staying visible even when the a new page is resolving.

I used SWFObject

Here is the site.
Go to OurSolutions...and then select "Interactive Gallery"

Then hit the back button of an IE browser on pc.

What is causing this doubling up?

Thx in advance.

wnf

Back / Foward Browser Button Capability In A Flash Movie?
Does anyone here know if there is a way to enable the user to use back/foward browser buttons in a flash movie that works across all(or most) browsers and mac/pc?

I have checked out the named anchor thing but this does not work on mac i.e and i've been told it doesn't work on any netscape version.

Putting each different scene/frame in a sperated swf&html page is an option, just a pretty lame one.


Is there any other way? a better way perhaps.


rufisdickler,

Back Button In Flash Projector Like Javascript's "history.back"
Please tell me how to make a back button in Flash for projector (exe) file. The back button should function like the javascript's "history.back". I have 100 scenes that points to one target scene. If a user clicks the back button in the target scene, he/she must go to the scene from where he came.

**** I am not looking for named anchors that works for swf file in browser.

Button On The Back Movie
If i have button on level 1 and i load a movie on level 2 over theses buttons. How can i make somes of my level 1 buttons inoperate?

Using Back Button In Flash "like A Browser Back Button"
hey all/reef,

basically this code will work like a browser back button its very simple but "could end up very long" basically it will act "similiar to the browser back button"


Code:
on (release) {
if(page1 = _currentframe){
_root.gotoAndStop("quiz");
} else if (page0 = _currentframe){
_root.gotoAndStop("register");
} else if (page2 = _currentframe){
_root.gotoAndStop("q2");
} else if (page3 = _currentframe){
_root.gotoAndStop("q3");
} else if (page4 = _currentframe){
_root.gotoAndStop("speciality");
}
}
it works when the (page1 = _currentframe){ is rotated with the first if statement...because for somereason it seems to not recognise the "else if's" anybody or reef have any ideas why??

Button W/in Movie Going Back To Scene
help.

i have a scene called home and in that scene i created a movie. the movie is a dragable menu. when they click on one of the buttons within that movie, it is suppose to go to home and play one of the frames in home. but it doesn't work. what do i need to do?

thanks

Back Button Plays Movie
Is there any way to stop or prevent a movie from playing every time someone returns to the page it is on, via the browser back button?

thanks,

dhx

Please Help With SWF Movie Button Keep Go Back To Main Movie
Hi thx for looking at this.
well...i have no ideas what is going on with this movie. i have two swf movie and one (picture) button on the top. everything load up fine except when u press down on the (picture) button it kinda go back to the main.swf then it load the pictures.swf, everytime you press the (picture) button it does that.
i have this script on the picture button

------------------------------
on (release) {
_root.contents.loadMovie("pictures.swf");
}
------------------------------

so maybe i have have it wrong.

Keyboard Back Button Acting As Browser Back Button
I'm having problems with a Flash MX Sign up form I'm implementing on my website.

The form has a series of frames which take the user through the sign up process, before clicking through to the online payment gateway. Each of these frames is anchored to allow the user to click the browser Back button to go back to the previous frame (rather than the previous movie).

However, the keyboard back button is now acting as a browser back button.... Any ideas why?

Any help with - or solutions to this probelm - would be greatly appreciated.

Thanks in advance for your time.

Regards

Rob

Keyboard Back Button Acting As Browser Back Button
I'm currently implementing a subscription sign up form in Flash MX. All of the frames of the sign up movie are anchored so that the user can click Back on his/her browser and go back to the previous frame of the movie.

However, when the user now tries to delete/amend info (eg, first name, username, etc) on the form using his/her keyboard Back button, it triggers the browser Back button.

Anyone out there experienced a similar sort of problem - ie, why the keyboard Back button is acting as the Browser Back button?

If anyone has any ideas/solutions, I'd appreciate any input.

Cheers

Rob

Prevent Movie Play, When Back Button Is Hit
Is there any way to stop or prevent a movie from playing every time someone returns to the page it is on, via the browser back button?

thanks,

sal

How To Enable Browser's Back Button In A Swf Movie
Hello
Can anyone tell me how to enable the browser back button (as in html pages) in flash movies
I have pages in different frames and would like to use the browser back button

Kindly someone help me on how to do this

Thanks a ton
shrejeet

Back History Navigation Button Within Movie
Hello all...
I am trying to create (I know this will sound so basic) an additional navigation sytem in my flash movie that consists of a back button. I basically want the user to be able to click the back button and return to previous areas that they have navigated to in the website. This was pretty easy for me to sort out with a basic linear timeline.... however....

I have a main movie timeline with other movies being loaded into one of those keyframes as kind of a sub movie.

An example:

the main timeline is: Frame1 | Frame2 | Frame3 | Frame4

If I go to Frame2, there are links to choose different movies to load into that area. So while in Frame2, the user may navigate deeper into a loadedMovie.

The problem I face right now, is telling the main timeline where the user is in the movie and translating that into an appropriate navigation. There are ways that I can make it work, but it requires changing the architecture of the site.

I am currently using arrays.

Anyone who might have a thought on this would be very helpful... even if its links to a good tutorial or otherwise. Thanks in advance!

Stop Movie Reloading On Back Button?
Hi all!

This question has probably already been asked but I couldn't find it in search so I'll ask again

I am not sure if this is even possible but basically what I want to do is stop a flash movie from replaying/loading when someone presses the back button. Say someone is surfing my site and they click on a link, and it takes them off to another page, they do what ever it is they want to do there, then press the back button to go back to my page, but instead of the page just flashing up it goes through all the initial animations for each movie, which I don't want. If they refresh the page, fair enough, but is it possible with flash to do the same as with an image. Press back and the image pops up instantly?? Is this possible and if so how do I do it?

Any help would be much appreciated

Thanks

Vince

Disabling Movie Clip's For Back Button Use
Last edited by Jez : 2004-04-23 at 02:43.
























I need to clear the variables so when my back button goes back to the start of the site mc's etc are not playing already when they should be just normal.

I think its cause of the variables. A friend of mine sent me

var name = "";

to put in someone but i'm not sure if that is even right or where to put it???

Any ideas guys?

Movie Clip Button Goes Back To Previous Label
Is there a way to have a back button go back to the previous frame label without having specific names, just "previous label". I have a lot of labels on the movie clip timeline, and it would be a lot easier.

Thanks everyone.

How Do I Script A Back Button From The Main Timeline To A Movie Clip?
Movie clip plays, when it reaches the end there is a stop action. Two buttons are displayed, each one takes you to a different page (in the main timeline, have on(release) _root.gotoAndStop for the buttons)..

On the two pages that the buttons take you to (on the main timeline) I want to put a back button on each to take you back to the movie clip and tell it to go to the last frame of the movie clip and stop. I'm pretty sure I know how to do that, but the problem is I have more than one movie clip: how do I script the back button to send you back to the last movieclip you viewed?

Button Action To Go Back To Main Timeline Movie Container
i made a movie clip "container" on my main nav which pulls every other page into it. i have a progressive preloader on the portfolio section and if you click to go to another page while it is loading, it spazzes out. so for the portfolio section i took the buttons off the main nav and put them in the portfolio section. I can't just put a script to load the new movie because the buttons have brackets that move and close the word of the page you are on.

I need a script that says on release to go to and play a label on the main nav with the movie container.

to pull the movies into the main nav i made a movie clip container and put script on the buttons to gotoandplay a movie which loads the new swf after is plays using this action:

_root.loader.loadMovie("port_remodel.swf");

i thought i could just use:

on(release){
_root.loader.gotoAndPlay("homel.swf");
}

in the portfolio section but it doesnt work.

please help if this makes sense!

Tell Flash Which Button Is The Previous Button So It Can Goes Back To Normal
i have many buttons with rollOver and rollOut states... when the user clicks on a button the button stays red.. when the user clicks another button that button stays red and the previous button goes back to normal..

well how do i tell flash which button is the previous button so it can goes back to normal as the next button clicked goes red???

please help

Using Back Browser Back Button On SWF Loaded Site
I have created a web site that runs on loading different swf files. These files contain navigation and plain content. My problem is that I need to use the browsers back button. I dont think I can do this with anchor tabs. Help meeeee. It's driving me nuts. I don't see any questions out there that address this on a site that is with multiple swf files.

Anybody?

Flash Button And The Browser BACK Button
I have a Flash Button that I'm using to drop a user down to an anchor link at the bottom of the page I'm on.

When the Flash button drops the user down to the anchor that's intended...afterward....when the user hits the browser BACK button to be taken back to the original position above within the page.....it instead takes them to the previous page visited.

How do you set the Flash button to remember the original position and go to this position when the BACK button within IE 6 is used?

Thanks!

SKURGE

Flash Button And The Browser BACK Button
I have a Flash Button that I'm using to drop a user down to an anchor link at the bottom of the page I'm on.

When the Flash button drops the user down to the anchor that's intended...afterward....when the user hits the browser BACK button to be taken back to the original position above within the page.....it instead takes them to the previous page visited.

How do you set the Flash button to remember the original position and go to this position when the BACK button within IE 6 is used?

Thanks!

SKURGE

Back Button Within Flash...
Hello,

Can somebody out there give me a nudge in the right direction, please?!

I'm looking to create a button that will act as a 'back' button within a flash movie. When the user clicks on a link, I'm trying to set a variable that gets sent with loadMovie, with the new movie containing a 'back' button with the variable as it's target.

Setting the variable and getting it into the loaded movie isn't a problem, it's what actionscript to use with the 'back' and the loaded variable.

Hope that makes sense, and that you can help.

Cheers

Back Button For Flash 4
Thanks to Robert Penner it's possible to use the back-button in Flashmovies http://www.robertpenner.com/experime...ackbutton.html
The only problem is, I still use Flash 4 and his scripts are for Flash 5. So I was wondering if someone knows how I could make the backbutton work in flash 4.

I have 4 scenes, mainscene, secondscene, thirdscene and fourthscene.
When I press on button (number two) in mainscene I will have to go to secondscene and so on. When I press the backbutton I must go back to mainscene again.

Please could you explain me how I could achieve this.
(maybe you even got a .fla4-file to show how it works)

Thanks
[Edited by U.P! on 07-15-2001 at 11:01 AM]

Back Button In Flash?
Can you have back buttons in Flash?

It's really annoying otherwise. Just something that takes you back to the previous movie.

Ta

Laura

Back Button: Possible In Flash?
i'm switching an app from director to flash and one of the things they want is a 'back' button built into the navigation. clicking this button would follow your path backwards much like the 'back' history button does in a browser.

has this ever been done? anyone have any ideas on it at all? I don't even know where to start on this one..


thanx!

corey

Back Button In Flash 5.0
I need to create a generic BACK button in my flash movie!
I have 35 different FLA and the user can navigate thru
in many ways but has no way of going back to the previous
page?

anyone?

Back Button In Flash
Hey.
i want to know what the script for a backbutton in flash Mx is.
im using a iframe so i want it to go back in the iframe.
go to my website click here

Flash Back Button
This may sound pretty simple but i couldn't figure this one.
i need a button on flash that takes u back to the previous page, without knowing the name of the html page or the path. Basically exactly like the function of the "back button" on the browser.
Please help
Thank u

Back Button In Flash
Hello all!
Is there any way to mimic the explorer browser "BACK" button in a flash nav which is calling to a frame. I know how to do it in HTML, not sure if it is possible in flash.

Thanks in advance!!!
Jess
Puppet Terrors
www.puppetterrors.com

Back Button In Flash
I am in the process of developing some courseware material to be viewed online. I want to program a back button in Flash that will function like the internet browser back button. This is the code I used:

on (press) {
getURL("javascript:history.back(1)");
}


Problem: the user actually has to click twice. Any advice?

Back Button In Flash
Is there a way to have a back button that takes you back to the last page viewed in Flash (am using MX 2003)?

The following script doesn't work:

on (release) {
getURL ("javascript: (history.go(-1))", "_self");
}

Any thoughts?

Thanks in advance for your help.

Using Back Button In Flash
Has anyone been successful at this? I'm having difficutly putting this together. I have been trying to follow the tutorial, but just not comprehending?

http://www.actionscript.org/tutorial...sh/index.shtml

Do I also upload the, pages in addition to the js? the page 1. htm page 2.htm and so forth?

Can someone give my bulleted step by step on how it should look exactly within my current web? I think I'm mixing the samples with what should go into my web?

Any help provides is MOST appreciated.

Flash Back Button
i am using following code to make a back button
on(release){
getURL ("javascipt:history.back()");
}
on(press){
getURL ("javascipt:history.back()");
}
it works fine in ie but in netscape it will work once and then it disables the button wherever you are on the site.
any ideas?
i have heard that there may be some problems with netscape 6 and java!!! is there any other way to do this?

Back Button In Flash
Hi there!

Where can I find a REALLY WORKING Flash back button tutorial?
This is a problem as old as Flash I guess...

Regards,

Gerry

Flash And The Back Button
I have a flash application I made where a user can search an inventory of over 30,000 diamonds.

theres really 3 pages (or states) to it, 1 the place where you inter your criteria, 2 the place where you view the diamonds that matched your criteria, 3 the stats of the single diamond you chose from the list on page 2.

I have my own back button in the flash to get to the previous flash states. but no matter how obvious I made my back button people are just too used to the browsers back button and keep hitting it to go back and it completely leaves the page with the diamond search causes them to loose their search criteria.

I am looking for a way to make it when they hit the back button to take them back to the previous state instead of leaving the page.

any help is appreciated


THANKS!

Back Button In Flash MX
Hello, does any one know how to create a back button in Flash MX where the button can determine the last scene the vistor visited?

Any help would be greatly appreciated.

Thanks!
Casey

Back Button In Flash
Is there a tutorial on being able to use the back button for full flash web sites?

Using The Back Button With Flash
On this page:
http://www.westonfl.org/index_fr.htm
How does the webmaster (famous 2advanced.com) make it to where you can implement the back button, even though its got frames and flash?

Back Button In Flash
Hey guys,
i was wodering if it possible to make a button to go back to the previous scene / frame label where you just came from,
eg.
scene 1 ---> scene 6
then i press the back button from scene 6 and it returns to scene 1 and other way around.
basically like a back button on ur browser but inside a flash file.

any help wil be apreciated

cheers,

baleric

Interactives And Flash, Back Button
What kind of ActionScript could you use to create a Back button in an interactive? Specifically, by clicking on a button, it will return you to the frame you just came from. So basically a script that acknowledges and remembers the frame number or name.

Can an action be written to launch another file in another program. Say, a button click will open up a PowerPoint presentation.

Also, I am presently making an interactive in Acrobat but it is somewhat limiting and it isn't very animated, so I am looking for alternatives. Flash is a good one because I know it. Director, I would have to learn and hear that it is on the way out. Is this true? Is it still the best package for developing interactives or can I get away with using Flash?

Any help would be appreciated.

Matthew

'Browser' Back Button In Flash
hey peeps,

Is it possible to have a back button in flash that behaves like the browser back button. I have a route page on a website and you can get to that route page from several locations of the site. But there should be a back buttton that 'knows' from which page you came, and can send you back there.

thanks in advance

sploenk

Flash - Browser Back Button
Hi Everyone,

Flash super-newbie here. I need to integrate back button browser capability into an entirely flash (or "splash") website. Can anyone please provide the code for this.

What i want is for people to be able to use the back button on the BROWSER to take them to the previous page they visited within the flash movie/website. As opposed to manually inserting back-buttons where i want them.

If its not too much to ask - for those who know how to do this, could you please provide very specific instructions.

Thanx a million..

Browser Back Button In Flash
Do any of you geniuses know of a way to capture the Back button of the browser so that it can be used to navigate within a movie?
Another impossible request, I suspect, but I live in hope.

cheers

andy

Browser 'back' Button In Flash..
Hello there,

Does anyone know how to make the browser 'back' button work on a site made entirely in flash?

/Leetah

I Want To Create A 'back To Top' Button In Flash
I have a long vertical flash site that will scroll not from within flash but on the browser.

I need to have a button that somehow stays on the bottom of the screen, so that as they scroll down, they see this option to go 'back to the top'.

I have seen this done in html and it is jumpy and tacky. How would I accomplish this in flash?

Thanks

Flash Not Loading When Back Button Hit
I've got a flash piece on a site home page, and it works fine. When you visit another page on the site, and then hit the back button, the flash doesn't load. I have a main swf that I'm loading into preloader swf, and in the first frame of the preloader frame I have another loader, code below:

import flash.display.*;

stop();

this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, PL_LOADING);
this.loaderInfo.addEventListener(Event.COMPLETE,lo adFinished);

function PL_LOADING(event:ProgressEvent):void {
var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
}
function loadFinished(evt:Event):void {
gotoAndPlay(2);
}

Copyright © 2005-08 www.BigResource.com, All rights reserved