
Hi......
Have you built any components with actionscript? If so explain how you did it? please give me the example for that.......
Thanks

Ans:
CityComboBox.as
package components
{
import mx.controls.ComboBox;
public class CityComboBox extends ComboBox
{
public function CityComboBox()
{
dataProvider = [ "Delhi", "Mumbai", "Chennai", "Kolkata" ];
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<custom:CountryComboBox />
</s:Application>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.