I'm having trouble using the list box and combo box components within movie clips.
I used actionscript to create an empty movie clip and attach the movie.
The movie clip is just a combo box.
I can't call any of the combo box methods such as getLength, addItem, or getRowCount.
Is there a trick to using the FLASH MX components within a movie clip. I haven't found any documentation on how to accomplish this task.
_root.createEmptyMovieClip("mc",1);
_root.mc.attachMovie("navbuttons", "butts", "2"
;
//movie clip object
var rec = _root.mc["butts"];
//combo box name is excReason
rec.excReason.getLength()
This code doesnt work. The trace always returns undefined
Any ideas on what is wrong? I haven't found any examples of using FLASH MX components within movie clips.
I used actionscript to create an empty movie clip and attach the movie.
The movie clip is just a combo box.
I can't call any of the combo box methods such as getLength, addItem, or getRowCount.
Is there a trick to using the FLASH MX components within a movie clip. I haven't found any documentation on how to accomplish this task.
_root.createEmptyMovieClip("mc",1);
_root.mc.attachMovie("navbuttons", "butts", "2"
//movie clip object
var rec = _root.mc["butts"];
//combo box name is excReason
rec.excReason.getLength()
This code doesnt work. The trace always returns undefined
Any ideas on what is wrong? I haven't found any examples of using FLASH MX components within movie clips.