Does anyone know if it is possible to do a drag and drop from a scrollpane? I have been trying for a little while now to get it to work, and I can't quite get it to work.
I have a menu that scrolls left to right with icons in it. The MC on its own outside of the scrollpane works just as it is supposed to, whenever I put it in the scrollpane I can't click on any of the items to drag them.
Here is some of the AS i am using:
ActionScript Code:
myScrollPane.face_mc.alien1_mc.onPress = function (){
this.startDrag(true);
frame = 3;
Xcors = this._x;
Ycors = this._y;
};
myScrollPane.face_mc.alien1_mc.onRelease = function (){
stopDrag();
box_drop=this._droptarget.substr(0,8);
if(box_drop=="/body_mc"){
body_mc.head_mc.gotoAndStop(frame);
}
this._x = Xcors;
this._y = Ycors;
};
MyScrollPane is the ScrollPane, Face_MC is the MC that contains all of the different menu opitons and alien1_mc is the first menu option. I am sorry, but I can't post the FLA here for viewing.
Thanks in advance,
Ledge