Questions tagged [tweener]

28 questions
9
votes
2 answers

Tweener framework for c++?

for ActionScript there are quite a few "tweening" frameworks to facilitate animating objects. for example TweenLite: http://www.greensock.com/tweenlite/ it allows to animate an arbitrary object with a single line of code: Pseudocode: tween(myObject,…
Mat
  • 841
  • 1
  • 9
  • 5
3
votes
2 answers

What the math behind such animation trajectories?

What's the math behind something like this? C++ perspective. More examples on this MSDN page here. UPDATE: Was asked for a more concrete question. What's the math/animation theory for Penner's tweens^? How do you come up with those formulas? What…
CodeAngry
  • 12,760
  • 3
  • 50
  • 57
1
vote
3 answers

addChild with effects, such as Tweener OR transitions

Is it possible to use addChild with tweener or transitions, I mean not only bring the child to the stage, but at the same time make this animated? especially in this type of code: var background=new MovieClip ; var…
user1212216
  • 41
  • 2
  • 9
1
vote
1 answer

Is Flash Player "Low quality" setting only about anti-aliasing?

It not just my curiosity, recently I've received a bugreport concerning one of my AS3 applications. This bug can be reproduced only if the quality in flash player is set to LOW (HIGH/MEDIUM - everything is ok). The bug changes the application…
mie
  • 721
  • 5
  • 16
1
vote
6 answers

An Hashmap with a finite set of keys that each accept only one type of value?

Ok, this might be a little hard to explain. I'm looking for a way to build a Hashmap of some sort, which will be populated with keys that I already know (because they are properties of the object I am creating). Each of these known keys will have…
CyberDandy
  • 470
  • 6
  • 17
1
vote
3 answers

Problem tweening MC slow movement with Tweener, even with smoothing

I think that Tweener is not using fractions of pixels on x,y movement, but that exactly what I need. I read about rounded parameter (default:false), that would round pixels, to reduce problems with text, but I want to slowly pan an loaded image, so…
Pedro Guglielmo
  • 119
  • 1
  • 4
1
vote
3 answers

How can I tween a Number?

Currently using Tweener and wondering how I can tween a regular variable? private var health:int = 100; // And then somewhere else in the class var amount:int = 50; Tweener.addTween(this.health, {value:amount, …
Ólafur Waage
  • 68,817
  • 22
  • 142
  • 198
1
vote
1 answer

Image is not removed when visibility is set to false

I'm working on a project where there is an Image (spark or mx) and when I set the visibility to false it still remains! It seems to dim instead of remove. I'm thinking that maybe something, a sprite or display object somewhere or some graphics…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
2 answers

FlashDevelop: AS3 Tweening Stop on Steep Slope

I'm using the caurina.transitions.Tweener; class with AS3 to tween a 3D object through my 3D environment (created with alternativa3D platform) from point A to point B. And everything works great, they move as intended from where they were to where I…
user977486
  • 13
  • 1
  • 3
0
votes
3 answers

Flash/Actionscript Tween not smooth

I am using Flash - Actionscript 3.0 - to load image paths (and ultimately the images) from an XML file and then I am using the Tweener class to animate the tweens to scroll across the header. The problem: The scroll is not smooth, its quite…
Nathaniel Wendt
  • 1,194
  • 4
  • 23
  • 49
0
votes
2 answers

Caurina Tweener not finishing animation problem

Hello I am coding a website I am using caurina tweener and hove problem with pretty much every object that i try to tween. Problem is that the tweened object sometimes just don't finish the animation. That's pretty annoying and i heard that this…
5et
  • 366
  • 1
  • 3
  • 10
0
votes
1 answer

ActionScript - Trace Update Value from Tweener

tweener doesn't update myValue while passing the param while tweening. why? public var myValue:Number = 0.0; Tweener.addTween(this, {myValue: 1.0, time: 2.0, onUpdate: traceValue, onUpdateParams: [myValue]}); private function…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
0
votes
1 answer

ActionScript - Remove Tweener Tweens onComplete?

for occasional tweens, such as those triggered/added by a button, is it a best-practice to remove the tween – Tweener.removeTweens(myObject); – or does Tweener automatically do this when the tween finishes? i understand tweens automatically…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
0
votes
1 answer

ActionScript Effects using Tweener?

HI, I want to implement tweener effects in my application, but I have a rectangle, shape = new Shape(); shape.graphics.beginFill(0xF9F9F9); shape.graphics.drawRect(200,80,700,450); shape.graphics.endFill(); account_label.label…
ramsbh
  • 656
  • 4
  • 14
  • 26
0
votes
1 answer

AS3 Tween a variable inside an array

I have the following code which works perfectly: updaterVariable = 0; Tweener.addTween(this, {time:2, transition:"linear", updaterVariable:1000, onUpdate:tweenerUpdate}); I will get the value of updaterVariable tweened from 0 to 1000 in 2…
1
2