[Flashcoders] Scope issues within a class

2006-03-03 Thread Merrill, Jason
I'm attempting to write a class that loads multiple XML files and broadcasts (even just to the trace window for now) when all the files are completely loaded. I'm having some trouble with scope when within the onLoad event of the XML object. Maybe going about this the wrong way. See the comments

Re: [Flashcoders] Scope issues within a class

2006-03-03 Thread JesterXL
issues within a class I'm attempting to write a class that loads multiple XML files and broadcasts (even just to the trace window for now) when all the files are completely loaded. I'm having some trouble with scope when within the onLoad event of the XML object. Maybe going about this the wrong way

RE: [Flashcoders] Scope issues within a class

2006-03-03 Thread Merrill, Jason
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, March 03, 2006 5:59 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Scope issues within a class Yeah, use Delegate for the onLoad. yourXML.onLoad = Delegate.create

RE: [Flashcoders] Scope issues within a class

2006-03-03 Thread Merrill, Jason
Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, March 03, 2006 6:42 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scope issues within a class Yeah - thanks, but how to do that for multiple xml files and know when all