PHP output and flash.net.URLLoader bytesTotal property
I hit a problem this week that had me stumped (what’s new?). So, I put on my scuba gear and dove into the code…. More after the jump…
I hit a problem this week that had me stumped (what’s new?). So, I put on my scuba gear and dove into the code…. More after the jump…
In a current AS3 project I am maintaining information about images in a custom Image class that extends Object. One of the properties of an Image instance is .orderNum. When I retrieve a list of Image instances, I store them in an Array instance. I need to sort the images within the array by the [...]
I just learned how to embed a font into an AS3 class I am developing—without doing anything in the Flash IDE! Credit goes to this blog and this answer on stackoverflow.com. Where’s your font file? Find the location of the truetype (TTF) file for the font you are going to embed. I am using Futura [...]
I encountered my first Security Sandbox error while testing an AS3 project on the production server. I have a primary SWF called top.swf that loads an XML file with a list of URLs for other SWF files that will be loaded as sub-SWFs in top.swf. The XML file loads fine (it is located in a [...]
I am working on an AS3 project and developing it with the Flash CS3 IDE and FlashDevelop 3.0.6. I write all of the code in FlashDevelop and use the Flash IDE to create visual elements that would be a pain in the arse to code. When using flash.net.URLLoader to load external XML data and working [...]
I devised a way to store functions in an array and then call them later. I used this for implementing a loading queue that calls each consecutive function when an asynchronous load process completes. var functionsArray:Array = new Array(); register(testA); register(testB); for each(var f:Function in functionsArray) { f(); } function register(f:Function):void { functionsArray.push(f); } function [...]