Warning: include_once(/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/aswing/aswing.org/home/wp-settings.php on line 261

Warning: include_once(): Failed opening '/home/aswing/aswing.org/home/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/aswing/aswing.org/home/wp-settings.php on line 261
AsWing » Features


February 13th, 2007

What and How

AsWing A3 is powerful

  • 1. Well MVC structure, syringe for most components, date is stored and managed with model interface/class, skin is painted by UI class, interative is managed by UI class, and UI class is managed by LookAndFeel class. It’s light coupled.
  • 2. More than 40 components is developed, include complex component like JTree, JTable and JColorChooser.
  • 3. Keyboard navigating, shortcut key is well supported.
  • 4. AsWing A3 is not pure ported AsWing A2, it was redesigned, include core paint system, LookAndFeel system, focus, cursor, event are all improved.

AsWing A3 is flexible:

  • 1. The framework is build with pure ActionScript classes, so you can compile it with both Flex compiler and Flash CS3 compiler.
  • 2. You can add any DisplayObject to any AsWing component simply with addChild method. (you can’t do this for flex components)
  • 3. You can add any AsWing component to any DisplayObjectContainer, for example, your game UI is constructed by pure Flash Way(i mean the UI is created by Flash Authoring Tool, it is a regular MovieClips), you can locate a JTree in your game UI simple with addChild(theTree). (in my test, we can’t do this with flex components)
  • 4. You can custom the Skins by easy way with SkinBuilderLAF project, edit the images or the the fla file and then compile.
  • 5. You can changed the skin at runtime, you can apply a skin to a single component to make it different from others.
  • 5. You can wrap a SimpleButton created by Flash Authoring Tool to be skin for a button simply with JButton.wrapSimpleButton(theSimpleButton), same to JToggleButton, JCheckBox etc.

AsWing A3 is stable

  • 1. AsWing have been in developing since 2005, about 3 years developing, it now is more and more stable.
  • 2. Commercial companies choose AsWing, at the showcase page, you can see some of their products.
  • 3. There’s developers use AsWing every day, for the flexible of Open Source, we fix bugs, improve features any time if we received feedbacks from our mail list. We are improving AsWing every day.


When AsWing A3 is better suit for you?(compare to flex UI framework)

  • You are developing a game UI(mean you may want to manage assets super easily/freely with component, like add a asset into JButton, or add a JList to your IDE created panel.
  • Your application will only can compiled with Flash CS3(AsWing A3 can be compiled by both Flash and Flex compiler).
  • You don’t want to code in MXML.
  • You are familar with java Swing(you’ll be able to use AsWing easily with a short learning time).
  • You are developing a application which UI’s is very dynamic, runtime create, destroy, change skin, layout components.
  • You need a stable framework and feedback/bugfix from the authors should be quickly in hours.
  • You don’t like flex UI framework, but you do need a powerful UI framework.

When AsWing A3 is not suit for you?(compare to any thing)

  • This is not a case : “You don’t like Swing”, because AsWing does not have to be compatible with AWT, it is light-weight, so the core is different.
  • You don’t like AsWing after you used it deeply.
  • You like other UI frameworks, and they are enough for your use.
  • You hate open source projects :P.
  • You don’t really need UI frameworks.
  • Comments(15)

15 Responses to “Features”

  1. Jimon 09 Jul 2007 at 4:15 am

    Hi. I’ve just downloaded the latest AS2 release of AsWing and copied the code from a couple of tutorials to get a feel for how the framework works….. but have encountered problems.

    I am recieving this error…..

    AsWing\src\org\aswing\util\Vector.as: Line 109: The implementation of the interface method doesn’t match its definition.
    public function removeAt(index:Number){

    This has occured in each of the tutorials i have tried.

    I have serached the code and tracked down the problem…. but if i correct it, it throws out more “implementation of the interface method doesn’t match….” errors.

    Is this a problem with the release i have dl’d? I assume that there is a working release out ther somewhere as i have heard that this is an excellent framework.

    Could someone please advise me on how to solve this problem please.


  2. iileyon 09 Jul 2007 at 5:38 am

    Hi Jim,

    Are you using MTASC or MMC to compile the AsWing projects? I just check that from the lastest version on SVN, it does not have that problem.

    AsWing A2 is just compilable with MTASC.

  3. Jimon 09 Jul 2007 at 6:12 am

    thanks for the (amazingly) quick reply iiley.I didn’t realize that AsWing is only MTASC. So it’s not compilable from within the Flash IDE?

    Thanks again. This might explain my problems :)


  4. Jimon 09 Jul 2007 at 6:17 am

    thanks for the (amazingly) quick reply iiley.I didn’t realize that AsWing is only MTASC. So it’s not compilable from within the Flash IDE?

    Thanks again. This might explain my problems! Looks like i’ll actually have to learn how to use MTASC :)


  5. iileyon 09 Jul 2007 at 6:41 am

    Yes, AsWing A2 can’t be compiled by Flash IDE compiler. (AsWing A3 can be compiled both with Flex compiler and Flash CS3 compiler)

    So, if you are targeting AS2, you should use MTASC. :)

    BTW(There’s some issue of the wordpress blog comment system, a reply will not show immediately than a moment later)

  6. iileyon 09 Jul 2007 at 6:43 am

    BTW: There’s some tutorials about use some IDEs with MTASC above, you can see them. :)

  7. Jimon 13 Jul 2007 at 3:49 am

    first of all, apologies for the double post.

    using MTASC has solved the problems i was having thankyou. it looks like i’ll have to follow the tutorials carefully as i would really love to make the most of AsWing.

    Thankyou again,


  8. Nisim Josephon 26 Aug 2007 at 1:26 pm

    does aswing support Right to Left fonts as Hebrew.
    if not, does it support it in the future ?

  9. iileyon 26 Aug 2007 at 5:29 pm

    Hi Nisim, currently there is not any special operation on fonts in AsWing, so it should works as same as normal Flash fonts.

    But btw, can you tell me more info about right to left fonts Nisim, is it a operation system font or a align strategy in application(i mean, does it mean that we should code some class to do it, or it will be automatically done with a font file)? I think we’ll definitely consider this feature in future.

  10. Nisim Josephon 27 Aug 2007 at 1:28 am

    dear iiley,

    first of all, thank you for the quick answer.
    the point is as following: when you write to flex/flash component in RTL (right to left) languages it need to read the string and set it up from right to left, but if you put english inside the RTL string you get disassemble of the sentence that more the RTL to the left and the english to the right and the sentence is broke to non-reasonable sentence.
    if you use the xFonts (mirror font that look like a mirror and you need to horizontally switch them and the font is look fine) the english is looked reversed.
    i can send you demo of the font for you to look at.

    one more thing, i want to start work with the aswing framework. do you have any PDF with all the details to how to start working with it?

    thank you,

  11. Nisim Josephon 27 Aug 2007 at 2:15 am

    Hi iiley,

    just one more thing. because there are no support in RTL at flash the Hebrew and Arabic languages can’t use it in dynamic sites with the full flash support .
    i believe that if you will support in reading RTL fonts and show them correctly, more from the RTL languages will use the aswing framework.
    there is a need to read the fonts and set the text in the right order, full new component because you need to input text too.


  12. iileyon 27 Aug 2007 at 2:17 am

    Hi Nisim,

    I understand it a little now, send me a demo please.

    Cool that you will work with AsWing, there is no pdf yet, the tutorials and documents you can find at http://www.aswing.org/?page_id=5

    And if you need any help while developing, you can post to our mail list : https://lists.sourceforge.net/lists/listinfo/aswing-users


  13. Nisim Josephon 27 Aug 2007 at 8:58 am

    dear iiley,

    thank you on the answers and your patient.
    does the aswing has transitions and effect in the framework or i need to use the Flex effect ?
    do you have a quick way to create effect and transitions?
    to what email do you want me to send you the font or the demo ?

    10x (thanks),

  14. iileyon 27 Aug 2007 at 5:39 pm

    Hi Nisim,
    You are welcome. :)

    AsWing does not has build-in transitions and effect in the framework, but as normal display object, you can use Open Source Tween projects to do transitions and effect to AsWing component easily, for example Tweener, TweenLite projects. You can google them for some info, they are great tools.

    Yy email is iiley dot chen at gmail dot com.

  15. cxhon 03 Dec 2008 at 1:22 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()

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.