The Shader component creates shadow effects, which can be manipulated, creating different colors, shadow length and direction. The object can also fade and move.
The Shader component allows to create different kind of shades of different colors, distance and direction. Instructions are in the component. To find out all the features just plaa with the options. Create a moveclip with an object, which you want to have shaded. Then use linkage. The position of the object in the movieclip from the reference point determines the x and y position of the object, when the component is on stage. The object can also be moved prior to the shadow creation and the shadow color can be different from the object color.
Enter the following parameters in the property inspector for the component:
- Name of movieclip: create movieclip with object and use linkage, enter the name of clip;
- new Pos x: to move to a new position (only possible with y and positive value);
- new Pos y: see new Pos x;
- alpha at start: for fading in give alpha value to start;
- alpha at end: for fading enter final value;
- Color: color of main clip;
- Shadow color: color of shadow;
- Shade distance x: distance of shadow from object x (can be positive or negative any value, will determine the direction);
- Shade distance y: see shade distance x;
- speed for moving: speed for initial move of object if set;
- Shades number: number of shades, determines shade length as well;
- Shades alpha; transparency of shades;
- remove shades: option to remove shades slowly after a break;
- Delay for remove: if remove is true what is the delay.