: Sunday, December 02, 2007 12:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application without MXML: Is it possible?
I was already aware of that, but forgoing the use of UIComponents is not
really an option for me.
I don't see why the Flex team couldn't build a minimal
I had no idea that SimpleApplication existed; it's not in my Flex 2.01 api
docs. But then I looked in the source tree and indeed, there is an
mx.core.SimpleApplication class. But the source reveals that it's just an empty
subclass of MovieClip, so it can't be used in place of the Application
Subject: Re: [flexcoders] Application without MXML: Is it possible?
I looked at the generated actionscript and it does look like there's a
lot going on, and it's not worth trying to make it work without MXML. Maybe
I'll log a bug report requesting that they say in the API doc
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application without MXML: Is it possible?
I was already aware of that, but forgoing the use of UIComponents is not
really an option for me.
I don't see why the Flex team couldn't build a minimal set of defaults
into the Application class
I looked at the generated actionscript and it does look like there's a lot
going on, and it's not worth trying to make it work without MXML. Maybe I'll
log a bug report requesting that they say in the API doc that the Application
class can only (as a practical matter) be used via the
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Glasser
Sent: Saturday, December 01, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application without MXML: Is it possible?
I looked at the generated actionscript and it does look like there's a
lot going on, and it's
Try inheriting from SimpleApplication - you still will get all mixins for
css and static linkage for generated code, but less of the framework
initialization - you should be able to create screen and have controls
there. Of course, fewer things depending on the global managers will work
later on
I'm trying to create an Application in pure Actionscript, by subclassing
mx.core.Application, and when I run it I get:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
yeah the command line option for that is
-keep
or
-keep-generated-actionscript
I normally use -keep ... quicker to type :p
On Dec 1, 2007 3:30 AM, hank williams [EMAIL PROTECTED] wrote:
Is what I'm trying to do impossible, at least without adding some
amount of setup code that is
Is what I'm trying to do impossible, at least without adding some amount of
setup code that is normally generated by the MXML preprocessor and isn't
documented anywhere? __
As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I
10 matches
Mail list logo