[flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-19 Thread bsyyu
Hi all, that's the problem for Flex, it is so flexible for different kind backend language. Each has their con and pro. But personally, I favor .NET on their growing popularity. Besides, I will put most of the logics insides Flex, so as to reduce the dependency of the backend as it only for

[flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread kuntamayu
Try to track Application.application.url This may help you. :) --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Look into the BrowserManager, perhaps it will help. Tracy Spratt Lariat Services Flex development bandwidth available

Re: [flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread Laurent Cozic
Application.application.url will give you the url of the *swf file*, not the url of the document within which the app is embedded. For that, the only way is to use Javascript and ExternalInterface. I think the syntax is: var docURL = ExternalInterface.call(location.href); or it might be

RE: [flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread Ryan Graham
If possible, you could look into Google Analytics to do the tracking for you: http://code.google.com/apis/analytics/docs/flashTrackingIntro.html Worth a look, but might not meet your requirements. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread uclamerrick
Thank you, I am trying this out right now. --- In flexcoders@yahoogroups.com, Laurent Cozic pogopix...@... wrote: Application.application.url will give you the url of the *swf file*, not the url of the document within which the app is embedded. For that, the only way is to use Javascript and

[flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread uclamerrick
Thank you, I added Google Analytics but I also need an internal tracking system. --- In flexcoders@yahoogroups.com, Ryan Graham ryan.gra...@... wrote: If possible, you could look into Google Analytics to do the tracking for you:

[flexcoders] Re: is it possible to track visitors / the page an swf is embedded on

2009-02-18 Thread tom93438
...not the url of the document within which the app is embedded. For that, the only way is to use Javascript and ExternalInterface If you're looking for the url in the browser address bar then look at IBrowserManager: http://livedocs.adobe.com/flex/3/langref/mx/managers/IBrowserManager.html