Styling WINDOW component

Posted on 2006-04-26
Last Modified: 2010-04-03
As some of you may know, I'm using the Window Component from User Interface. I simply wanted to know how to style it. The docs say I can use haloOrange, etc with "themeColor" but it doesn't seem to take effect...

Question by:drakkarnoir
    LVL 17

    Accepted Solution

    You can use like follows.

    window_mc.setStyle("fontSize", "9");
    window_mc.setStyle("embedFonts", false);
    window_mc.setStyle("fontFamily", "Arial");
    window_mc.setStyle("fontWeight", "bold");
    window_mc.setStyle("borderColor", 0xFFFFFF);
    window_mc.setStyle("borderStyle", "none");
    window_mc.setStyle("backgroundColor", 0x094886);
    window_mc.setStyle("disabledColor", 0x999999);
    window_mc.setStyle("rollOverColor", 0x000000);
    window_mc.setStyle("headerColor", 0x002D61);
    window_mc.setStyle("todayColor", 0x000000);
    window_mc.setStyle("selectionColor", 0x003366);
    window_mc.setStyle("color", 0x003366);

    BR Dushan

    Author Comment

    How do I define window_mc?
    LVL 17

    Expert Comment

    Its name of the instance.

    BR Dushan

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    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 what frame rate is, how to control it and what effect it has on the video.

    732 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

    17 Experts available now in Live!

    Get 1:1 Help Now