Does the movie load into a level or a movie clip?
If you use a movie clip to hold the loaded move probably the easiest thing to do is something like this (in the movie that does the loading),
code:
// define press and release event handlers for the movie clip myClip, which will contain the loaded movie
myClip.onPress = function() {
this.startDrag(true);
};
myClip.onRelease = function() {
this.stopDrag();
};
myClip.createEmptyMovieClip("holder", 1); // create an empty clip inside myClip to load the movie into (loading directly into myClip would delete the event handlers)
myClip.holder.loadMovie("filename.swf"); // load the movie
if you load into a level, maybe you could use similar code on the main timeline (of the movie that gets loaded) like this,
code:
_root.onMouseDown = function() {
_root.startDrag(true); // drag the main timeline of the movie
};
_root.onMouseUp = function() {
_root.stopDrag();
};