Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-16-2001, 03:11 PM   #1
Sylvie
Registered User
 
Join Date: Mar 2001
Posts: 1
Unhappy

I would like to mke a flash movie with a changing background color. Does anyone know how to do this? Tnx
Sylvie is offline   Reply With Quote
Old 03-16-2001, 05:11 PM   #2
Marx
New Member
 
Join Date: Feb 2001
Posts: 378
Default

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.
Marx is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background class MichaelxxOA ActionScript 2.0 20 05-30-2006 10:23 PM
Changing a table background image? mitcho ActionScript 1.0 (and below) 7 01-15-2006 01:05 AM
Changing movie background color with scaleable movie myarro ActionScript 2.0 1 01-26-2005 09:19 PM
Changing background color for Flash Buttons via parameters of "flashvars" adoti ActionScript 2.0 0 10-14-2004 06:58 PM
Changing Background Colors JMLstudio ActionScript 1.0 (and below) 3 03-16-2001 05:18 PM


All times are GMT. The time now is 04:27 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.