RE: [flexcoders] ambiguous reference error

2009-06-12 Thread Tracy Spratt
Which reference is ambiguous?

 

I would mistrust a variable named valid as being a system reserved word.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of [p e r c e p t i c o n]
Sent: Thursday, June 11, 2009 5:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ambiguous reference error

 






valid is not the same as enabled...i don't think...

 

 

On Thu, Jun 11, 2009 at 1:23 AM, Tom Chiverton tom.chiverton@
mailto:tom.chiver...@halliwells.com halliwells.com wrote:

 



On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote:
 mx:Button x=504 y=511 id=submitButton label=Continue
 click=Submit(); enabled={valid}/

So using
submitButton.valid 
is a work around ?

-- 
Helping to globally strategize error-free eligible professional products as 
part of the IT team of the year, '09 and '08









 


Tom Chiverton 
Developer 
Tel: +44 0161 618 5032 
Fax: +44 0161 618 5099 
 mailto:tom.chiver...@halliwells.com tom.chiver...@halliwells.com 
3 Hardman Square, Manchester, M3 3EB
 http://www.Halliwells.com www.Halliwells.com 

 





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
of members is available for inspection at the registered office together
with a list of those non members who are referred to as partners. We use the
word ?partner? to refer to a member of the LLP, or an employee or consultant
with equivalent standing and qualifications. Regulated by the Solicitors
Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged. If you are not the addressee you must
not read it and must not use any information contained in nor copy it nor
inform any person other than Halliwells LLP or the addressee of its
existence or contents. If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit  http://www.Halliwells.com
www.Halliwells.com. 

 

 





Re: [flexcoders] ambiguous reference error

2009-06-12 Thread [p e r c e p t i c o n]
Hi Tracy,that was a mistake, actually i called it 'isValid' like this

mx:Button x=504 y=511 id=submitButton
label=Continueclick=Submit(); enabled={isValid}/


is valid is a boolean that i declared in my code-behind

also

i noticed that when i put defaultButton in the root node of my mxml
component it does the same thing...

very confused


On Fri, Jun 12, 2009 at 8:42 AM, Tracy Spratt tr...@nts3rd.com wrote:



  Which reference is ambiguous?



 I would mistrust a variable named “valid” as being a system reserved word.



 Tracy Spratt,

 Lariat Services, development services available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *[p e r c e p t i c o n]
 *Sent:* Thursday, June 11, 2009 5:01 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] ambiguous reference error






  valid is not the same as enabled...i don't think...





 On Thu, Jun 11, 2009 at 1:23 AM, Tom Chiverton 
 tom.chiver...@halliwells.com wrote:





 On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote:
  mx:Button x=504 y=511 id=submitButton label=Continue
  click=Submit(); enabled={valid}/

 So using
 submitButton.valid
 is a work around ?

 --
 Helping to globally strategize error-free eligible professional products as

 part of the IT team of the year, '09 and '08



   *Tom Chiverton *
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com
 3 Hardman Square, Manchester, M3 3EB
 *www.Halliwells.com* http://www.Halliwells.com



 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit 
 *www.Halliwells.com*http://www.Halliwells.com.






  



Re: [flexcoders] ambiguous reference error

2009-06-11 Thread Tom Chiverton
On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote:
 mx:Button x=504 y=511 id=submitButton label=Continue
 click=Submit(); enabled={valid}/

So using
submitButton.valid 
is a work around ?

-- 
Helping to globally strategize error-free eligible professional products as 
part of the IT team of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

Re: [flexcoders] ambiguous reference error

2009-06-11 Thread [p e r c e p t i c o n]
valid is not the same as enabled...i don't think...


On Thu, Jun 11, 2009 at 1:23 AM, Tom Chiverton tom.chiver...@halliwells.com
 wrote:





 On Wednesday 10 Jun 2009, [p e r c e p t i c o n] wrote:
  mx:Button x=504 y=511 id=submitButton label=Continue
  click=Submit(); enabled={valid}/

 So using
 submitButton.valid
 is a work around ?

 --
 Helping to globally strategize error-free eligible professional products as

 part of the IT team of the year, '09 and '08


   Tom Chiverton
  Developer
  Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
  tom.chiver...@halliwells.com
  3 Hardman Square, Manchester, M3 3EB
  www.Halliwells.com

  

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.


  



[flexcoders] ambiguous reference error

2009-06-10 Thread [p e r c e p t i c o n]
Hi flex coders
i'm getting a strange error when i refer to a bound variable like thus...

mx:Button x=504 y=511 id=submitButton label=Continue
click=Submit(); enabled={valid}/

This is the mxml inside my mxml component and the variable is declared in
the code behind for the component...any reasons why i'm getting an ambiguous
reference error?
I even tried to refer to it this way -- com.xyz.valid

any help appreciated

percy klaasch