Here is a little example... watch the control walk the walk
while you are typing... <?xml
version="1.0" encoding="utf-8"?> <mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"> <mx:Script> <![CDATA[ import
flash.events.Event; public
function myChangeHandler (e:Event) : void { e.currentTarget.x
+=10; } ]]> </mx:Script> <mx:TextInput
x="27" y="27" text=""
change="myChangeHandler(event)"/> </mx:Application> From: Suppose I have the following MXML declaration: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] refering to an MXML element in an event ha... Iko Knyphausen
- RE: [flexcoders] refering to an MXML element in an eve... Iko Knyphausen