Basically, I have listed the XML document to have links and titles. Just trying to get each movie clip to load for each category with drag and drop on taget properties. Each connector has a Category and Title.
However with the code, several images keep showing up, its like they are all one 1 frame. I need them to be seperated, click by click.
XML Sample :
<item title="HD/DB-HDMI-DVI" font_color="0xFFFFFF">
<item title="HD Series" link="section HD">
<item title="HD15FF" link="section HD15FFlink"></item>
<item title="HD15-FS" link="section HD15-FSlink"></item>
<item title="HD15-MM" link="section HD15-MMlink"></item>
<item title="HD15-MS" link="section HD15-MSlink"></item>
<item title="HD15-FTB" link="section HD15-FTBlink"></item>
<item title="HD15-MTB" link="section HD15-MTBlink"></item>
<item title="HD15F-5BNC" link="section HD15F-5BNClink"></item>
<item title="HD15M-5BNC" link="section HD15M-5BNClink"></item>
/*
//////////////////////////////////////////////////
// menu instance on Stage
// menu instance call flashdb.navigation.menuXML.as
//////////////////////////////////////////////////
var XMLFile:String = "xml/menu.xml"
//////////////////////////////////////////////////
*/
var listener = new Object();
listener.onClickSection = function(evt:Object) {
trace("HD15-FFlink:"+evt.value)
trace("HD15-FF:"+evt.title)
dhd15ff.duplicateMovieClip("dhd15ff"+y, y);
trace("dhd15ff"+y+" created!");y++;}
this.menu.addEventListener("onClickSection",listener);
stopDrag();
if (this._droptarget == "/target") {}else {
//if the connector is not on target delete it and
removeMovieClip(this);
trace("Before = "+dhd15ffUsed);
dhd15ffUsed = dhd15ffUsed-1;
trace("After = "+dhd15ffUsed);
}
dhd15ff._visible = false;
dhd15ff.stopDrag();
var y = 1;