Want to hire a development team?
No Images Added Yet

Get current url to Flash swf using an External Interface call

Not Rated Yet.
Add to Favorites
Publisher
access to the url from flash
Product Details

Many have struggled with the task of getting you swf to read or get the current url showing in the browser, the html page the browser is at which has the swf embedded. Not to be confused with the _root._url which returns the path of the swf file. This would be helpful to know if someone is embedding your swfs on their site, or even customize your swf depending on which page it resides on. There is a pretty simple, yet virtually undocumented way to do this. We have to use javascript by calling External Interface and get the url from the DOM. Window.location.href. Then we must call the toString() function only because ExternalInterface.call requires a function rather than only reading a static property.

Report this Listing
Price
Free
Licence Type
Free
Views
945
Submitted on
14th December 2010
Last Updated
25th December 2010
Licence Type
Freeware
License Price
USD 0
Advertisement The banner below is an advertisement
Quikwit - AI Chatbot Platform

You May Also Like

Cloud Services You May Like

AWS Backup and Restoration Service for Instances

Backup and restore your AWS instances to protect data, recover from failures, and ensure business continuity.

Analysing your AWS bill and suggesting ways to reduce costs

Deep analysis of your AWS bill with a detailed list of cost saving recommendations.

Cloudflare Ongoing Management & Monitoring (Monthly)

Monthly Cloudflare management including policy changes, monitoring, tuning and issue response.

Help/Fix on configuring AWS SES for very low cost SMTP Email Sending (1 Hour)

One hour of help to configure AWS SES for low cost, reliable SMTP email sending.

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(0 ratings)
Not Rated Yet.
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.