On 7/29/16, 3:41 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>Okay. I just implemented WrappedShape, WrappedSimpleButton, WrappedSprite
>and WrappedTextField. I hope that helps you.
>
>I did not implement a createElement method because I did not see the
>point. On the HTML side there’s code that’s specific to a lot of
>different individual elements, but on the Flash side it’s really simple.

Well, on the SWF side there is current CSSShape, UIBase, UIButtonBase,
StyleableCSSTextField, maybe others.  With this change, these four classes
can theoretically be collapsed into one (UIBase) where createElement
creates the Shape, Sprite, Button, TextField, whatever.  Then the
lifecycle would be much more similar to the JS-side (or so I think).

-Alex

Reply via email to