| Ultrashock Forums
Tweener: Dynamically controlling the animation? |
Member Blogs | ||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
3 Blog Entries
|
2008-07-18
#2 |
||
|
|
2008-07-18
#3 |
||
|
Thanks Gregaz, Not quite what I'm after though. Hmmm, how to explain... Imagine your tweener animation, it has 0-100%. 0% being the start of your animation and 100% being the end of your animation. How could I control how far into the animation it is? Or is it possible to jump back and forth in the animation? Hope this helps to explain it better. |
|
3 Blog Entries
|
2008-07-18
#4 |
||
|
Hey.. okey now I get it. Im not using Tweener myself, Im using TweenMax which I find more robust and better in many ways ![]() You can download TweenMax from here TweenMax got a great function called, (very logic) "progress" you can use it like this: ActionScript Code:
Then you could control the "progress" through a variable controlled by your "slider" you mentioned. Hope this can help you out! Let me know how it goes. |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|




3 comments
| 281 views


3 Blog Entries

Linear Mode
If yourŽre talking about the time of the animation you could set up variables to control this
(guessing your using AS3 then
var _time:uint = 0;
var _frame:uint = 0;
you could then use a timer with interval you wanna to check what current value the slider got then pass in the value as "time" in your tweener-code
Oopps.. gotta run but IŽll see if I can help you out more later..
Is this what your looking for=?