Ramblings

November 21, 2006

ActionScript.org Forums – View Single Post – UrlQuery

Filed under: flash — michaelangela @ 10:45 am

I haven’t tested this yet, but this is a class that allows a developer, through ExternalInterface, to get the URL of the page a swf is on without embedding JS into the HTML itself. The only catch is that for it to work cross-browser, the swf needs to be embedded dynamically, i.e. with SWFObject. However, with IE requiring the click to activate most sites are using some sort of dynamic embedding anyway. The link to the full thread is here. This is just a link to the recently patched up class which works with Safari. Thanks to the coders who put this together!

ActionScript.org Forums – View Single Post – UrlQuery

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: