actionscript 3 - Flash - How come I do not receive a security warning to allow cross-site requests? -
i using urlloader class send data script sends email data; urlloader used receive return data on status of request. email script located on domain (webscript.io, in case; host scripts written in lua can perform various functions when called). don't want have them host crossdomain.xml file, when visit page use flash app, don't security warning. not default action when there cross-domain scripting in flash application without crossdomain.xml file?
for reference, here application: http://www.canadadocks.ca/build-dock-app/
the cross domain issues data swf retrieving other domains. if you're sending data (via http post/get), not problem.
also, unless you're using debug player, won't see security exception occurs.
there various things not trigger exception: downloading , displaying image domain. however, if try access bitmap data of image, you'll security exception (unless crossdomain.xml permits it).
so can depend on you're retrieving , you're doing w/the data fetch.
if you're still curious, should further explain type of data you're retrieving , it. usual, it's better explain code words ;)
Comments
Post a Comment