
Welcome Guest
|
#1
|
|||
|
|||
|
Hey yall
![]() I need to access the tween object that's been called iniside a function, outside of that function. (hmm?) eg Code:
function counterTween(x){
easeType = mx.transitions.easing.Regular.easeInOut;
begin = 0;
end = 700;
time = 3;
cTween = new mx.transitions.Tween(x,"_x",easeType,begin,end,time,true);
}
counterTween(myMc);
cTween.onMotionFinished = function{
counterTween(myMc);
}What I'm trying to do here is loop the counterTween so that as soon as CTween is complete, cTween.onMotionFinished function is called - every time ...is this possible? Or is there a better way? |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|




