Using flash action script 2.0 you and drag and drop object in the stage first download a suitable image i used bellow picture

Next insert new layer name as actions right click 1st frame of actions layer go to actions plane write the bellow scripts
MC_shape.onPress = function(){
MC_shape.startDrag();
}
MC_shape.onRelease = function(){
MC_shape.stopDrag();
}
MC_shape1.onPress = function(){
MC_shape1.startDrag();
}
MC_shape1.onRelease = function(){
MC_shape1.stopDrag();
}
MC_shape2.onPress = function(){
MC_shape2.startDrag();
}
MC_shape2.onRelease = function(){
MC_shape2.stopDrag();
}
MC_shape3.onPress = function(){
MC_shape3.startDrag();
}
MC_shape3.onRelease = function(){
MC_shape3.stopDrag();
}
Then go control test movie
No comments:
Post a Comment