Answers

Question and Answer:

  Home  Adobe Flex Actionscript

⟩ Have you built any components with actionscript? If so explain how you did it?

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="utf-8"?>

<mx:Application

xmlns:mx="http://www.adobe.com/2006/mxml"

xmlns:custom="components.*"

width="220" height="115"

>

<custom:CountryComboBox />

</mx:Application>

 209 views

More Questions for you: