Can AS add components that aren’t already linked from the library? I’d like to add a comboBox component using just AS. I tried this and it didn’t work:
[AS]createEmptyMovieClip(“dirChooser”,_root.getNextHighestDepth());
dirChooser.dirChoice = new ComboBox();
dirChooser.dirChoice.addItem(“greater than”);
dirChooser.dirChoice.addItem(“less than”);
dirChooser.dirChoice.addItem(“equal to”);[/AS]
When I viewed objects in the debugger, it only had this:
Movie Clip: Frame=0 Target=“_level0.dirChooser”
I’ve looked at the following pages about combo boxes and can’t find an answer to my question:
[LIST]
[]http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary215.html
[]kirupa.com - Using Components to Create a Form
[*]http://www.adobe.com/support/flash/applications/creating_forms/index.html[/LIST]Any help would be appreciated.
Thanks!
-Mathminded