Deep Linking with SWF Address and URL Format

So we are on another project that needs deep linking, and trying to decide on the format of the urls.  We use SWFAddress and create a proxy for it in pureMVC which is fairly easy.  The format of the URL and query string parameters is what we seem to spend a lot of time dwelling on.

One of our other projects uses a simple token relationship since it is flex module based where the name of the module and the parameters it needs are sent in the url


so if we had a link to the home page, needed to tell the video module the video to play and the news module to show headlines it would be :


its works but its not like traditional query string style urls like we are used to in basic server based apps.

Our new projects needs to be able to provide the current page, the currently 'focused' item and arguments to other items so we are considering

its a bit more typical query string style.  I'm not married to any particular style but would at least like to decide on one and then be consistent across projects, I'd love to see how others have handled more complex deep linking with swf Address. The requirements for us are

  • provide a "page" in the deep link
  • provide arguments to specific modules or components for that page
  • allow components on the stage to get multiple arguments and not just one, e.g. the url to the video, should it auto play, should it go full screen ?
  • provide a focus for the page, i.e. the video module has focus if the page is complex and you should be able to state the item with focus on the page

I welcome discussion on this topic!

Posted in: Content | Permalink

Grant Davies
Posted by Grant Davies