GhostWire Studios - Flash/Flex UI Components Development And Consulting Services
Quality User Interface Controls For Flash Application DevelopmentAspireUI Components

Archive for October, 2009

Oct 30 2009

Aspire UI: US$30 Halloween Discount!

Published by sunny under News

It’s Halloween! Over this weekend, GhostWire Studios is knocking US$30 off the Aspire UI components library.

Aspire UI Lite Edition
US$49 (usual price US$79)

Aspire UI Standard Edition
US$99 (usual price US$129)

http://ghostwire.com/go/buy


Aspire UI Components
Aspire UI is a library of Actionscript 3.0 (AS3) classes for building flexible and lightweight UI elements in Adobe Flash applications. Key features of the components include easy skinning using PNG image files, automatic tab focus ordering, CSS text styles, and layout management. This is a pure AS3 library with no dependency on the Flex framework.

You may experiment with the various features by downloading the trial version.

Cheers!

No responses yet

Oct 07 2009

[AS3] Truncating ByteArray Does Not Dispose Contents, Free Up Memory

Published by sunny under Flash,Flash AS3,Tips

When targeting Flash Player 10 or AIR 1.5, you can use the clear() method of the ByteArray class to explicitly clear the contents of the byte array and free up the memory otherwise used by the bytes. The length and position properties are reset to zero after calling the clear() method.

Unfortunately, when targeting Flash Player 9, this clear() method is not available. If you are using a ByteArray object as a data store, keeping a reference to the object and therefore not allowing the object to be garbage collected, do take note that there is no way to clear the contents. This means that the size of ByteArray objects can only be enlarged and never shrunk.

It is important to note that while you can truncate the ByteArray to zero byte by setting its length property to zero, this will not dispose the contents or free up the memory used.

Continue Reading »

2 responses so far