RE: [Flashcoders] OOP and XML

2009-11-20 Thread David Hunter
time. Date: Thu, 19 Nov 2009 13:13:59 -0500 From: jason.merr...@bankofamerica.com Subject: RE: [Flashcoders] OOP and XML To: flashcoders@chattyfig.figleaf.com David - here is a class I wrote which I use all the time for working with XML. It's a slightly different approach I prefer, where

[Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
hi, just started out trying OOP. I've done some little things but never a full site, so its my first time attempt using the document class. i made a working demo which creates buttons and loads an image from an array when you click one of the buttons, using a button class and a loader class.

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Henrik Andersson
Dispatch an event when the data is ready and have the main code listen for the event. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
@chattyfig.figleaf.com Subject: Re: [Flashcoders] OOP and XML Dispatch an event when the data is ready and have the main code listen for the event. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Gregory Boland
i'll have to look into it. i have posted my two classes on pastebin to look at: http://pastebin.com/m4ba8e745 cheers Date: Thu, 19 Nov 2009 13:58:45 +0100 From: he...@henke37.cjb.net To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] OOP and XML Dispatch an event when

RE: [Flashcoders] OOP and XML

2009-11-19 Thread David Hunter
2009 10:53:18 -0500 Subject: Re: [Flashcoders] OOP and XML From: breakfastcof...@gmail.com To: flashcoders@chattyfig.figleaf.com either way works... its a 6 of one half a dozen of another type situation so you could say dispatchEvent(Event.COMPLETE) from your XMLLoader class and put

Re: [Flashcoders] OOP and XML

2009-11-19 Thread Gregory Boland
://www.learningactionscript3.com/2008/11/11/passing-arguments-with-events/ cheers. Date: Thu, 19 Nov 2009 10:53:18 -0500 Subject: Re: [Flashcoders] OOP and XML From: breakfastcof...@gmail.com To: flashcoders@chattyfig.figleaf.com either way works... its a 6 of one half a dozen of another

RE: [Flashcoders] OOP and XML

2009-11-19 Thread Merrill, Jason
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter Sent: Thursday, November 19, 2009 11:51 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] OOP and XML thanks greg, and nice to know that either way