Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Tweening

New Here ,
Jun 20, 2009 Jun 20, 2009

hello!

how to make the speed of this function uniform (same speed from start to end)

var Move:Tween=new Tween(Bar_am, "x", Strong.easeInOut, 900, -1000, 10, true);

thx

TOPICS
ActionScript
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 20, 2009 Jun 20, 2009

Try using null in place of the easing method

Translate
New Here ,
Jun 20, 2009 Jun 20, 2009

I figured out that the "Strong.easeInOut" is responssible for that but how to remove this parameter???

thx

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2009 Jun 20, 2009

try "Regular.easeOut"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009

Is there any other function that "moves" not tween more efficient ?

thx

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 20, 2009 Jun 20, 2009

what do you want exactly?

Here a link that might shed some light into your problem:

http://hosted.zeh.com.br/tweener/docs/en-us/

And if you want to use a proper tweening package then move over to

http://blog.greensock.com

or

http://code.google.com/p/tweener/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009

well th ething with Tweening is the speed !! its not const! lets say my object moves at 1m/s (:p) I need that speed from the strat to the finish line

with Strong or Regular easing you have to give it in out!

I need a function that do basicly the same work without the easing stuff

thx in advance

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2009 Jun 20, 2009

Try using null in place of the easing method

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2009 Jun 20, 2009

thx but am using the caurina package

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 20, 2009 Jun 20, 2009
LATEST

If you want no easing at all, use

fl.transitions.easing.NONE

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/transitions/easing/None.html

import fl.transitions.easing.*;

var Move:Tween=new Tween(Bar_am, "x", NONE.easeNone, 900, -1000, 10, true);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines