First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: GOusable | Website: http://www.gousable.com/

Create a simple blend group

Dynamic Blend component acts similar to "Blend" tools in CorelDRAW or Freehand, but, unlike them, builds blend groups dynamically, e.g. as a movie is playing. As a result, it will help to create very small SWF files (good for preloaders).

To make a blend group, follow these steps:

  1. Open a new Flash document.
  2. Create a movie clip symbol from which you want to build a blend.
  3. Set Linkage identifier for movie clip you have just created. To do this, right-click movie clip in the Library, choose "Linkage", then check "Export for Actionscript" flag.
  4. Place back and front movie clips on the scene and assign instance names to them. These clips must be instances of the symbol you have just set Linkage for.
  5. If you want to use Blend Colors feature, modify colors of these two movie clips by using Color/Advanced dialog from the Properties panel. You can modify just transparency (Alpha) for each of them, without changing colors. Setting Blend Colors to false can help reduce CPU loading if you are using a lot of blend groups.
  6. Place an instance of DynamicBlend component on the scene.
    Note: two base objects and their dynBlend movie clip must be placed at the same level of your movie (or enclosed within the same parent clip) to work properly. You can, however, place several such "groups" to one level (or into one parent clip).
  7. Open Properties panel for DynamicBlend component. Click Parameters tab
  8. Enter required information into fields:
    • Back Instance (name) - Instance name of a movie clip which is back instance of blend group.
    • Front Instance (name) - Instance name of a movie clip which is front instance of blend group.
    • MovieClip to Blend (linkage) - Linkage identifier of a movie clip which is a base for blend group. See step 3 above.
    • Number of Steps - Number of intermediate objects in blend group.
  9. Set Blend Colors if needed (true by default).
  10. Set Hide DynamicBlend clip if you don't want the DynamicBlend clip to be visible in resulting movie (false by default).
    It can be helpful to temporary set this property to false during authoring time to see component instance(s) on the scene and be able to click on them.
  11. Publish your movie to see the result. Play with values to get desired results.
» Level Basic

Added: 2005-11-23
Rating: 3 Votes: 5
» Author
GOusable Flash components development. Usability services.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.