|
Yes, it's possible. All MXML files simply
get turned into AS3 classes and then compiled. If you turn on the <keep-generated-actionscript>
option in flex-config.xml, you can see what these classes look like. If you do this, however, you'll see that
the MXML compiler autogenerates a lot of non-obvious stuff, some of which is
required for the components to run properly. For example, when you compile an
<mx:Application> it generates setup code for a bunch of
CSSStyelDeclaration instances that represent the CSS styles. If these CSSStyleDeclarations
aren't properly set up, most Flex components will probably generate runtime
errors when they try to call getStyle(). So my advice is to at least use
<mx:Application>. But then it is quite easy to write only AS components
instead of MXML components. - Gordon From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of aaron smith I have
been dabbling lately with creating pure AS3 projects. ( http://www.senocula -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] AS3 Question Gordon Smith
- Re: [flexcoders] AS3 Question aaron smith
- RE: [flexcoders] AS3 Question Gordon Smith
- Re: [flexcoders] AS3 Question aaron smith
- Re: [flexcoders] AS3 Question aaron smith
- Re: [flexcoders] AS3 Question Michael Schmalle
- Re: [flexcoders] AS3 Question Michael Schmalle
- [flexcoders] Re: AS3 Question Tim Hoff
- [flexcoders] Re: AS3 Question Geoffrey Williams
- RE: [flexcoders] AS3 Question Gordon Smith
- RE: [flexcoders] Chart error when mouse rol... Joshua Lingwai

