Matt Horn wrote:
> 
>  > Two questions.
>  >
>  > #1 - Can a Flex 2 app know the URL of the browser window it
>  > is currently loaded into?
> 
> Yes.
> 
> var baseurl:String = Application.application.url;

Matt,

That returns the URL of the swf itself, not the URL of the parent 
browser window in which the swf  lives (unless the swf was called 
directly, not within an HTML page, I suppose).

Same goes for the Application.application.parameters - it returns the 
URL parameters of the SWF itself, not the parent browser window.

No matter though, as I posted earlier in the thread, that's good enough :)

Rick


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to