MC Tween: it saves the world.
MC Tween: it saves the world.Special notice! While MC Tween is a nice extension and it will continue to work for AS1 and AS2 until the end of time, it is my duty to inform all citizens that I have switched the focus from further development on MC Tween to a new AS2 and AS3 extension, a real Class this time, called "caurina.transitions.Tweener" (or just Tweener). Tweener doesn't have as many features as MC Tween yet (for example, it doesn't have native filter tweens), and the documentation isn't 100% done, but it features a complete, more solid redesign with a few additional syntax features that were impossible to achieve with MC Tween. And it works the same for AS2 (including Flash Lite 2+) and AS3.
So, if you use MC Tween, or you're thinking about using it, I'd like to suggest you try Tweener instead. It follows all the principles of simplicity I tried to feature on MC Tween, but with a more powerful syntax. Tweener download, examples and documentation are available on Tweener's page. You can read more about this change on this blog post.
Thank you for your attention and sorry for this ugly box. And don't worry, this website will not be deleted or anything.
Notice for October 2008: also note that, if you are still interested in MC Tween and don't want to use class-based AS2 or AS3 solutions, Larry Benedict has taken the matter into his hands and updated MC Tween with some filter features that are not available in the latest version. You can read more about it (and download his version) here or here.
Simple sliding menu | Preview (6kb) | Source (9kb)
A simple menu -- all menu items are at _alpha 50%. When rolled over, items get 100% of alpha and slide a bit to the right, going back to _alpha 50% and to their original position when rolled out.
Commands used:
Activated menu | Preview (6kb) | Source (4kb)
Another menu. This one has a simple activation feature to turn menu options on or off; this is actually a bit more than just a raw MC Tween example, but I recon it could be useful as a reference. Fully commented.
Commands used:
Graphic tracer | Preview (6kb) | Source (9kb)
This is the source to the graph movie used on the animation types section. Given a different animation type, it animates a value differently and reflects that on a graph and on a sliding movieclip. Inspired by Robert Penner's easing demo, this one was done for a better explanation of each different type on this site.
Commands used:
Ball scaling menu | Preview (5kb) | Source (8kb)
A menu to demonstrate some of the animation types available - a bit cartoony. Clicking on each item makes it disappear.
Commands used:
Bezier Ball Bouncing | Preview (5kb) | Source (7kb)
A quick demonstration of callback functions and bezier sliding to simulate a ball bouncing on two surfaces.
Commands used:
Falling leaves | Preview (6kb) | Source (12kb)
The classic example of falling leaves, MC Tween style. Shows leaves falling down and rotating left and right when doing so - both done by tweening methods. Also applicable to falling snow flocks... I think.
Commands used:
Clock Hands | Preview (6kb) | Source (10kb)
Using tweening commands to rotate the hands of a clock based on duration time. Does not use the real time - so it's a bit like a chronometer.
Commands used:
Clock Hands Two | Preview (6kb) | Source (15kb)
Other example using the clock. This time, using the real CPU time - tweening is used to emulate an old analog clock's hands movements, with a certain inertia or snap. It's also used to rotate the pendule below the clock. There's a few problems with the pendule by the way.. it may gag a little on the first times it revolves. I did this in a rush - it would need some time verification for a proper start.
Commands used:
Flash 8 Filter Tests | Preview (10kb) | Source (6kb)
This is the Flash 8 file I used for testing the new Flash 8 filters shortcuts. It's a good example of several different filter tweening types.
Commands used:
Sound Examples
0 comments:
Post a Comment