I have scroller class file that used tweener
I want to change it to use TweenMax as I am already using that.
I thought it looked easy, but does not work.
The only tween references are these 2 lines
the scroller class has
The scroller.as is in the same directory as the movie flaCode:import caurina.transitions.*;//on line 14 Tweener.addTween(target, {y:-sPos, time:timing, transition:trans});//on line 169 //I changed it to import gs.TweenMax;//on line 14 TweenMax.addTween(target, {y:-sPos, time:timing, transition:trans});//on line 169
below that is the caurina folder, I placed the gs folder with tweenMax in the same location.
I get these 2 errors
Srollbar.as Line 14 - 1172: Definition gs.TweenMax could not be found.
Srollbar.as Line 169 - 1120: Access of undefined property Tweener.
If I am completely off track, I am just guessing, I am no expert, let me know
I have uploaded the scroller.as file if anyone wants to take a look
thanks
mark




Reply With Quote