Kjel: Indeed, it can be confusing at beginning to creat this Flash IDE <-> MTASC integration mindset. But it's really quite simple, with mtasc you can really only inject as2 classes into Flash IDE pre-compiled swf's.
I have a MVC framework for the application, but I am not sure how to add a listener if I can't resolve the scope
You need some kind of global proxy such as the Davies Grant SystemController for ARP (singleton), that's how I implemented this on my last project. However, I would really recommend you to take a look at PIXLIB. It has a great (if not the best) MVC approach for Flash 8< development. I'm sure you could easilly implement this with the ViewHelper class and still mainain the flexibility and scalability while adopting a good OOP MVC paradigm. Join the pixlib list and give it a try :) Marcelo. On 9/29/06, Muzak <[EMAIL PROTECTED]> wrote:
Yeah, alot of people seem to be confused about onLoadComplete and onLoadInit. If it was up to me, I'd just dump onLoadComplete :-) If you listen for both events, you'll notice onLoadComplete is triggered before onLoadInit. In short, forget about onLoadComplete and always use onLoadInit. Muzak ----- Original Message ----- From: "Glen Pike" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Friday, September 29, 2006 1:47 PM Subject: Re: [Flashcoders] Controlling a swf loaded into a movieclip > Aha, > > No, I had misinterpreted this as being called when the MovieClip loader initialised and was removing the MCL Listener when the > onLoadComplete function was called so I never saw any debug trace. (...Reads documentation...) :-[ > That makes it a lot simpler - Doh! (It is alright to say Doh! isn't it?) > > Cheers > > Glen > > Muzak wrote: >> Are you using MovieClipLoader.onLoadInit()? >> >> Muzak >> _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com