callBacks: they save the world.™
#include "mc_tween2.as"
stop();
//my callBack
myCallBack = function():Void {
gotoAndStop(2);
trace("CallBack has been called");
};
//Button function
eric_mc.onPress = function():Void {
this.rotateTo(180, 2, "easeinoutback", 0, myCallBack);
}
*/
stop();
//my callBack
myCallBack = function():Void {
gotoAndStop(2);
trace("CallBack has been called");
};
//Button function
eric_mc.onPress = function():Void {
this.rotateTo(180, 2, "easeinoutback", 0, myCallBack);
}
*/
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home