Viewing entries tagged with 'as3'

Bitmap to ByteArray

Posted by Alexis on 23 April 2012 | 0 Comments

Tags:

I found this nifty method for saving out bitmap data from flash. It works a lot faster than using PNGEncoder and JPEGEncoder, this is obvious because no image encoding takes place, just the extraction of bytes. The down side is the filesize is a lot bigger being an uncompressed format uncompress. After testing it out I actually went back to PNGEncoder, becuase the application I'm building requires a lot of images. The disk space and load time trumps write speed.

0 comments | Read the full post

Flash Professional & Flash Builder Compatibility with Sprites

Posted by Alexis Hope on 7 February 2012 | 0 Comments

Tags: ,

Some notes about using sprites from Flash Professional in Flash Builder.

0 comments | Read the full post

AS3/Flex toOrdinal

Posted by Alexis on 24 January 2011 | 0 Comments

Tags: ,

Over the weekend I had to put together a small Flex project to illustrate data in a pie graph. Also the data had to read in terms of its placement 1st 2d 3rd or 4th. While there are Flex validators for these types of things I prefer to write in Actionscript. I find it easier to follow and easily reusable in other non Flex projects.

0 comments | Read the full post