Solved

Change the entire website color scheme

Posted on 2004-10-14
6
181 Views
Last Modified: 2010-04-03
Is there a way to change the entire website color scheme...currently it is a royal blue and I want to change it to a Greenish color....

Or do I have to go item by item?
0
Comment
Question by:rgagli1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 8

Accepted Solution

by:
Cerf earned 20 total points
ID: 12315303
This Q is not flash related, however, if you used CSS, it could be very easy, as easy as change the CSS style, if not, still could be easy, using macromedia dreamweaver, use the search and replace tool with the colors, select "entire site" and you should be done. Make sure you make a back up copy of the site, justin-case :-)

Hope this helps,

Cërf.
0
 
LVL 10

Assisted Solution

by:Savong
Savong earned 20 total points
ID: 12365258
To do this, the flash would need to have been set up this way.  One by having a basic color shape movie that was used throughout the site and just chaning that movie's color, or two by using actionscript and the Color Class object.  More information (at least in a general sense) is available from Macromedia here:
http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001271.html
0
 

Assisted Solution

by:subhailc
subhailc earned 20 total points
ID: 12454753
like savong said, the best way is to set it up from the get-go that way...  the best way would be to use actionscript for textfield textcolor, borderColor and backgroundColor and have each assigned to a var (e.g., myColor); then you could have buttons that change myColor from, for example red 0xff0000 to blue 0x0000ff...

but it's not entirely true that's you have to do it that way - what follows is a little heavy handed, but...

(in frame 1 of your main timeline)
function cc(target, red, green, blue) {
      for (i in target) {
            c = new Color(target);
            o = new Object();
            o = {ra:red, ba:blue, ga:green, rb:red*2.55, bb:blue*2.55, gb:green*2.55};
            c.setTransform(o);
            if (typeof (target[i]) == "movieclip") {
                  cc(target[i], red, green, blue);
            }
      }
}
this.onMouseDown=function() {
cc(this, 50, 0, 0);
}

the last 3 arguments are ranges of -100 to 100 for red, green and blue; the example - cc(this,50,0,0) increases the red of everything by 50 points; if it was cc(this,0,50,20) the function would increase the color of everything by 50 blue and 20 green.

hth gl
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question