Skip to main content
Inspiring
April 25, 2008
Question

Update a browser URL without reloading the page

  • April 25, 2008
  • 4 replies
  • 656 views
Is there any way to update the browser url from flash without reloading the page?

My main interest is in being able to use flash to change the url variables to reflect what is currently being displayed in the swf.

ie. http://www.blah.com?frame=0 might be set to http://www.blah.com?frame=10 when the swf reaches frame 10, allowing the user to go directly to frame 10 if they return to the page later.

Thanks
Rick
This topic has been closed for replies.

4 replies

Inspiring
April 30, 2008
You can try a technique that is used by web designers to prevent back button actions. Through JavaScript you can write strings after hash "#" - like bookmarking (anchors) and then read this variables. The advantage is that page doesn't reload and bookmarks are saved in the browser history (back button issues).

Hope it helps.
kglad
Community Expert
Community Expert
April 29, 2008
if you're using timeline navigation you can use the swfaddress class for "deep linking" which allows users to navigate through your site using their forward and backward browser buttons.

use google to search.
Inspiring
April 29, 2008
Hi kglad.

They would be returning to the swf at www.blah.com at frame 10.
They would be returning by pressing their browser back button, although it would also be nice if they would be able to copy the url.
kglad
Community Expert
Community Expert
April 25, 2008
"allowing the user to go directly to frame 10 if they return to the page later."

return to what page? www.blah.com?

and how are they returning? are they clicking a link somewhere or are you trying to affect their browser history/back button?