Hello!
I have tried for quite a while to make a loaded swf dragable.
I have a main movie.
In the main movie I have a button (load_btn) which on press load a swf (loaded.swf) into an empty movieclip called holder.
In the loaded movie I have a button called drag.
I want the loaded swf to be dragable when I press the button drag.
Is it possible. Can someone help me with this??
_root.load_btn.onPress=function() {
_root.createEmptyMovieClip('holder',_root.getNextHighestDepth());
_root.holder._x = 150;
_root.holder._y=100;
with(_root.holder){
loadMovie("loaded.swf");
}
}
holder.drag.onPress=function() {
startDrag(holder);
}
holder.drag.onRelease=function() {
stopDrag();