Fusion Posted July 17, 2012 Share Posted July 17, 2012 Hi, I'm developing a flash application that loads random images as thumbnails from a site. When you click these images, you get a big preview of them. I'm working with debug version 11.2 in Flash Builder, and everything works fine, even in the normal standalone player, but when a friend is trying to load the images with flash player 11.3 (standalone version), he gets a security error 2048. The strange thing is that he gets the issue when he tries to load the thumbnails, BUT he CAN load the preview image without this error. Here's a piece of code: Loading the preview: private function loadPreview(id:String):void { new ImageLoader("http://www.site.com/" + id, {name:id, onError:previewError, onProgress:previewProgress, onComplete:previewComplete}).load(); } Loading the thumbs: private var queue:LoaderMax = new LoaderMax({auditedSize:false}); private function loadSequence(total:int = 20):void { for(var i:uint = 0; i < total; i++) { queue.append(getThumb()); } queue.load(); } private function getThumb():ImageLoader { var id:String = getRandomID(); if(queue.getLoader(id) || queue.getContent(id)) { return getThumb(); } return new ImageLoader("http://www.site.com/" + id, {name:id, onError:function():void{getThumb().load()}, onComplete:thumbComplete}); } Thanks in advance, Thomas Link to comment Share on other sites More sharing options...
Carl Posted July 18, 2012 Share Posted July 18, 2012 Hmm, looks like Flash may be snubbing the LoaderMax audit. you are using auditedSize:false it should be auditSize:false that is the only discrepancy I can detect. strange that some load and not others. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now