Use ExternalInterface to call a Javascript function.
--- In [email protected], Angelo Anolin <angelo_ano...@...> wrote:
>
> Hi FlexCoders,
>
> I have a flex application hosted on an html file. How would I be able to
> detect
> from the Flex application the root url?
>
> Like for example, the root url goes like:
>
> www.mysite/myApp
>
> and the flex application is hosted on www.mysite/myApp/flex.html
>
> I want to invoke on Flex to navigate back to the root site, www.mysite/myApp,
> but it should be dynamic, regardless which root url it is.
>
> Thanks.
>