Movieclip tweening prototypes 1.2.0
Most of features are from Moses Gunesch http://www.mosessupposes.com/
Added support for tweening TextFields using all the MovieClip extensions (except frameTo)
New methods, shortucts
.sizeTo()
.tintTo(rgb,percent)
.invertColorTo(percent)
.pauseTween(props) - specific targets & props
.unpauseTween(props)
.isTweenPaused(prop)
.isTweening(prop) [added specific prop checker]
.pauseAllTweens() [globally from a clip]
.unpauseAllTweens()
.stopAllTweens()
.ffTween(props)
.rewTween(props)
Added properties filters to most new methods and one old one (isTweening(prop)), to allow individual properties to be queried. For instance you can query whether _x specifically is tweening in a clip.
Pass a string instead of a number for relative value.
* scaleTo('-20'); meaning 20 less than current scale.
New option to pass a single end value for multiple properties
* my_mc.tween(['_alpha','_xscale'],100); // legal
New option to pass a comma-delimited string of properties instead of an array
* my_mc.tween('_alpha,_xscale',100); // legal
Added a global function getColorTransObj() to handle the advanced color calcs for extensions
* this exposes the functionality for use elsewhere. Look up the function in lmc_tween.as for details.
Changes to tweenManager.as
Added new cleanUp() routine to tweenManager
* auto-delete tweens when targets go missing (removeMovieClip etc.)
* fewer glitches when re-testing movie locally after it's published
Added onTweenInterrupt event
All events now pass an object { target:obj, props:Array }
Modified autoStop property to stop all tweens in a clip.
In the previous version, this was done anyway (with autoOverwrite) so autoStop didn't have much purpose. This new functionality might be helpful in that it fully stops a clip's tweens before applying a new tween.
New controllerDepth getter/setter - changes the depth of the onEnterFrame broadcast clip.
Fixed Bugs
Fixed bug in in easing equations > all elastic method was not working when published for Flash PLayer 7 and Actionscript 1
it is now not necessary to write case sensitive "easeOutBounce", e.g. "EaseOUTBOUNCE" , "eAsEoUtBoUnCe" works too
Fuse tween-sequencing kit
The Fuse kit, developed in conjunction with this update, is a powerful and simple way to quickly build linear sequences of tweens (and for more advanced users, function-calls). An earlier beta of Fuse has already been used on a number of high profile corporate websites.
Fuse is based on this kit's super-efficient tweening engine, and allows you to use the same familiar syntax - alphaTo, slideTo, and all that good stuff. Download at http://www.mosessupposes.com/fuse
MX 2004 extensions
You must have Macromedia
Extension Manager 1.6 installed on your machine to install .mxp packages.
If you have installed previous version, and you have updated to Flash
MX 2004 7.2 Ellipsis, uninstall the old mxp package first
Ziped version
zip package contains only scripts of Movieclip Tweening prototypes + Robert
Penners easing equations, unpack it in same folder with your fla
download version 1.2.0
download version 1.1.9 alpha for MX
download version 1.1.8 for MX
download version 1.1.7 for MX 2004
download version 1.1.7 for MX
download version 1.1.6 for MX
Sources of extension
download sources of version 1.2.0
download sources of version 1.1.6
PDF Documentation
documentation.pdf (131 KB) thanks Maverick
|