Hello pls help me, does any one know how to create a user defined button in FlexBuilder3.0 using mxml. if any one knows help me.
Like buttons, radio buttons, etc… user components
what ever shape we want
Right click on the folder in your project that you want to create it in. Click New > MXML Component. Give it a name and then choose the component you want to extend from the “Based on” drop down, for example Button. This will make sure you have the right starting code. From there you can customise it as you see fit.
To then use the custom button you need to set up a xml name space in the application’s opening tag (there is already one in there that says: xmlns:mx="http://www.adobe.com/2006/mxml"
for example if your component is in a folder called “com.website.components” you put something like xmlns:comps=“com.website.components” in the top tag. Then within the mxml file you can use the button like so: <comps:NameOfYourComponent id=“whatever” /> etc.