View Full Version : Changing colors in background
Sylvie
03-16-2001, 03:11 PM
I would like to mke a flash movie with a changing background color. Does anyone know how to do this? Tnx
Hi...
The best way would be to use a MC as your background, then you can change the MC's color by using the color object:
on (release) {
myColor=new Color(background);
myColor.setRGB(0xFF3366);
}
This action is placed on a button. If you wanted to alter the color automatically then place the action in a frame:
myColor=new Color(background);
myColor.setRGB(0xFF3366);
Both of these actions target the MC named 'background'.
Hope this helps.
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.