How to make effects with blendsYou can dynamically:
- Move, rotate and scale one or two of your base objects;
- Change their colors or Alpha while the movie is playing;
and then rebuild blend group using rebuildBlend() method.
However, as this script uses a lot of calculations, it is not recommended to rebuild blend group frequently (e.g. by onEnterFrame event), as this can slow the movie on old computers.
- It is not recommended to use a value more than 300 for Number of steps parameter. Differences between blend groups built with 300 and, say, 600 steps (intermediate objects) are usually invisible for the human eye. But the high numbers for Number of steps can slow the movie on old computers significantly;
- To rebuild your blend group periodically (using rebuildBlend() method), use setInterval() instead of onEnterFrame.
Flash components development.
|» Level Basic|
Rating: 3 Votes: 5
|GOusable Flash components development. Usability services.|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|