PDA

View Full Version : superHolder


mckracken83
07-08-2003, 02:17 PM
what is a superHolder movie clip? when i use the following code:

if (mainTag.childNodes[i].childNodes[j].nodeName == "Answers") {
if (clip.RuleID == "1") {
clip.attachMovie("FComboBoxSymbol", "FComboBox_cb", j);
clip.FComboBox_cb._x =6;
clip.FComboBox_cb._y = clip.questionText_txt._height+8;
for (k=0; k<mainTag.childNodes[i].childNodes[j].childNodes.length; k++) {
if (mainTag.childNodes[i].childNodes[j].childNodes[k].nodeName == "QuestionChoiceID") {
QuestionChoiceID = mainTag.childNodes[i].childNodes[j].childNodes[k].firstChild.nodeValue;
} else if (mainTag.childNodes[i].childNodes[j].childNodes[k].nodeName == "QuestionChoiceDesc") {
QuestionChoiceDesc = mainTag.childNodes[i].childNodes[j].childNodes[k].firstChild.nodeValue;
}
}
clip.FComboBox_cb.addItem(QuestionChoiceDesc, QuestionChoiceID);
}
}

i get 2 ComboBoxes for each loop - one that's the "real" combobox populated with list items that's located where i specify, and one that's "fake" - its called _level0.superHolder2000 (or _level0.superHolder2001, etc.) and its always at 0,0 and it never is populated with any list items. also, clicking on it activates the "real" combobox. has anyone else run across this? what do i do to get rid of the "fake" combobox?