PDA

View Full Version : advanced deep linking



knickers95
March 12th, 2008, 04:30 PM
hey everyone!
ive got a realy cool site that uses deep linking to allow the user to use the back and forward buttons of their brower, as well as being directed to a certain page on the flash site without having to start at the homepage and navigate your way there.
DrawingArt.com (http://www.drawingart.org) is a site that uses this capability.

what confuses me is how you can go from page to page on their site, and the url updates itself, telling you what page you are one, and this is done without having to reload the entire page and downlaod the swf again. Ontop of that, if you look at the url's of different pages carefully, i dont know how the site reads variables from the url because they are not defined. like when defining variables in the url with php, you write:
php?page=home_page

if anyone knows, i would like to know how drawignart.org uses its deep linking system.

thanks alot! :thumb:

evildrummer
March 12th, 2008, 04:54 PM
uses dummy links: everything after the # can be changed without reloading the page. Example:


<a href="#/home">Home</a>

Won't actually change the page, then your flash file can find out the page URL it's on and then extract the last bit.

knickers95
March 13th, 2008, 12:48 PM
uses dummy links: everything after the # can be changed without reloading the page. Example:


<a href="#/home">Home</a>
Won't actually change the page, then your flash file can find out the page URL it's on and then extract the last bit.

wow thanks evil drummer, that helps to answer my question :D
just wondering, how would flash extract the last bit? and any bits after that. say fro example
#/portfolio/page_1
how could you get flash to extract the portfolio bit, and the page_1 bit?

duncanhall
March 13th, 2008, 12:57 PM
http://www.asual.com/swfaddress/

knickers95
March 13th, 2008, 01:32 PM
thanks for that duncanhall, ill be sure to use the class very soon :D

knickers95
March 14th, 2008, 12:49 PM
ive had a look at the download files for swfaddress, but i cant figure out how to use it, and i cant find any tutorials for it either, could you give me a link to any tutorial that you know of, or even a quick run through of what i must do.
thanks again:D

Icy Penguin
March 15th, 2008, 06:32 PM
Just look at the examples in the download and copy them from there.