Well finally got it. Thank you for your help Glen, you put me in the right direction.

Here's what got it to work finally...

var selectNum:Number;
                var num:Number;
                var pict:String;
                var changeObj:Object = new Object();
                changeObj.change = function(evt_obj:Object) {
                        trace("parent ID = " + evt_obj.target._parent.ID);
                        trace("selectedIndex = " + 
evt_obj.target.selectedIndex);
                        num = evt_obj.target._parent.ID;
                        selectNum = evt_obj.target.selectedIndex;
                        if (selectNum > 1) {
                                pict = 
picturesArry[num][evt_obj.target.selectedIndex - 1];
                                
evt_obj.target._parent["picture_box"].loadMovie(pict,0);
                                evt_obj.target._parent.LoadVars(pict);
trace("New picture url is: " + pict + newline + "Picture Array: " + picturesArry[num]);
                        } else if (selectNum <= 1) {
                                pict = picturesArry[num][0];
                                
evt_obj.target._parent["picture_box"].loadMovie(pict,0);
                                evt_obj.target._parent.LoadVars(pict);
trace("New picture url is: " + pict + newline + "Picture Array: " + picturesArry[num]);
                        } else {
_root.itemSelection_mc.satusTXT.htmlText = "CobmoBox did not change";
                        }
                };
                colorBox.addEventListener("change", changeObj);

**Whew**

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to