Hi 

I am creating form and i want to add the image to both sides of the 
form. At the formitem and at the form input(like textInput).

a)At the form label I have the sample code.I am using the icon 
property of the FormItem but it doesn't work. I am adding to icon to 
the "User Name" but the icon does not appear. Is this a bug

Any workaround?????

Thanks
ilikeflex.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
layout="absolute" width="100%" height="100%">
        

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"; width="100%" 
height="100%">
        <mx:Form width="100%" height="100%" indicatorGap="100">
                <mx:FormItem label="User Name" width="500" 
icon="@Embed('horizontalline.png')">
                        <mx:TextInput id="userName" width="200"/>
                </mx:FormItem>
                <mx:FormItem label="First Name" width="500">
                        <mx:TextInput width="200"/>
                </mx:FormItem>
                <mx:FormItem label="Last Name" width="500">
                        <mx:TextInput width="200"/>
                </mx:FormItem>
                <mx:FormItem label="GPN " width="500">
                        <mx:TextInput width="200"/>
                </mx:FormItem>
                <mx:FormItem label="Email Address" width="500">
                        <mx:TextInput width="200"/>
                </mx:FormItem>                                  
                        
        </mx:Form>
        
        
</mx:VBox>
</mx:Application>

Reply via email to