Questions tagged [tween]

Animation technique of frame interpolation between keyframes.

A tween could be understood as a synonym of animation. Given two keyframes with a number of properties a tween gives intermediate values per keyframe between the two keyframes. Usually this task is achieved by using specific libraries.

http://en.wikipedia.org/wiki/Inbetweening

624 questions
0
votes
1 answer

AnimationSet containing ScaleAnimation and TranslateAnimation does not tween at OS 2.1

I am using an AnimationSet containing ScaleAnimation and TranslateAnimation. Tweening one image from one size and position to another over a few seconds. It works on a recent device, but the tweening does not occure on an old Xperia device, stuck at…
Jonny
  • 15,955
  • 18
  • 111
  • 232
0
votes
2 answers

Set rotation flash tween to shortest distance as3?

I am working on an adobe air interactive table project and I'm trying to tween some rotations. For the most part it works fine, but occasionally it spins aaall the way around version just spinning a little to the other direction. Does anyone of a…
HeroicNate
  • 63
  • 7
0
votes
1 answer

greensock TweenMax javascript - kill looping tween

I created a looping tween using Greensock javascript and I got it to loop using a function, maybe this is not the best way to loop, if you know a better way please advice, but basically when I try to kill the tween using this method, it doesn't…
Papa De Beau
  • 3,744
  • 18
  • 79
  • 137
0
votes
2 answers

Passing functions and parameters as parameter values to GTweener.to function

I am trying for smooth zooming transitions in my stage3d (using flare3d 2.0 engine) game. I am using GTweener to tween the camera like below GTweener.to(_camera,0.5,{x:pos.x,y:pos.y,z:pos.z}); This is working fine, how ever I want to tween other…
dejjub-AIS
  • 1,501
  • 2
  • 24
  • 50
0
votes
1 answer

Flash CS5 rotation animation?

Can anyone tell me how to do a rotation tween for an object in Flash CS5? I have an image, and I set the registration point, and I want it to rotate along the registration point. I created a keyframe at about frame 50, rotated the object 180…
Windbrand
  • 555
  • 4
  • 13
  • 21
0
votes
2 answers

When mouse over swf begins?

Hi I have been trying to get this to work for ages but no luck. I want that when you scroll over the swf it begins its tween until finished (even if you take mouse away from swf) and if you hover over it again, it starts from the beginning. I have…
user1806497
  • 65
  • 1
  • 7
0
votes
1 answer

Having an object move to more than one place using tween class in AS3?

Hi I am trying to make an object, in this case 'ship_mc', move to 3 different points on a screen, but i want to use the tween class. I'm not sure why its not working, any help would be greatly appreciated. my code looks like this import…
user1180888
  • 497
  • 1
  • 10
  • 29
0
votes
1 answer

Array of 2 words Greensock Tween

I'm trying to achieve a simple effect on 2 words array using the greensock engine. It's working but the timing is off. I want them to be coordinate and with an alpha in between the simple way all I want to I just to show one word after the other in…
mikker
  • 5
  • 4
0
votes
3 answers

Android : Tween animation: Moving an ImageView

I have a problem with tween animation in android , I try to move an ImageView item from center of screen to top of screen but after end of transform ImageView returns to first position! I use this code:
mahdi
  • 16,257
  • 15
  • 52
  • 73
0
votes
1 answer

How can I get rid of non-null hitTestObject error with already instantiated objects?

I am a beginner/intermediate AS3 "programmer" trying to complete a skeeball-like flash-based game for a university assessment, and I'm doing myself serious mental damage trying to get even basic object (ball) collisions working with scoring targets…
mrmacross
  • 15
  • 5
0
votes
1 answer

How to create an animation in front of a 3rd party linear layout

I have 5 linear layouts wrapped up in one linear layout, inside a relative layout. I am using a translation animation to move an image button within one linear layout. If I try and move it from from outside the linear layout (in this case a point in…
John Ashmore
  • 1,015
  • 1
  • 10
  • 25
0
votes
3 answers

Flash AS3 - finding Y position tween object on moving

My Flash AS3 script as below, my question is how to finding (trace) Y position tween object on moving... I want the know the position like: objectA = -50, 0, 25, 50 ... 150, 170, 180, 200, 210 ..., 750, 800. var objTween = new Tween(objectA, "y",…
Ironman
  • 449
  • 1
  • 5
  • 13
0
votes
1 answer

Mouse scroll with tween effect [Mootools]

I'm trying to do a mouse scroll effect like this: http://www.s5-style.com/#!/works (ClientWorks) But my problem is, mootools dont have a good class Tween for do this. Then, i have this: http://jsfiddle.net/FU9Hp/ $('content').addEvent('mousemove',…
Enzo
  • 4,111
  • 4
  • 21
  • 33
0
votes
1 answer

Tweening in AS3 to make object circle each other

I'm trying to figure out how in AS3 to make 2 objects circle each other. For example lets say the 2 objects are cups. I want them to spin around each other in a circle. Another way to look at it that they each travel in the same circle but across…
jbassking10
  • 833
  • 4
  • 15
  • 42
0
votes
1 answer

Flash AS3 - Changing sprite size effects textifeld?

Struggling with a simple one. I have a sprite, and a textfield. Neither are added as children of each other, they are separate objects. The class is shown below in full. All works as expected, however when I call the simpleGUIElementResize…
mrEmpty
  • 841
  • 4
  • 19
  • 36