iiley May 29th, 2007
The answer is YES.
Here is a cool guy VKT did a reseach about make AsWing components works with Flex components. Here’s some demo made from him.
Here is the introduction word from him:
The way show you to use aswing within the flex effect.
1. you mush know the UIComponent，because this is very important to use flex effect first step.
2.to use flex effect , neurologist you mush set the effect target is flex UIComponent instead aswing Component.
3, surgery to my opptional,I Like use Canvas to the top container to contain the UIComponent which is the aswing’s container.
what would be the next?
yes,I like talk to you just like talk to myself,I want to use flex’s everything for aswing. althought this seem to be impossible by someguy.
Well, pretty cool, note, if you want to try this, you should have the newest AsWing A3 from svn(AsWingManager.initAsStandard(,,true)). Any question, you can contact VKT by sonygodx at gmail.com. (post to aswing list of course are welcome too)
Well, i want to say some thing, why this happens? AsWing is so flexible, at early time, there’s some buggy behavor with AsWing components works with Flex components, i improved RepaintManager very easy to make it works right.
Maybe AsWing is not heavy as Flex, does not have integrated MXML support, does not have more complex controls, but, you know, you are so easy to make AsWing component works in your application, your game, you are so easy to add any DisplayObject to any AsWing component, now, you even can add AsWing components works in a Flex container.
Here is my wonder, do we can add flex component works in AsWing contaners? do we can add any DisplayObject to flex component easily? do we can use flex component in pure AS3 way?
Now, it is solved, the compiler will not be crashed any more, well, how can we do that? Takayuki Yuda post a clue for us on AsWing List then i try to do it(just modify “if (cellRect != null)” to “if(cellRect)”), really, with warning flag, some warning come out instead of crash, then i fixed these warning sentences, and commited to svn, now the version on svn is ok for compile with warning flag.
But, why? Why this change will make compiler crash or not crash, they are both legit syntax in AS3 … Adobe maybe need to take a look at. :)
However, this is ok right now for AsWing A3.
Thanks Takayuki Yuda, cool!!!