Search tutorials
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:
- Open a new Flash document.
- Create a movie clip symbol from which you want to build a blend.
- 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.
- 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.
- 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
falsecan help reduce CPU loading if you are using a lot of blend groups. - 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). - Open Properties panel for DynamicBlend component. Click Parameters tab
- 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.
- Set Blend Colors if needed (
trueby default). - Set Hide DynamicBlend clip if you don't want the DynamicBlend clip to be visible in resulting movie (
falseby 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. - 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. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!