July 25th, 2007

AsWing GuiBuilder

aswing guibuilder

AsWing GuiBuilder is a WYSWYG IDE tool for creating user interface of AsWing, urticaria it let you manage the layout, page component properties directly on the IDE, and then generate well formated actionscript class source file to you.

2007.9.28 : AsWing GuiBuilder 1.0 beta, include Features:
Most standard component support.
Most standard properties of components support, include Layout, Border, Font, Color etc.
Open or Save UI file.
Generate well formated ActionScript3 class file of the UI.

2007.11.14 : AsWing GuiBuilder 1.0, include new Features:
Very fast performance than beta version
LookAndFeel runtime switching.
Workspace path set at first run.
Save notice when exit/close.
Generate selected node of the UI to ActionScript3 class code.

2008.7.24 : AsWing GuiBuilder 1.4.2, include new Features:
Drag scale/move/select component functionity
Support embedFonts, antiAlias, gridType etc properties
More components supported, GridList, JList default items.
haXe code generation supported.

Download it at :
Try the online version :



2007.7.25 : AsPngEncoder 1.0 released, include Features: True color 32-bit with alpha encoder, 24-bit opaque encoder, two trategies of 8-bit any color number indexed encoder(opaque/alpha).


Because of true color encoding generate large size file, some times you maybe need a low quality picture but small size, then you need 8-bit color.

From searching and reading a lot of documents/articles, finally i wrote one, the arithmetic is not complex, but optimize the speed took much of my time, now it is 16 times fater than my original implementation, also it need about 1000ms to encode a 800*600 image to 8-bit indexed color, with ture color, it only need about 300 ms on my machine.

You can download the newest version here:

And you can play with this demo test : Lunch Demo it need newest version of AIR runtime.


Here is some screenshot of the demo:

as png encoder

as png encoder 2

Feedback are welcome.

  • Comments(9)

9 Responses to “Labs”

  1. […] AsPngEncoder […]

  2. bokelgon 25 Mar 2008 at 4:07 am

    share demo ?

  3. Daveon 03 Jun 2008 at 12:42 pm

    excellent job! it’s good to see someone create an 8bit png encoder, and it works great!

  4. cxhon 03 Dec 2008 at 1:18 am

    aswing在flash cs4中运行报错:
    TypeError: Error #1007: 尝试实例化的函数不是构造函数。
    at org.aswing::KeyboardManager()
    at org.aswing::KeyboardManager$/getInstance()
    at org.aswing::AsWingManager$/initStage()
    at org.aswing::AsWingManager$/setRoot()
    at org.aswing::AsWingManager$/initAsStandard()
    at HelloAsWing()

  5. iileyon 03 Dec 2008 at 6:49 am

    估计是与flash 10 sdk的兼容问题,你试试svn上的版本。

  6. David Parkson 20 Jun 2009 at 8:33 pm

    Your online version of the GUI builder doesn’t load (web page almost looks like it was hacked).

    Take a look at the link.

  7. iileyon 21 Jun 2009 at 9:24 am

    Thanks for told me that, it is fixed now.

  8. pokeron 27 Jun 2009 at 4:57 pm

    GUIBuilder is a very good tool,but there are some bugs. example:

    1. I can’t implement layout that insert a textfield to a formrow and change size.
    2. I change textfield size and position, but the layout is terrible when i add code to my project.

    so, I want to fix these bugs.

  9. iileyon 29 Jun 2009 at 1:20 am

    1. Formrow will follow the biggest width component of the row, you may need to click “revalidate” button to refresh it, specified the column property of JTextField to make it expand.
    2. If you need to manuall control the size and position, you need to set EmptyLayout to the container.
    That’s features, not bugs. :)

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.