Skip to main content
Participating Frequently
December 7, 2006
Answered

ComboBox Bug?

  • December 7, 2006
  • 1 reply
  • 308 views
Hi,

I've been experiencing a strange behavior with a the combo box components. I have 2 CB in a FLA let's call it slave.fla/slave.swf. When I test it everything works fine. Now, I want to load slave.swf inside master.fla. I'm using a MiovieClipLoader Object to do the trick. Well, when I test master.fla the comboBoxes don't work. I can see the first label on them, but if I click to expand it simply won't do it. I tried moving the CB on the first frame, erase them and recreate them, adding new CB to see if they were just those 2, but nothing, you just click and anything happens. the curious thing is that slave.swf has many other components (a tree, datagrid, numeric stepper, textinput, and buttons) and they all work fine. I really don't understand what could possibly cause this problem. Any help would be really appreciated.
This topic has been closed for replies.
Correct answer Marghoob Sulemaan
hey... did you try _lockroot. ??? Suppose you are loading your "slave.swf " on a moveiclip named "slave_mc". use the following syntax.


slave_mc._lockroot = true;

cheers!

1 reply

Marghoob Sulemaan
Marghoob SulemaanCorrect answer
Inspiring
December 7, 2006
hey... did you try _lockroot. ??? Suppose you are loading your "slave.swf " on a moveiclip named "slave_mc". use the following syntax.


slave_mc._lockroot = true;

cheers!
LucaLTAuthor
Participating Frequently
December 7, 2006
Wow, it works. Thank you so much! I actually found another workaround in the meantime. I place a CB component in the library on master.fla and it works. Isn't that kind of weird? Anyway, thanks again, _lookroot is definitely prettier.