Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 12-24-2009, 11:14 PM   #1
FLEX Jokey
aktell's Avatar
Join Date: Jun 2007
Location: New Zealand
Posts: 154
Default Using TextInput boxes to change to small Caps lettering with NO ....

Using two TextInput boxes (fName and lName) which are writing at the same time over to a (fullName) Text box, BUT change the data in here automatically to 'small Caps' lettering with NO spaces.
I'm finding all sort of things but nothing close enough. Any help would be appreciated!
Thanks in advance aktell
aktell is offline   Reply With Quote
Old 12-25-2009, 01:35 AM   #2
FLEX Jokey
aktell's Avatar
Join Date: Jun 2007
Location: New Zealand
Posts: 154

I did get a reply and maybe somebody will be interested: The answer came from a person with the name 'Masamune' Thanks a lot!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
            protected function name_changeHandler(event:Event):void {
                var firstName:String = fName.text.toLowerCase();
                var lastName:String = lName.text.toLowerCase();
                fullName.text = firstName + lastName;
    <mx:Label x="156" y="74" text="first"/>
    <mx:TextInput x="199" y="72" id="fName" change="name_changeHandler(event)"/>
    <mx:Label x="156" y="104" text="last"/>
    <mx:TextInput x="199" y="102" id="lName" change="name_changeHandler(event)"/>
    <mx:Text x="199" y="132" text="Text" id="fullName"/>
aktell is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:15 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.