Discussion:
URL is unstable
(too old to reply)
SuperAng13
2009-04-02 18:27:33 UTC
Permalink
I'm working on a website (http://prestoncountyinn.com), and I noticed that the
photos will load under THAT URL. But if you add "www." before the URL
(http://www.prestoncountyinn.com), the photos will not load. I'm not sure
exactly what the problem could be, so I'd really appreciate some help. Thanks
guys!
GAMBRKER
2009-04-03 11:51:52 UTC
Permalink
After checking the site in Google Chrome, I received the following error
message when using the "www":




SecurityError: Error #2122: Security sandbox violation: LoaderInfo.content:
http://www.prestoncountyinn.com/Preston County Inn NEW.swf cannot access
Loading Image.... A policy file is required,
but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::LoaderInfo/get content()
at PrestonCountyInnNEW_fla::photos_5/imageLoaded()

Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at PrestonCountyInnNEW_fla::MainTimeline/frame4()
David Stiller
2009-04-03 20:02:03 UTC
Permalink
SuperAng13,
LoaderInfo.content: http://www.prestoncountyinn.com/
Preston County Inn NEW.swf cannot access ...
The issue here is that Flash Player treats www.prestoncountryinn.com and
prestoncountryinn.com as two separate domains, even though common sense
dictates that they're the same (same website, after all). As GAMBRKER's
reply suggests, you'll need to put a policy file in the root of this
website, to open the way for the SWF to access this data from either
"domain".

A policy file is just a small, simple XML file that grants permissions,
described here:

http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html


David Stiller
Co-author, ActionScript 3.0 Quick Reference Guide
http://tinyurl.com/dpsAS3QuickReferenceGuide
"Luck is the residue of good design."

Continue reading on narkive:
Loading...