yes it is possible ... see the following code  (hope its what u r
looking for )  :

<?xml version="1.0"?>
<!-- mxml/myComponents/StateComboBoxWithStyleProps.mxml -->

<mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml";
    openDuration="1000"
    fontSize="15">

    <mx:dataProvider>
        <mx:Array>
            <mx:String>AK</mx:String>
            <mx:String>AL</mx:String>
        </mx:Array>
    </mx:dataProvider>
</mx:ComboBox>


<?xml version="1.0"?>
<!-- mxml/MainStyleOverrideUsingCBTypeSelConflict.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
    xmlns:MyComp="myComponents.*">

    <mx:Style>
        ComboBox {
            color: red;
            openDuration: 1000;
            fontSize: 15;
        }
        StateComboBoxWithStyleProps {
            color: green;
        }
    </mx:Style>

    <MyComp:StateComboBoxWithStyleProps/>
    <mx:ComboBox/>
</mx:Application>



here a component is created and its properties can then be changed in
ur maim mxml

source  link : 
http://livedocs.adobe.com/flex/3/html/help.html?content=mxmlcomponents_4.html

On Feb 4, 11:54 am, Gerald Anto Fernando <[email protected]>
wrote:
> Hello Friends,
> For example, My application has many textInputs(input box) and Labels
> (or Texts) with default properties of they have.
>
> can i create them as a Custom Components? and aquire them to my
> application ?
>
> but in my application ,sometimes i need to change width,height and
> default property what i want.
>
> Is It possble???
> please reply me urget.
> hope your reply
>
> Gerald A

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to