Try to track Application.application.url
This may help you. :) --- In [email protected], "Tracy Spratt" <tspr...@...> wrote: > > Look into the BrowserManager, perhaps it will help. > > > > Tracy Spratt > Lariat Services > > Flex development bandwidth available > > ________________________________ > > From: [email protected] [mailto:[email protected]] On > Behalf Of uclamerrick > Sent: Wednesday, February 18, 2009 12:24 AM > To: [email protected] > Subject: [flexcoders] is it possible to track visitors / the page an swf > is embedded on > > > > Lets say I run a video site like youtube, how can I capture the url of > the page where my swf object is embedded. > > For example someone takes the embed code from > http://youtube.com/videoid123 <http://youtube.com/videoid123> and > places it onto the page at > http://myblog.wordpress.com/this_video_rocks > <http://myblog.wordpress.com/this_video_rocks> > > I know how to use HTTPService to report this information back to my > server and store it in the database, but I don't know how to use Flex > 3 / Actionscript 3 to determine the URL of the page that embeds an > swf. In the example above I would want to capture: > > http://myblog.wordpress.com/this_video_rocks > <http://myblog.wordpress.com/this_video_rocks> > > Thanks. >

