(not only) Internet Explorer conditional comments
Internet Explorer conditional comments are probably the best way to hack IE bugs. The way simple and easy in use. [read more]
Saving local SWF files from an image bitmap in AIR
In AIR applications images loaded with Loader class are internally stored as a single frame, not compressed SWF file. As far as I know, this isn't documented anywhere, but it seems to work this way. This also fast way to convert local image file (png, jpg or gif) to swf format. We will use this method to create save local swf file from any image that is stored in BitmapData class instance.
[read more]
Adobe on AIR in Warsaw
We just got back from Adobe on AIR in Warsaw, and i feel like i need to write something about it. It was cool, we got really nice t-shirts, some stickers (already on my laptop). We have'nt won anything, although it was close.

[read more]
Duplicate Loader object
is it possible to clone Loader instance to save some bandwidth ?
yes this is possible
Solution of this problem depends on type of loaded media. Lets take a look on how to clone loaded media
-
if you've loaded image (png, jpg or gif) file, and your not going to do any pixel level manipulation
var s:Bitmap = new Bitmap( (oldLoader.getChildAt(0) as Bitmap).bitmapData )
using this to create multiple bitmaps can also save used memory - only one BitmapData instance is created and shared across all bitmaps
if you need to do any pixel level editing, its important to first clone BitmapData ! -
if you've loaded swf file. you can clone Loader and use its loadBytes public method to load already loaded data
newLoader.loadBytes( oldLoader.contentLoaderInfo.bytes )
previous (newer) , 1 , 2 , 3 , 4 , 5 , 6 , ... , 11 , next (older)