RE: [flexcoders] Application without MXML: Is it possible?

2007-12-03 Thread Dave Glasser
: 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

Re: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
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

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
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

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Gordon Smith
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

Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Dave Glasser
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

RE: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Alex Harui
@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

Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Anatole Tartakovsky
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

[flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread Dave Glasser
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

Re: [flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread Jerome Clarke
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

Re: [flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread hank williams
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