PDA

View Full Version : back button in the browser


jsotten
01-08-2002, 10:45 PM
im building my first website. ive linked ever page by using load movie. now im trying to build the html. i want my browser to be able to use the back button. i cant figure this out. ive even made a bunch of html pages of each swf file page. i really hope im not going to have to go back into flash and change this all. can someone help me.

jennifer

Billy T
01-09-2002, 04:22 AM
http://www.actionscript.com/archives/00000128.html

Tink
01-09-2002, 10:06 AM
you only use the origonal html that was published with the movie that u loaded all the other external swf's into. therefore i don't think the back button will work.

might be worth looking at robert penners site (http://www.robertpenner.com) as i know he has scripted the back button but i'm not sure how it works. i think billy's answer links to there as well

jsotten
01-09-2002, 06:01 PM
yeah, ive got the robert penners website and his link and the flash files explaining. but im thick. i dont understand how it works...do it embed each .swf file into an html, then apply the javascript? funny i think ive gotten that link at least 4 times. is he the only one that has notice the functional prob?

Billy T
01-09-2002, 10:54 PM
you could use get url instead of loadmovie - then the back button would work (I think)

Ricod
01-11-2002, 09:10 AM
Okay, this is what it does :
U have a frameset consisting of whatever u want AND an invisible one. What I do is publish in flash, and load that html file into the mainframe of the frameset.
Next, u use getURL to load the 'identifiers' in the invisible frame which also sends a variable to the main swf. That variable contains info on what's next.
In flash u'll need a continous looping script that checks wether or not u'll need to go to the next 'page' and go to that frame if so.