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:
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.
;)
___
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
___
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
- 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
- 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
: 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
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
___
.
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
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
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.
___
- 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
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
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
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
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
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
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) {
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:
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);
/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
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);
@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
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
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
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
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
27 matches
Mail list logo