Re: [Flashcoders] XML loading and parsing problem

2007-07-10 Thread Steven Sacks
It's completely wrong to insist that you have to use a delegate in all situations. Delegate is teh bomb dot com. If u don't use it, ur n00b. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] XML loading and parsing problem

2007-07-10 Thread Omar Fouad
haha i use it :D but never when loading xml... On 7/10/07, Steven Sacks [EMAIL PROTECTED] wrote: It's completely wrong to insist that you have to use a delegate in all situations. Delegate is teh bomb dot com. If u don't use it, ur n00b. ;) ___

RE: [Flashcoders] XML loading and parsing problem

2007-07-10 Thread Merrill, Jason
Delegate is teh bomb dot com. If u don't use it, ur n00b. Or you're using the current version of Actionscript, AS3. :) Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___

Re: [Flashcoders] XML loading and parsing problem

2007-07-09 Thread Omar Fouad
hey thanks folks!!! On 7/9/07, Muzak [EMAIL PROTECTED] wrote: Damn, my secret's out :( - Original Message - From: Jesse Graupmann [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, July 09, 2007 1:36 AM Subject: RE: [Flashcoders] XML loading and parsing problem

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Omar Fouad [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:07 AM Subject: Re: [Flashcoders] XML loading and parsing problem YESS! thanks DUDE actually it worked without delegate, when i added ignore white...:D

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:55 AM Subject: Re: [Flashcoders] XML loading and parsing problem 3 people posting similar (allmost identical) examples, all using Delegate should give you a clue

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
: Paul Andrews [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 5:10 PM Subject: Re: [Flashcoders] XML loading and parsing problem - Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:55 AM

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread T. Michael Keesey
On 7/8/07, Paul Andrews [EMAIL PROTECTED] wrote: It's completely wrong to insist that you have to use a delegate in all situations. True--another case where you don't need them is when using static functions. -- Mike Keesey ___

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
. regards, Muzak - Original Message - From: Paul Andrews [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 6:32 PM Subject: Re: [Flashcoders] XML loading and parsing problem OK, my comment about 'this' isn't completely right, but I am certainly right about

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
I never said you have to use a delegate in all situations. - Original Message - From: T. Michael Keesey [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 6:16 PM Subject: Re: [Flashcoders] XML loading and parsing problem On 7/8/07, Paul Andrews

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Claus Wahlers
Using Delegate is just one of those best practices and should be used at all times, even if it kinda works without. +1 Also, Omar *might* want to refactor his code later. Using Delegate he likely won't run into any trouble. Cheers, Claus. ___

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Paul Andrews
- Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 6:22 PM Subject: Re: [Flashcoders] XML loading and parsing problem OK, my comment about 'this' isn't completely right, but I am certainly right about the use

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] XML loading and parsing problem Best practice, fine. Only practice, no. regards, Muzak Paul ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] XML loading and parsing problem The OP was reporting a problem and many people seemed to suggest that Delegate was going to help solve the problem, something that was entirely erroneous. I mentioned Delegate in response

Re: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Muzak
Damn, my secret's out :( - Original Message - From: Jesse Graupmann [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, July 09, 2007 1:36 AM Subject: RE: [Flashcoders] XML loading and parsing problem Muzak, we all know you bought stock in Delegate back in the day

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Muzak
coughmx.utils.Delegate/cough - Original Message - From: Fruber Malcome [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Saturday, July 07, 2007 11:28 PM Subject: [Flashcoders] XML loading and parsing problem The primary thing to remember is scope. The onLoad function is

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Omar Fouad
Fruber, i am actually doing a simple gallery that loads pics from an XML file... in as1 as in the project is not that complicated... that's right by the way i found out the problem was the scope.. i'll try it and i'll tell you.. Muzak... why Delegate?? -- Omar M. Fouad - Digital Emotions

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Omar Fouad
Fruber this code is still not working.. :( var xmlData:XML = new XML(); xmlData.onLoad = function (success) { if(success) { trace(xml Loaded); proceed(this); }else{ trace(xml Not Loaded); } } xmlData.load(gallery.xml); proceed = function (gallery:XML) {

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Omar Fouad
i meant trace(totalPics); :P -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net +2010 - 2346633 - +2012 - 261 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Claus Wahlers
import mx.utils.Delegate; var xmlData:XML = new XML(); xmlData.ignoreWhite = true; xmlData.onLoad = Delegate.create(this, onLoadXML); xmlData.load(gallery.xml); function onLoadXML(success) { if(success) { trace(xml Loaded); proceed(); } else { trace(xml Not Loaded);

RE: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Jesse Graupmann
/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad Sent: Saturday, July 07, 2007 4:45 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] XML loading and parsing problem something else missing

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Omar Fouad
YESS! thanks DUDE actually it worked without delegate, when i added ignore white...:D On 7/8/07, Claus Wahlers [EMAIL PROTECTED] wrote: import mx.utils.Delegate; var xmlData:XML = new XML(); xmlData.ignoreWhite = true; xmlData.onLoad = Delegate.create(this, onLoadXML);

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Muzak
@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 1:44 AM Subject: Re: [Flashcoders] XML loading and parsing problem Fruber this code is still not working.. :( var xmlData:XML = new XML(); xmlData.onLoad = function (success) { if(success) { trace(xml Loaded); proceed(this); }else

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Muzak
3 people posting similar (allmost identical) examples, all using Delegate should give you a clue ;-) - Original Message - From: Omar Fouad [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, July 08, 2007 2:07 AM Subject: Re: [Flashcoders] XML loading and parsing

Re: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Omar Fouad
Subject: Re: [Flashcoders] XML loading and parsing problem YESS! thanks DUDE actually it worked without delegate, when i added ignore white...:D ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

RE: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Fruber Malcome
solution. Thanks - Fruber -Original Message- From: Muzak [mailto:[EMAIL PROTECTED] Sent: Saturday, July 07, 2007 2:53 PM To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] XML loading and parsing problem coughmx.utils.Delegate/cough - Original

RE: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Fruber Malcome
PROTECTED]; flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] XML loading and parsing problem coughmx.utils.Delegate/cough - Original Message - From: Fruber Malcome [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Saturday, July 07, 2007 11:28 PM Subject: [Flashcoders