This content has been marked as final.
Show 3 replies
-
1. Re: Problem facing passing the flash vars
Greg Dove Dec 28, 2007 6:01 AM (in response to AScracker)If you want to do it that way you should really use a javascript embedding approach. E.g. take a look at swfobject.js and the setVariable method.
The other way to do it is from actionscript via ExternalInterface.
Try
if (ExternalInterface.available) {
//try this (I've not tried this one):
var locationSearch = ExternalInterface.call("location.search.toString");
//or this -I have used this:
var location = ExternalInterface.call("location.toString");
} else {
//cannot get the location.
}
Both approaches above require javascript to be enabled. The ExternalInterface approach also requires allowscriptaccess to be either "sameDomain" (the default) or "always" in the embedding setttings. -
2. Re: Problem facing passing the flash vars
AScracker Dec 30, 2007 9:43 PM (in response to Greg Dove)Thanks a lot...
it's working fine -
3. Re: Problem facing passing the flash vars
Greg Dove Dec 31, 2007 12:36 AM (in response to AScracker)you're welcome

