Sunny13
01-15-2008, 04:26 AM
Can someone let me know the solution to this?
I have a combobox in a movieclip attached dynamically. It works well for the first time but when attached in the same movieclip once again... it does not show the selected item of the combobox.... here is simple code for the same
var objMain = this;
objMain.a_mc.attachMovie("notesNewNotesControls_mc","notesNewNotesControls_mc",1);
b_mc.onRelease = function() {
objMain.a_mc.attachMovie("notesNewNotesControls_mc","notesNewNotesControls_mc",2);
};
I have tried removeMovieClip as well but it does not work. If I use onEnterFrame to ensure that the movieclip has been removed or not .. it works but for some scenarios and also makes execution slow. Any suggestions?
I have a combobox in a movieclip attached dynamically. It works well for the first time but when attached in the same movieclip once again... it does not show the selected item of the combobox.... here is simple code for the same
var objMain = this;
objMain.a_mc.attachMovie("notesNewNotesControls_mc","notesNewNotesControls_mc",1);
b_mc.onRelease = function() {
objMain.a_mc.attachMovie("notesNewNotesControls_mc","notesNewNotesControls_mc",2);
};
I have tried removeMovieClip as well but it does not work. If I use onEnterFrame to ensure that the movieclip has been removed or not .. it works but for some scenarios and also makes execution slow. Any suggestions?