Mapping Windows Colour Scheme as a colour inMacromedia Flash

11 Aug 2005 - 5:28am
8 years ago
2 replies
520 reads
Suresh JV
2004

> Mark
> We are experimenting with wanting to change the background colour of our
> flash interface to the windows colour scheme.

Since flash allows CSS support and you may specify these colors in CSS. you
may
try one of these color codes. Known to work in IE and Firefox browsers. Not
sure
if it works within Flash. Do let me know if works for you. I'd be
interested.
I've used these for table cells combined with hover to get button look and
feel.

Typical usage is something like this in CSS:
.mybutton {
text-align: center;
padding: 1px;
border: 1px solid;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
background: ButtonFace;
font-family: tahoma,verdana,sans-serif;
}

Color:, background:, background-color:, border:,
-------------------------------------------------------------------
ActiveCaption;
CaptionText;
ButtonHighlight ;
ButtonShadow ;
ButtonHighlight;
ButtonFace;
Window;
WindowText;
Menu;
MenuText;
Highlight;
HighlightText;
-------------------------------------------------------------------

Regards,
Suresh JV.

Comments

12 Aug 2005 - 7:01am
Suresh JV
2004

Hi,

The changes to OS color scheme in windows are stored in the registry. You
need
look in there to identify the colors. Mine is something like this. Browser
might
check here to identify the colors every time you load the page.

Windows Registry Editor Version 5.00 [Run "Regedit" from Cmd Prompt]
-----------------------------------------------------
[HKEY_CURRENT_USER\Control Panel\Colors] << Path inside the registry.
"ActiveBorder"="212 208 200"
"ActiveTitle"="10 36 106"
"AppWorkSpace"="128 128 128"
"Background"="58 110 165"
"ButtonAlternateFace"="181 181 181"
"ButtonDkShadow"="64 64 64"
"ButtonFace"="212 208 200"
"ButtonHilight"="255 255 255"
"ButtonLight"="212 208 200"
"ButtonShadow"="128 128 128"
"ButtonText"="0 0 0"
"GradientActiveTitle"="166 202 240"
"GradientInactiveTitle"="192 192 192"
"GrayText"="128 128 128"
"Hilight"="10 36 106"
"HilightText"="255 255 255"
"HotTrackingColor"="0 0 128"
"InactiveBorder"="212 208 200"
"InactiveTitle"="128 128 128"
"InactiveTitleText"="212 208 200"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="212 208 200"
"MenuText"="0 0 0"
"Scrollbar"="212 208 200"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"
-----------------------------------------------------

Regards,
Suresh JV.

> Abhishek Thakkar
> Sent: Friday, August 12, 2005 4:02 PM
> To: Suresh JV
> Subject: Re: [ID Discuss] Mapping Windows Colour Scheme as a colour
> inMacromedia Flash
>
>
> Check this link ... will help you in styling.
> http://www.markme.com/mc/archives/FlexStyleExplorer.html
>
> How you can detect change is something I cant tell you ... I dont
> think there is a macromedia actiontag which allowes it... Not all ppl
> are on XP, and those who are, some of them may even go for additional
> eyecandy applications and then you;ll be in a fix. In my opinion you
> can provide a couple of style sheets and let user choose its best.
>
> -Thakkar
> PS: Above is a FLEX tool ... someof them are explorable in flash
> too... this is just for reference..
>

12 Aug 2005 - 7:55am
Peter Baird
2005

Hey Abhishek,

I'm the guy who designed and built the Flex Style Explorer here at
Macromedia. I'm not sure I understood the question, but basically in
actionscript for flex there is a function called setStyle() ... And all of
the components have editable values (including the colorpicker) ... So to
set the style of a window if flex, we can really set it to any style
imaginable with a command that looks something like this:

MyWindow.setStyle('backgroundColor', myColorPicker.selectedColor); //(this
would set the background color to the user's selected color)...

Or even declaratively like this:

MyWindow.setStyle('backroundColor', #FF0000);

Anyway, hope that's helpful. If anyone's got any other questions I'm happy
to answer.

-Peter

Peter Baird | UX Consultant: IA | Macromedia Consulting | Macromedia, Inc |

On 8/12/05 8:01 AM, "Suresh JV" <sjv at inteplan.com> wrote:

> [Please voluntarily trim replies to include only relevant quoted material.]
>
> Hi,
>
> The changes to OS color scheme in windows are stored in the registry. You
> need
> look in there to identify the colors. Mine is something like this. Browser
> might
> check here to identify the colors every time you load the page.
>
> Windows Registry Editor Version 5.00 [Run "Regedit" from Cmd Prompt]
> -----------------------------------------------------
> [HKEY_CURRENT_USER\Control Panel\Colors] << Path inside the registry.
> "ActiveBorder"="212 208 200"
> "ActiveTitle"="10 36 106"
> "AppWorkSpace"="128 128 128"
> "Background"="58 110 165"
> "ButtonAlternateFace"="181 181 181"
> "ButtonDkShadow"="64 64 64"
> "ButtonFace"="212 208 200"
> "ButtonHilight"="255 255 255"
> "ButtonLight"="212 208 200"
> "ButtonShadow"="128 128 128"
> "ButtonText"="0 0 0"
> "GradientActiveTitle"="166 202 240"
> "GradientInactiveTitle"="192 192 192"
> "GrayText"="128 128 128"
> "Hilight"="10 36 106"
> "HilightText"="255 255 255"
> "HotTrackingColor"="0 0 128"
> "InactiveBorder"="212 208 200"
> "InactiveTitle"="128 128 128"
> "InactiveTitleText"="212 208 200"
> "InfoText"="0 0 0"
> "InfoWindow"="255 255 225"
> "Menu"="212 208 200"
> "MenuText"="0 0 0"
> "Scrollbar"="212 208 200"
> "TitleText"="255 255 255"
> "Window"="255 255 255"
> "WindowFrame"="0 0 0"
> "WindowText"="0 0 0"
> -----------------------------------------------------
>
>
> Regards,
> Suresh JV.
>
>
>> Abhishek Thakkar
>> Sent: Friday, August 12, 2005 4:02 PM
>> To: Suresh JV
>> Subject: Re: [ID Discuss] Mapping Windows Colour Scheme as a colour
>> inMacromedia Flash
>>
>>
>> Check this link ... will help you in styling.
>> http://www.markme.com/mc/archives/FlexStyleExplorer.html
>>
>> How you can detect change is something I cant tell you ... I dont
>> think there is a macromedia actiontag which allowes it... Not all ppl
>> are on XP, and those who are, some of them may even go for additional
>> eyecandy applications and then you;ll be in a fix. In my opinion you
>> can provide a couple of style sheets and let user choose its best.
>>
>> -Thakkar
>> PS: Above is a FLEX tool ... someof them are explorable in flash
>> too... this is just for reference..
>>
>
> _______________________________________________
> Welcome to the Interaction Design Group!
> To post to this list ....... discuss at ixdg.org
> (Un)Subscription Options ... http://discuss.ixdg.org/
> Announcements List ......... http://subscribe-announce.ixdg.org/
> Questions .................. lists at ixdg.org
> Home ....................... http://ixdg.org/

Syndicate content Get the feed