[flexcoders] Implementation of UITextField

2006-02-02 Thread Teoti Graphix
Hello, I totally understand why Adobe uses this component. Now, the only question I have that maybe someone from Adobe could answer is, how is this component implementing it's styles. Setting styleName, and even using setStyle() on the label does nothing and if you use getUITextFormat(), it

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Manish Jethani
On 2/2/06, Teoti Graphix [EMAIL PROTECTED] wrote: Setting styleName, and even using setStyle() on the label does nothing and if you use getUITextFormat(), it returns an object like you have not set any styles. Both work! ?xml version=1.0? mx:Application

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Teoti Graphix
Hi Manish, I think you misunderstand, I am not using the Label, I am making a custom composite component. I think if I post code it will confuse so, consider this; I want to create a border class that creates a Label(UITextFiled), and positions the label. Now, I know I can't use RectBorder

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Manish Jethani
On 2/2/06, Teoti Graphix [EMAIL PROTECTED] wrote: I want to create a border class that creates a Label(UITextFiled), and positions the label. Now, I know I can't use RectBorder because it is not a DisplayObjectContainer, so it cannot have children. I see skin sprite is, so that is what I

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Teoti Graphix
I'm glad you wrote that script, it is what I am using. In SkinSprite. For me it dosn't work, I will try again and post code if it still dosn't work. Thanks, MikeOn 2/2/06, Manish Jethani [EMAIL PROTECTED] wrote: On 2/2/06, Teoti Graphix [EMAIL PROTECTED] wrote: I want to create a

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Teoti Graphix
BTW, Do you have to inherit UIComponent ?. See I thought by inheriting SkinSprite, something that can have children and implements Flex style interface, IE setStyle() MikeOn 2/2/06, Teoti Graphix [EMAIL PROTECTED] wrote: I'm glad you wrote that script, it is what I am using. In SkinSprite.

Re: [flexcoders] Implementation of UITextField

2006-02-02 Thread Manish Jethani
On 2/3/06, Teoti Graphix [EMAIL PROTECTED] wrote: Do you have to inherit UIComponent ?. See I thought by inheriting SkinSprite, something that can have children and implements Flex style interface, IE setStyle() setStyle is not available in SkinSprite. Depends what you're trying to do.