Hey guys.
I’m trying to set up a simple drag and drop but I get a 1120 error on the line of code with the addEventListener.
stop();
function dragVinyl(e:MouseEvent):void {
e.target.startDrag();
Mouse.hide();
gotoAndPlay(296);
}
vinyl_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragVinyl);
the instance name ‘vinyl_mc’ is the same as the one on stage, i’ve already checked that.
Any help would be great.
Cheers.