1.

Have You Built Any Components With Actionscript? If So Explain How You Did It?

Answer»

CountryComboBox.as

package components { import mx.controls.ComboBox; PUBLIC class CountryComboBox extends ComboBox { public function CountryComboBox() { DATAPROVIDER = [“United States”, “United Kingdom’]; } } } <‘xml version=” 1.0” encoding=”uff-8”?> <mx: Application XMLNS:mx=’http://www.adobe.com/2006/mxml” xmlns:custom=”components.*” width=”220” height=”L 1 5” > <custom:CountryComboBox /> </mx:Application>

CountryComboBox.as



Discussion

No Comment Found