I think the kay for me is

The TextInput skin for the mobile theme uses the StyleableStageText class
instead of RichEditableText



I will drop TextInut and change to StyleableStageText class,  I got it
wiring with RichEditableText

Thanks


On 2/11/14, 10:58 PM, "Mark Kessler" <[email protected]> wrote:

>Styles will allow you to change the contentBackgroundColor or the
>focusAlpha
>[1].<http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/sp
>ark/components/supportClasses/SkinnableTextBase.html#style:contentBackgrou
>ndColor>
>
>[1]
>http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/c
>omponents/TextInput.html#sparkstyleSummary
>
>-Mark
>
>
>On Tue, Feb 11, 2014 at 4:28 PM, Scott Matheson
><[email protected]>wrote:
>
>> Hi
>>    i have be struggling with a few questions  to do with textInput
>>
>> how do i colour the back ground
>> how to i remove the blue line round the input when the box has focus
>> how to i set the courser to a position
>>
>>
>> <s:RichEditableText id="activityinput" width="772" height="28"
>>
>> ligatureLevel="minimum"
>>
>> styleName="WordsEnabled" verticalCenter="0"
>>
>> backgroundColor="{_u.user.workAreaColour}"/>
>>
>>
>> the above works, but the docs say you should not user RichEditableText
>>is
>> you want to create module apps (which i do later)
>>
>>
>> so i tried
>>
>>
>> <s:textInput/> but can not  set the background colour
>>
>>
>>
>> activityinput.setFocus()    set the focus but not at say position 10
>>
>>
>>
>> and the nice blue box round the outside, how do i get ride of that ?
>>
>>
>>
>>
>>
>>
>> ________________________________
>>
>> Disclaimer: This electronic mail and any attachments are confidential
>>and
>> may be privileged. If you are not the intended recipient, please notify
>>the
>> sender immediately by replying to this email, and destroy all copies of
>> this email and any attachments. Thank you.
>>


________________________________

Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.

Reply via email to