@yahoogroups.com
Subject: RE: [flexcoders] AS Array
vs. MXML Array
Oops, that won’t work at all L I am not sure if
this will work either, but it doesn’t throw any compiler errors (but
neither did the wrong one…) . There are other ways also depending
on what you are trying to do. Are you trying to avoid
@yahoogroups.com
Subject: Re: [flexcoders] AS Array
vs. MXML Array
Hehe..
And would this work?
var theLabel:String = "d4";
var theData:Number = 4;
var theBoolean:Boolean = true;
And if it doesn't work, does that mean that Flex a
Subject: Re: [flexcoders] AS Array
vs. MXML Array
So why does adding the node give a compiler error?
Thijs
Op 17-jun-2005, om 22:45 heeft Abdul Qabiz het volgende geschreven:
[snip]
d4
d4
d4
[/snip
There's been a long thread about the MXML representation of this.
But I want to point out that, in ActionScript, all those pushes are
inefficient. You should just write
var type_array:Array =
[
{ label: "d4", data: 4 },
{ label: "d6", data: 6 },
...
];
- Gordon
-Original Message
Trying to avoid AS, hehe!
- Original Message -
From: Mercer, Dustin
To: flexcoders@yahoogroups.com
Sent: Friday, June 17, 2005 4:39 PM
Subject: RE: [flexcoders] AS Array vs. MXML Array
Oops, that won?t work
at all L I am not sure if
this will work either, but it doesn?t
oders@yahoogroups.comSubject: RE: [flexcoders] AS Array vs. MXML
Array
Oops, that won’t work
at all L I am not sure if
this will work either, but it doesn’t throw any compiler errors (but neither did
the wrong one…) . There are other ways also depending on what you are
trying to do. Ar
}
}
Add xmlns="*"
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Friday, June 17, 2005 1:36
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS Array
vs. MXML Array
You c
options?
d4
4
true
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin
Sent: Friday, June 17, 2005 1:33
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] AS Array
vs. MXML Array
You may want to
ginal Message -
From: Mercer, Dustin
To: flexcoders@yahoogroups.com
Sent: Friday, June 17, 2005 4:32 PM
Subject: RE: [flexcoders] AS Array vs. MXML Array
You may want to try
this instead. I didn?t test this, but I think I have used it
before.
d4
d4
igned value as
string without any further checks
my intelligent guess ;)
-abdul
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Thijs Triemstra |
CollabSent: Saturday, June 18, 2005 1:56 AMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] AS Array vs.
oders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Thijs Triemstra | CollabSent: Friday, June 17, 2005 1:26 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] AS Array vs. MXML Array Hehe.. And would this work? var theLabel:String = "d4";var theData:Number = 4;var theBoolean
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS Array
vs. MXML Array
Hehe..
And would this work?
var theLabel:String = "d4";
var theData:Number = 4;
var theBoolean:Boolean = true;
And if it doesn't work, does
tring J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Thijs Triemstra | CollabSent: Friday, June 17, 2005 1:06 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] AS Array vs. MXML Array What about the :Number and :String difference in his Array, aren't the label
Sent: Friday, June 17, 2005 1:06
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS Array
vs. MXML Array
What about the :Number and :String difference in his Array, aren't the
label and data properties both Strings now..?
Thijs
Op 17-jun-2005, om
That's flexible as all get out...
thanks!
- Original Message -
From: Matt
Chotin
To: flexcoders@yahoogroups.com
Sent: Friday, June 17, 2005 3:51 PM
Subject: RE: [flexcoders] AS Array vs. MXML Array
d4
4
Alternatively:
Matt
What about the :Number and :String difference in his Array, aren't the label and data properties both Strings now..?ThijsOp 17-jun-2005, om 21:51 heeft Matt Chotin het volgende geschreven: d4 4 Alternatively: Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] O
d4
4
Alternatively:
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Friday, June 17, 2005 12:44
PM
To: Flexcoders
Subject: [flexcoders] AS Array vs.
MXML Array
How do you get fi
17 matches
Mail list logo