all groups > flash (macromedia) > november 2006 >
You're in the

flash (macromedia)

group:

Allow user to bookmark individual flash page


Allow user to bookmark individual flash page bellycats29
11/30/2006 8:57:18 PM
flash (macromedia):
Hi there,

I would like to know how I can create a whole website in flash but still allow
the user to copy the url of a certain page and use that as a link to jump back
to that exact page again or bookmark it as a favourite.

I've seen it done, generally the url will look something like
www.domain.com/section1&id=345

Any advice anyone could give me would be much appreciated.

many thanks,
B.
Re: Allow user to bookmark individual flash page jeffbruce
11/30/2006 10:08:38 PM
Bookmarking is *browser* functionality. Flash can't talk directly to the
browser to do it. It's a bit tricky and may involve a number of browser-related
technologies.

A bookmark-able "thing" must have a unique URL. So, if you put your whole site
inside "mywebsite.swf" found on page "mywebsite.html", when you book mark the
page, you will always get the same thing, no matter where you have navigated
within the Flash.

You need to do 2 main things:
1. Make use of unique URLs
2. Make your Flash be able to start differently based on #1

To accomplish #1, you either need server-side scripting or make use of
"parameters" to an HTML page which can be extracted using JavaScript. You will
also have to update the URL in the browser as you navigate within your Flash.
That way, when someone creates a bookmark, they are bookmarking the spot they
are in.

Hopefully this gets you started...
Re: Allow user to bookmark individual flash page bellycats29
12/3/2006 1:21:29 AM
Hi,

Thanks for your reply, I had a feeling it wasn't going to be as easy as doing
something within Flash itself (but was hopeful!). I will look into
serverside scripts and see what I can come up with!

thanks again,
b.
AddThis Social Bookmark Button