import com.greensock.TweenLite;
import com.greensock.plugins.*;
TweenPlugin.activate([FramePlugin]);
function updatePosition(number) {
TweenLite.to(windmill_mc,1,{frame:number});
}
this.btn_1.onRelease = function() {
_root.updatePosition(1); //refers to the A position of the windmill movie clip
};
this.btn_2.onRelease = function() {
_root.updatePosition(26); //refers to the B position of the windmill movie clip
};
this.btn_3.onRelease = function() {
_root.updatePosition(47); //refers to the C position of the windmill movie clip
};
this.btn_4.onRelease = function() {
_root.updatePosition(71); //refers to the D position of the windmill movie clip
};