PDA

View Full Version : attachMovie + Components


jaybee008300
01-16-2006, 02:33 AM
I have designed my flash app with generalized movieclips in my library, each of which contain components such as comboboxes, textareas, and input text. When I use attachMovie, none of the components in the movieclip work. Combo boxes do not drop down, the textareas do not show text, and I cannot type in the input boxes. If I drag the movieclip to root they work fine. Then if I call duplicateMovieClip, they still do not work. Is there any way for me to make these components work with attachMovie? Thanks

pan69
01-16-2006, 03:46 AM
To create an instance of a v2 component you should use the createObject or createClassObject methods defined in UIObject. See the Macromedia Flash help for more info.