You can use BrowserManager
<http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_3.\
html>  . In the handler function of the
BrowserChangeEvent.BROWSER_URL_CHANGE event you can get the fragment
from the BrowserManager and according to its value you can choose which
item to display.

You can see a working example on the following site:
http://www.allmas-tn.com <http://www.allmas-tn.com> .
The ViewStack at the bottom of the page selects the right page according
to the fragment in the url, so if you visit this url:
http://www.allmas-tn.com/#contact <http://www.allmas-tn.com/#contact> ,
the "Contact" page will be selected.

Hope this helps,
Haykel


--- In [email protected], "flexaustin" <[EMAIL PROTECTED]> wrote:
>
> Does anyone know the best way or anyway to pass an URL into a Flex app
> in order move to the correct state?
>
> So if I have an app -> Panel -> itemrender and I want to display one
> of them items (which when selected grows and expands) when it receives
> a certain URL.  Is this possible and has anyone seen this or done
> anything like this?
>
> Whats the best approach. Thanks for all the help and thanks in advance
> on this one.
>

Reply via email to