Questions tagged [tweener]

28 questions
0
votes
1 answer

Why is there a difference in the tweening I am doing when I tween two objects?

I have a TextField and a Sprite both at y = -20; and they are in the correct position. Then I do this tween. Tweener.addTween(t, {y: 20, time:0.5, transition:"linear"}); Tweener.addTween(noteBar, {y: 20, time:0.5, onComplete:Hold,…
Ólafur Waage
  • 68,817
  • 22
  • 142
  • 198
0
votes
2 answers

Caurina Transitions

How to import it in Flex? import caurina.transitions.Tweener; It says: 1120: Access of undefined property Tweener. When I do something like: Tweener.addTween(... Thanks,
Yan
  • 17
  • 4
0
votes
2 answers

reset, Tweener, AS3

How do I reset my numbers after they count? I want something like an onComplete function. DESCRIPTION My animation advances 120 pixels from it's current position, then flys off the stage. It was looping, and would yoyo to the bottom before…
anon255058
0
votes
1 answer

Advance from current position, Tweener, AS3

I want my animation to advance 120 pixels each time. Instead, my animation goes back to the bottom, rather than advance from it's new position. It assumes a new position, but always go back to the bottom first. How do I get my animation to advance…
anon255058
0
votes
2 answers

How can I isolate the Tweener class so that loaded .swfs are not interfering with my tweens

I am working on a UI that makes heavy use of the Tweener class, and which also loads an external .swf that I believe also uses the Tweener class. After tracking down all kinds of buggy behavior, I'm thinking that the problem is that the loaded .swf…
Daniel
  • 2,699
  • 3
  • 22
  • 17
0
votes
1 answer

Infinite tweening hue loop in AS3 with Tweener

I'm trying to infinitely loop a bitmap all the way through the colour spectrum using AS3, Tweener and its ColorShortcuts class. This doesn't loop back to the function "tween1": function tween1():void { Tweener.addTween(image, { _hue: 180,…
James James
  • 95
  • 2
  • 8
0
votes
1 answer

Flex Tweener still being used

since the development of Tweener is slow I am wondering if Tweener is still the preferred lib, or if there is a different lib that is preferred?
asawilliams
  • 2,908
  • 2
  • 30
  • 54
0
votes
2 answers

Making a bouncing effect using Tweener

I would like to bounce my actor on y-axis for two Seconds following a button release event. I don't know how I can do that using Tweener. Gnome shell 3.4. Thanks for any help,
The_Cute_Hedgehog
  • 1,280
  • 13
  • 22
0
votes
2 answers

AS3 move object towards x,y and then continue in the same direction (using tweener)

I'm building a simple space shooter game using Tweener class I wrote a code that fires a bullet from the hero spaceship current position to the mouse current position var fire = new Bullet(); addChild(fire); fire.x = ship.x +…
0
votes
1 answer

FXG asset is visible despite alpha set to 0

I have a FXG graphic asset in a Group container. It is invisible by default. When I try to fade in it works and fades in and fades out great the first time but the second time and 90% of the time after that it will show up immediately (not fade in)…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

ActionScript: can Tweener scale upwards instead of downwards?

I'm using the ActionScript Tweener from here I have a scaling animation on one of my images but I can't seem to get it to scale (enlarge) upwards instead of downwards Tweener.addTween(myImage, { scaleX: 1.5; scaleY: 1.5; transition:…
Tahsin M
  • 129
  • 2
  • 7
0
votes
1 answer

AS3 Tween rollover affects other elements on the stage

I have used as3 tweener to create the following animation. http://circletest.richardbarberwebdevelopment.co.uk/ When you rollover a section of the circle that circle animates and a caption is revealed. When you rollout it animates back to it's…
0
votes
1 answer

Tweener on start AS3

for (var i:int=cardCount; i < numberOfCardsToDispatch;i++){ Tweener.addTween(packArray[i], {x:packPosX - dealXPos, time:.4, delay:dealDelay, transition:"easeOutExpo", onStart:function(){packArray[i].visible = true;}}); } I'm…
panthro
  • 22,779
  • 66
  • 183
  • 324
1
2