incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Arno <da...@davidarno.org>
Subject Re: [Discussion] Flex 5 and non-SWF targets: Skinning
Date Sat, 04 Feb 2012 23:47:32 GMT
On Sat, 2012-02-04 at 15:22 -0800, Omar Gonzalez wrote:
> What you are proposing doesn't get you around the fact that you still have
> to parse the component classes into language a target platform understands.
> In other words, you can't just pawn rendering to a new target, such as the
> JavaScript engine, by simply expecting Spark skin classes to create DOM
> objects because the underlying component class would also have to run in
> the JS engine.
I wasn't suggesting Spark skin classes create DOM objects. I was
proposing we write JavaScript replacements to Skin classes that would be
used instead. I agree that the component classes themselves would need
to be compiled to JavaScript. We therefore have two challenges:
1. Ensuring that our compiler can convert ActionScript to efficient,
concise JavaScript.
2. Writing "HTML5" replacements to the component skin classes.

David.



Mime
View raw message