hmm maybe post how you setup loader/listeners let’s see if anything may cause problem ?
anyway here is my standard load picture script, maybe you can check any help ?
var context:LoaderContext = new LoaderContext();
context.applicationDomain = ApplicationDomain.currentDomain;
context.checkPolicyFile = true;
var url:String = 'http://i0006.photobucket.com/albums/0006/findstuff22/Best%20Images/Cars/audi1.jpg';
var urlRequest:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
loader.load(urlRequest, context);
function loadComplete(evt:Event):void
{
var bitmap:Bitmap = Bitmap(evt.currentTarget.content);
addChild(bitmap);
bitmap.width = 50;
bitmap.height = 50;
}
no need the context part if not planning to crossdomain load anyway 
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
I know you can’t access the pixels if its from another domain but I thought you were able to at least resize it…
Savorks,
Thanks for all the help, I will take a look into this and test it and see what I come up with. Thanks MSFX for the help too.
This is a perfect example of why this community is so awesome, thanks guys.
Scott
