[flexcoders] Using Scale 9 in Flex css

2011-11-21 Thread ZIONIST
Hi guys i have a .png image that is 400 px by 250 px and would like to use it 
as a background image of a canvas in flex that is 840 px wide and 600 px high. 
when i set the image as a background image for the canvas and i set 
backgroundSize to 100%, the image stretches. How can i use 9-slice scaling to 
make it look good.  



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

2011-11-21 Thread michael_regert
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.commailto:flexcoders%40yahoogroups.com, dorkie 
dork from dorktown 
dorkiedorkfromdorktown@...mailto: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] Filter arraycollection with selected node

2011-11-21 Thread isa_loyer
Dear Flexer,

I have a tree with checkbox.
My tree has parent and children element.
I'd like to filter an arraycollection with consider only tree node selected.

Can you help me to do that.

Thank



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

2011-11-21 Thread DP
Actually, I'm sure he's talking about the required attribute creating a red 
border (not a focus border) because the field doesn't have a value in it just 
yet.

The Focus border is something entirely different.

--- In flexcoders@yahoogroups.com, Khanh khanh4all@... wrote:

 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] flash player vs Adobe AIR Runtime

2011-11-21 Thread rid_b80
Hi,

I'm just wondering if anyone know if flash player and Adobe AIR Runtime behaves 
differently. 

It' because the application load style externally, so the style is compiled 
with Flex SDK 4.5. 

The weird thing is I have online application compiled with Flex SDK 4.1 and 
Desktop application compiled with AIR with Flex SDK4.1 as well

For the desktop application it runs fine with the style compiled with Flex SDK 
4.5, but for online it gives me below error

ArgumentError: Error #1063: Argument count mismatch on 
mx.resources::ResourceManagerImpl/installCompiledResourceBundles(). Expected 3, 
got 4.

Anyone know why it's working with Adobe AIR Runtime but not with the Flash 
Player?

Thanks in advance

Antonius



[flexcoders] RE: I am my own boss!!

2011-11-21 Thread Adolfo Ruiz
pWhats upbrwhats up.brthis can be done with very little to no skill of 
any kindbra 
href=http://www.indiabnb.com/profile/93TimothySpencer/;http://www.indiabnb.com/profile/93TimothySpencer//abrsee
 you/p