Jump to content
GreenSock

gibbz

Members
  • Posts

    4
  • Joined

  • Last visited

gibbz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Carl, Thank You for your reply! We have resolved the issue. It's a security-related problem, not related to LoaderMax. More info: http://richardleggett.co.uk/blog/2009/04/02/loading-swfs-into-air-1-5-and-loaderinfo/ While publishing the external swf from Flash Pro, setting the Publish Settings->Local playback security to "access network only", resolve the issue.
  2. Hi! We have a problem with LoaderMax: an Air desktop application should load some SWFs from a folder. When this folder is under ApplicationDirectory everything is ok. When the folder containing the SWFs is placed on user desktop, the AS3 code on loaded SWFs is not executed. The runtime seems to execute only the as3 code contained in the last loaded swf. No errors are thrown. We provide a sample Flash Builder project to demonstrate the issue. There are 2 buttons: clicking the first button the swfs are loaded from application directory. Clicking the second button the swfs are copied on a desktop folder and loaded from there. With the second button, the stop() and trace statements are ignored, and the loaded swfs will loop. A few notes: The issue occur only when loading 3 or more swfs. The swf have nested MovieClips, that are NOT present on first frame. If the nested movieclip are always present on the main timeline, the issue do not occur. The FLAs of the SWFs are provided in the sample project. The Air runtime is the latest, 19.0.0.213, old compiler The GreenSock swc is the latest, version: 12.1.5, updated 2015-03-25 Thank You for your help! Sample project link: https://www.dropbox.com/s/l986qrvtl6bl8xs/LoaderMaxTest.zip?dl=0
  3. Thank You as usual for the clarification! A case-specific workaround can be to decode the url before passing it to ImageLoader. For this url it seems to work: queue.append( new ImageLoader(decodeURIComponent("http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=185485354812569&v=1&size=z&cksum=35106c0ba3c5d297aa93474c3a44cfa1&src=http%3A%2F%2F89.31.74.164%2Fimages%2F100001536708917_1298290087609.jpg"), {name:"photo1", estimatedBytes:2400, container:this, alpha:1, scaleMode:"proportionalInside"}) );
  4. Hello, I'm unable to use the great ImageLoader class to load an image generated through the Facebook proxy. The image url is: http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=185485354812569&v=1&size=z&cksum=35106c0ba3c5d297aa93474c3a44cfa1&src=http%3A%2F%2F89.31.74.164%2Fimages%2F100001536708917_1298290087609.jpg The code used to load the image: var queue:LoaderMax = new LoaderMax({name:"mainQueue", onComplete:completeHandler, onError:errorHandler}); queue.append( new ImageLoader("http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=185485354812569&v=1&size=z&cksum=35106c0ba3c5d297aa93474c3a44cfa1&src=http%3A%2F%2F89.31.74.164%2Fimages%2F100001536708917_1298290087609.jpg", {name:"photo1", estimatedBytes:2400, container:this, alpha:1, width:250, height:150, scaleMode:"proportionalInside"}) ); queue.load(); function completeHandler(event:LoaderEvent):void { trace("image loaded"); } function errorHandler(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); } Executing the above code the player throw the Error#2036: Load Never Completed. Using the same image url with standard Loader class all works fine. Thank You!
×