I load an image onto the stage and attempt to write this code to allow the user to click and drag the image, but it doesn’t do anything!
_root.createEmptyMovieClip("image",1);
image.loadMovie("photo1.jpg");
container._x = 0;
container._y = 0;
image.onPress = function() {
startDrag(_root.image, false) ;
}
image.onRelease = function () {
_root.image.stopDrag () ;
}