Solved

Change the entire website color scheme

Posted on 2004-10-14
6
151 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
6 Comments
 
LVL 8

Accepted Solution

by:
Cerf earned 20 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now