@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clinton D. Judy
Sent: Thursday, January 31, 2008 10:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is defined?
In one interface, there's a checkbox that doesn't exist in the other
interface. They both
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, January 31, 2008 10:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is
defined?
Why is it undefined
Of yigit
Sent: Thursday, January 31, 2008 10:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How do I test if a variable is defined?
to test whether a variable exists or not
if(varName)
trace('exists');
else
trace('does not exist');
Clinton D. Judy wrote On 01/31/2008 05:34 PM
] On Behalf Of Clinton D. Judy
Sent: Thursday, January 31, 2008 10:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is
defined?
I get this: 1012: Variables of type CheckBox cannot be
undefined
to test whether a variable exists or not
if(varName)
trace('exists');
else
trace('does not exist');
Clinton D. Judy wrote On 01/31/2008 05:34 PM:
No other explanation needed, really. How do I see if an
object/variable exists before I test other conditions of it?
Unnecessary explanation: I
@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is defined?
Have you tried checking for myVar != undefined?
Jason Merrill
Bank of America
GTO LLD Solutions Design Development
eTools Multimedia
Bank of America Flash Platform Developer Community
Have you tried checking for myVar != undefined?
Jason Merrill
Bank of America
GTO LLD Solutions Design Development
eTools Multimedia
Bank of America Flash Platform Developer Community
From: flexcoders@yahoogroups.com
[mailto:[EMAIL
in the interface.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Merrill, Jason
Sent: Thursday, January 31, 2008 10:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is defined?
Why is it undefined in the first place?
Jason
10:45 AM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: Re: [flexcoders] How do I test if a variable is defined?
to test whether a variable exists or not
if(varName)
trace('exists');
else
trace('does not exist');
Clinton D. Judy wrote On 01/31/2008 05:34 PM
: Thursday, January 31, 2008 10:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do I test if a variable is defined?
What I mean is, why are you doing it this way? Two script files - you
mean each MXML app uses the same class definition? Why can't you define
the variable in both
On Thursday 31 Jan 2008, Clinton D. Judy wrote:
I just realized that I ran the test with the interface that DID have the
checkbox,
Why not have a flag to indicate weather the check box is to be created or not,
and reference that ?
Failing that, you can loop over rawChildren or something, at a
*To:* flexcoders@yahoogroups.com
*Subject:* RE: [flexcoders] How do I test if a variable is defined?
Why is it undefined in the first place?
Jason Merrill
*Bank of America *
GTO LLD Solutions Design Development
eTools Multimedia
*Bank of America Flash Platform Developer Community
These all seem like workarounds to me, if the UI is written in such a
way that it is that tightly coupled to the class, then you shouldn't be
trying to make the same class work with different interfaces/apps. I
know that isn't what you want to hear though.
Jason Merrill
Bank of America
GTO
On Thursday 31 Jan 2008, Merrill, Jason wrote:
These all seem like workarounds to me, if the UI is written in such a
way that it is that tightly coupled to the class, then you shouldn't be
trying to make the same class work with different interfaces/apps. I
know that isn't what you want to
for this.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, January 31, 2008 11:21 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How do I test if a variable is defined?
On Thursday 31 Jan 2008, Merrill, Jason wrote
15 matches
Mail list logo