Question
on clip event
Hi
What is the right action script for this on clip event to put it in its own layer in the timeline?
onClipEvent (load) {
_x = 22;
_y =113;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.pic1.onRelease = function() {
endX = 22;
endY = 113;
};
_root.pic2.onRelease = function() {
endX = -282;
endY = 113;
};
_root.pic3.onRelease = function() {
endX = -582 ;
endY = 113;
};
}
Thanks in Advanced
What is the right action script for this on clip event to put it in its own layer in the timeline?
onClipEvent (load) {
_x = 22;
_y =113;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.pic1.onRelease = function() {
endX = 22;
endY = 113;
};
_root.pic2.onRelease = function() {
endX = -282;
endY = 113;
};
_root.pic3.onRelease = function() {
endX = -582 ;
endY = 113;
};
}
Thanks in Advanced