[flexcoders] Help Required : Flex3 - Controls appearing disabled

2012-06-28 Thread Asad Zaidi
Hi guys,
 
hope everyone is fine. Guys i m having a very strange issue which i have never 
seen in my 3 years of flex development. 
The problem is that i have developed a screen and delivered it to client but 
there are some controls that are appearing disabled in clients enviroment while 
these are working fine in my dev enviroment. Code and Db are same in both 
enviroments. Also by disabled i mean controls are not accessible using mouse 
but one can access them using keyboard. There are plenty of controls on that 
screen but only three of them (combobox and two check boxes) are appearing 
disabled. 
 
my dev enviroment is windows based while client's is Linux based, can this be 
issue? 
please help.
 
 
 
Thanks,
Zaidi. 

Re: [flexcoders] Resize and Scale Window Content

2011-12-27 Thread Asad Zaidi
you can acheive it using Grid control also. depends upon your requirement.
 
Zaidi



From: claudiu ursica the_bran...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, December 27, 2011 3:28 AM
Subject: Re: [flexcoders] Resize and Scale Window Content


  
In theory yes, by using percent width and height for components, in practice 
how much works out of the box depeds on every particular case.

C




From: hkondylk kondy...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Monday, December 26, 2011 5:35 PM
Subject: [flexcoders] Resize and Scale Window Content


  
Hello, 

I want to be able to resize my Window and the content to scale as the window 
resizes. Is this possible or do you have an example?

THanks in advnace.






Re: [flexcoders] Re: Red error borders on form items before form is validated

2011-11-29 Thread Asad Zaidi
validation is done on focus out it is conformed. I think u can use 
myField.errorString =;
 
Asad



From: dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 29, 2011 5:17 AM
Subject: Re: [flexcoders] Re: Red error borders on form items before form is 
validated


  
It seems to be the case that it's validating on focus out. I realize I need to 
come up with a test case to see if this is the default behavior or something 
causing it in my project. 


On Tue, Nov 22, 2011 at 1:56 AM, Asad Zaidi asadzaid...@yahoo.com wrote:

  
this occurs due to validation errors. in ur case i think while rendering it 
focus in ur component and on focus out it validates ur component. i havent 
tried it but i think u can use initialize property of the component to stop 
validation at initialization process. Or u can assign the validator to that 
component after all components have been rendered.
i will try to find out more and will let u know.
 
Asad.


From: michael_reg...@dell.com michael_reg...@dell.com
To: flexcoders@yahoogroups.com 
Sent: Monday, November 21, 2011 7:41 PM
Subject: RE: [flexcoders] Re: Red error borders on form items before form is 
validated



  
Can you give an example of how you’ve written your validator?  I’m suspecting 
it is on how you defined the trigger.
 
Michael J. Regert
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Khanh
Sent: Thursday, November 17, 2011 4:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Red error borders on form items before form is 
validated

  
It's a focus border.
Usually, it's blue. I'm not sure how it's red in your case!
You can change the color following this example.
Thanks to Peter Dehaan for his great tip.
http://blog.flexexamples.com/2008/04/12/changing-the-focus-rectangle-color-on-a-textinput-control-in-flex/

OR you can hide this by using the property: focusAlpha
mx:TextInput id=txtInput focusAlpha=0/

Good luck.

--- In flexcoders@yahoogroups.com, dorkie dork from dorktown 
dorkiedorkfromdorktown@... wrote:

 When I display my Form elements (TextInput, Combox, etc) the red error
 border is shown right away before the user even types into it. Why is this
 happening? How can I prevent it from showing a red error border when it's
 first displayed?






Re: [flexcoders] Re: Red error borders on form items before form is validated

2011-11-22 Thread Asad Zaidi
this occurs due to validation errors. in ur case i think while rendering it 
focus in ur component and on focus out it validates ur component. i havent 
tried it but i think u can use initialize property of the component to stop 
validation at initialization process. Or u can assign the validator to that 
component after all components have been rendered.
i will try to find out more and will let u know.
 
Asad.



From: michael_reg...@dell.com michael_reg...@dell.com
To: flexcoders@yahoogroups.com 
Sent: Monday, November 21, 2011 7:41 PM
Subject: RE: [flexcoders] Re: Red error borders on form items before form is 
validated


  
Can you give an example of how you’ve written your validator?  I’m suspecting 
it is on how you defined the trigger.
 
Michael J. Regert
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Khanh
Sent: Thursday, November 17, 2011 4:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Red error borders on form items before form is 
validated
 
  
It's a focus border.
Usually, it's blue. I'm not sure how it's red in your case!
You can change the color following this example.
Thanks to Peter Dehaan for his great tip.
http://blog.flexexamples.com/2008/04/12/changing-the-focus-rectangle-color-on-a-textinput-control-in-flex/

OR you can hide this by using the property: focusAlpha
mx:TextInput id=txtInput focusAlpha=0/

Good luck.

--- In flexcoders@yahoogroups.com, dorkie dork from dorktown 
dorkiedorkfromdorktown@... wrote:

 When I display my Form elements (TextInput, Combox, etc) the red error
 border is shown right away before the user even types into it. Why is this
 happening? How can I prevent it from showing a red error border when it's
 first displayed?



[flexcoders] binding controls with Xml in flex

2011-10-10 Thread Asad Zaidi
hello every body,
i need to bind Xml with my flex controls. by binding i mean that data should 
flow in both directions, from xml to control and also control to xml. for e.g 
there is textinput binded with xml tag. i want value of xml should be displayed 
in text input but if user changes the value and submitt form then value in xml 
should get update automatically. But i am unable to get 2nd scenario. kindly 
help me its very urgent. 

thnks in advance.

Zaidi.