how much you want?  :)  I've never tried extending Application.  Curious.
why would you need to do that?

interesting comment from Gordon at Adobe on flexcoders about extending
Application:

Sorry, although we've made it easy to write components in either MXML or
AS3, we haven't done the same with Application. If you are a newbie you
should start out with <mx:Application> in MXML. You can then use AS3 for all
your components if you really want to. I hope we can make this better in a
future release.



What's going on is that when the MXML compiler compiles an <mx:Application>
it autogenerates code to set up a lot of stuff such as the default CSS type
selectors that various components like Button depend on. These aren't
getting set up when you simply extend Application as an AS3 class. When
Button calls getStyle() to find out what it's skin class should be, it's
getting a null Clas reference.



Once you are no longer a newbie, you can use mxmlc's
-keep-generated-actionscript option to see all the generated code, and set
this stuff up yourself it you insist. But I really don't understand why some
developers like AS3 so much better tham MXML. Would you write a web app all
in JS and no HTML?


DK


On Fri, Mar 28, 2008 at 10:40 AM, Sydney R. Bennett <[EMAIL PROTECTED]>
wrote:

> Hey Everyone,
>
> I found a bug and I submitted it to Adobe, please go vote for it so they
> will fix it!  I don't know of a workaround so I'm kinda dead in the water at
> this point:
>
> http://bugs.adobe.com/jira/browse/SDK-15107
>
> Thanks
> Sydney
>
> ------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search.<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to