[flexcoders] Re: how to start with a dynamic actionscript class instead of mx:Application?

2008-02-14 Thread Brian
Well, here's one of the classes from their API doc. I think it's an example, but I tried calling this in my preloader attribute in mx:Application and it errored with a null error on the loaderInfo.addEventListener line. I tried to put my main mxml file in the MAIN_CLASS. The properties look to be

[flexcoders] Re: how to start with a dynamic actionscript class instead of mx:Application?

2008-02-14 Thread valdhor
Why not just extend application. --- In flexcoders@yahoogroups.com, Brian [EMAIL PROTECTED] wrote: I've created a game with Flex, and now I'm trying to integrate MochiAds with it. They give you a preloader to use, but most of their documentation is actionscript-centric and oriented toward

RE: [flexcoders] Re: how to start with a dynamic actionscript class instead of mx:Application?

2008-02-14 Thread Alex Harui
I'm not clear you can use this sequence to startup a Flex app. You might be able to wire it in as a replacement for a downloadProgressBar. You can make the main app dynamic by subclassing public dynamic class BrianApplication extends Application but I still don't think this is going