AS3 Crossdomain imageload
Posted
by Ela
on Stack Overflow
See other posts from Stack Overflow
or by Ela
Published on 2010-05-28T11:48:33Z
Indexed on
2010/05/28
11:51 UTC
Read the original article
Hit count: 223
as3
Hi,
Actually i have to load images into stage from any server, so tried using crossdomain.xml from my server root and loaded it to the as file like this,
though it throughs error
SecurityError: Error #2122: Security sandbox violation: Loader.content: http://sss/Player.swf cannot access http://ffff/images/logo-bg.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. at flash.display::Loader/get content() at SS4UPlayer_fla::MainTimeline/ss4uLogoCompleteHandler()
Whats the problem, Please can you find it.
© Stack Overflow or respective owner