Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
movement and scaling with ease-in effect

movement and scaling with ease-in effect

2004-03-10       - By Zeh Fernando

 Back
Reply:     1     2  

>Hello,
I am looking for an example of code which will move a  mc from point A
to
point B giving the effect of driving down the road.
I wrote some code and it is working, but I can't seem to get the easing
effect I am looking for.
I would like the object to scale and also have a ease-in effect such as
real scenery does.
I searched high & low and haven't come across anything other than
Roberts
Cubic easing equation but haven't been able to figure out how to use it
or
make it do what I want.



Use dynamic tweening prototypes. There are several of them out there and I
believe all of them is based on Robert Penner's equations. It's just paste
(or #include) and use on your movieclips without too much hassle.


There's mine,
http://proto.layer51.com/d.aspx?f=804

Laco's,
http://proto.layer51.com/d.aspx?f=1142

Tatsuo Kato's,
http://tatsuokato.com/flash/dynTweenMX.html

And there's this benchmark by laco with a few more links
http://laco.wz.cz/mc_tween/


There are many others around, including Penner's own tweening classes..
somewhere on ultrashock.com. Searching the list archives may help too.


- zeh


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106517
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)




Earn $52 per hosting referral at Lunarpages.