mgason
01-18-2009, 07:11 PM
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
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
The scroller.as is in the same directory as the movie fla
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
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
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
The scroller.as is in the same directory as the movie fla
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