all groups > flash actionscript > january 2007 >
You're in the

flash actionscript

group:

detecting enableJSURL and enableHREF


detecting enableJSURL and enableHREF frz1
1/16/2007 9:54:23 PM
flash actionscript:
its common knowlege that myspace and other sites set enableJSURL and enableHREF
to false automatically to keep flash widgets from using getURL to launch new
windows. looking at the youtube player it seems that they deal with this issue
by forcing you to cut and paste the target url into a new window by hand if the
player is embedded on a page where these variables are set. Their swf seems
smart enough to detect this as well tho..

can someone tell me if these settings are available to be checked from
actionscript somewhere?
Re: detecting enableJSURL and enableHREF frz1
1/17/2007 5:56:44 PM
beuler??

Well at this point im trying to trap errors from getURL to see if it hasn't
launched a new window.. does anyone know if getURL actually returns an error
code? it doesnt seem to for me. Is there another thing i could try and then
watch for errors to see if this mode is false or true... could someone at adobe
please help as this stuff doesnt show up anywhere in the documentation its a
little annoying, no?

Re: detecting enableJSURL and enableHREF frz1
1/19/2007 7:50:54 PM
AddThis Social Bookmark Button