Solved

Change the entire website color scheme

Posted on 2004-10-14
6
178 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

Industry Leaders: 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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

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