Deep Linking Flex Applications Presentation at 360Flex
Today I gave the first of my 2 presentations here at 360Flex. After lunch today I had the pleasure to deliver a presentation on Deep Linking your flex applications. When I originally submitted this topic, we were embarking on a project at work that would have made for great examples. But the project got canceled. So the presentation I gave today was not at all like the one I had planned on giving at all. But the topic was well received. There were lots of questions, some I could answer and some that I could not. But we had a good group in the session and I think most of the questions got answered (even if not by me).
Anyhow I promised to post my slides for the presentation so you will find those [attached here](http://blog.simb.net/files/DeepLinking.swf). There is not a lot of content there but for the folks that missed the start of the presentation it will fill you in nicely.
Thanks for those who attended. Please feel free to post questions here and we can continue any discussions for the group.
I also wanted to include the source from the sample we did during the session. You will see that below.
< ?xml version="1.0" encoding="utf-8"?>
< ![CDATA[
private function handleSWFAdress():void
{
var path:String = SWFAddress.getPath();
switch (path) {
case "/Home":
content.selectedIndex = 0;
break;
case "/About":
content.selectedIndex = 1;
break;
case "/Contact":
content.selectedIndex = 2;
break;
}
}
private function setURL(event:Event):void
{
SWFAddress.setTitle('My Title: ' + event.target.selectedChild.label);
SWFAddress.setValue('/' + event.target.selectedChild.label);
}
]]>
13 Aug 2007 Simeon

Thanks for using SWFAddress in this presentation!
Here is a small hint:
SWFAddress.setTitle() should be called in handleSWFAddress(). This is how you can get title changes when you enter the application with a deep link or when you hit the Back button.