[flexcoders] Access FormItem child

2009-05-22 Thread markgoldin_2000
If I have a FormItem like this:
?xml version=1.0 encoding=utf-8?
mx:FormItem xmlns:mx=http://www.adobe.com/2006/mxml; 
width=100% height=100% direction=horizontal
mx:TextInput id=username/  
mx:Button width=22 icon=@Embed(source='../assets/find.png') 
id=find 
/mx:Button
/mx:FormItem

then in another mxml fil where I am using that component:
userLookUp
/userLookUp

is there a way of accessing username via markup tags? Or it's only via AS?

Thanks



Re: [flexcoders] Access FormItem child

2009-05-22 Thread Bob Wohl
Actionscript.

On Fri, May 22, 2009 at 1:01 PM, markgoldin_2000
markgoldin_2...@yahoo.com wrote:


 If I have a FormItem like this:
 ?xml version=1.0 encoding=utf-8?
 mx:FormItem xmlns:mx=http://www.adobe.com/2006/mxml;
 width=100% height=100% direction=horizontal
 mx:TextInput id=username/
 mx:Button width=22 icon=@Embed(source='../assets/find.png') id=find
 /mx:Button
 /mx:FormItem

 then in another mxml fil where I am using that component:
 userLookUp
 /userLookUp

 is there a way of accessing username via markup tags? Or it's only via AS?

 Thanks