Changing Stage Color

Can the background color of the stage be changed from an external XML file?
Any info greatly appreciated. Thanks!

Thanks, kglad.
Curious, how come the answer in the e-mail notification about your post is different from the one in the post?

Similar Messages

  • Change stage background color

    I'm wondering if there's a way to change the background color
    of the area behind the stage. On my monitor, it's a little hard to
    tell the difference between the white and light gray.
    Thanks.

    Sorry, I guess I wasn't clear.
    While working in Flash, I have a hard time distinguishing the
    stage from the area around it. I know how to change the background
    color, but want to know if there's a way to change the color of the
    area around it instead. I'm guessing there isn't, as it seems it
    would have presented itself in the menus I've looked in by
    now.

  • Newbie - how to change the color of a line using ActionScript?

    This must be the most basic question in the world, but I've
    been searching the documentation for an hour.
    All I want to do is to draw a line on the stage, and then
    change its color (or endpoint positions) dynamically using
    ActionScript.
    This is the 1st step to creating complicated dynamic
    animations... (No, I do not want to use the timeline, I want to do
    it dynamically.)
    Yet a line can't be an instance, so I'm confused -- how can I
    possibly do this? Is there some key concept I'm missing here?
    Thanks
    Michael

    AS2 required you to create your own function for doing
    primitive shapes. In AS3 that has changed and the graphics package
    includes not only the old AS2 drawing API but also has methods for
    doing squares, circles etc.
    If you are a VB programmer, my honest opinion is to leave
    your traditional OOP mindset at the door when using Flash.
    Actionscript is still in its infancy and although AS3 does really
    strive for OOP oneness, it isn't there 100% like VB is which has
    been around 20 years longer and gone through numerous additions
    etc. Whenever I learn a new language VB, PHP, C, AS, Java....I try
    my best to look at the language as its own identity. All language
    share similarities but they all have their own idiosyncrisies. Keep
    an open mind and you'll find what you need.
    Most of the seasoned guys here will also tell you that
    although the documentation is decent, you are better off going out
    and picking up a book on Flash 8/CS3 and another one on
    Actionscript. Familiarize yourself with the program that way.
    With your programming background, I'd recommend picking up
    Essential AS2 (or AS3) by Moock depending on your version of Flash.
    Also, if you are more interested in the programmatic side of Flash,
    why not look into Flex Builder and AIR. Since it is purely a
    programming environment (no Flash IDE), you'd be more
    comfortable.

  • Changing background color in Finder Cover Flow view possible ?

    Hi,
    is there any possibility to change the color of the background in the Cover Flow view of Finder ??
    Thanks for some answers

    http://forums.macrumors.com/showthread.php?t=290539
    If you search for "osx change finder window color" you will find a method (mentioned in the linked topic but not detailed) for doing this in Panther, but it may not work in Tiger. It also requires some pretty basic surgery on the OS files which is inadvisable unless you really don't care if you hose your system. Then there's Shapeshifter mentioned in the link. Again, these kind of things are trying to play with the OS at a basic level and are generally ill advised unless you really don't mind experimenting with your computer and don't care if you have to reinstall all your OS and files at some stage. They can cause unpredictable behavior with upgrades and I would not use them without regular backups.

  • How to change the color of same coloured sections of an image according to the colorpicker..?

    Hi.. How r u all..?
    I'm doing a small program to change the color of those sections of an image which are having the same color, according to the color selected from the colorpicker..
    Say we have selected a color from the colorpicker, and then the mouseclick event on the image changes the color of those parts in the image which are having the same color as the clicked portion (or pixel) to the selected color.. If we've selected FF0000 from the colorpicker, then clicked on 3300CC coloured pixel in the image. This should change the color of all the 3300CC coloured pixels in the image..
    I've a colorpicker [colpickr] and a movieclip [mc] of the image on the stage. I created a bitmap of that same same image (imag1) using code. Selecting the color from the colorpicker and a mouse click on the movieclip (here I used getPixel) will change that color in the bitmap to the selected color (with setPixel). So here I've two images; one is a movieclip (inorder to add listener for click event) and one is a bitmap (inorder to set the property setPixel). But I need only a single image.
    Please help me regarding this.. Given below is my (horrible) code..
    import flash.events.MouseEvent;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import flash.display.Loader;
    var c = 0;
    var myBitmapData:BitmapData;
    var bm:Bitmap;
    colpickr.selectedColor = 0xffffff;
    var preLoader;
    var urlReq;
    var preloader_img:MovieClip;
    preLoader =new Loader();
    preLoader.unloadAndStop();
    urlReq = new URLRequest("imag1.jpg"); // i've selected the same image as that of movieclip mc
    preLoader.load(urlReq);
    preLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,preLoaderComplete);
    //creates a bitmap image of mc..
    function preLoaderComplete(loadEvent:Event) {
        myBitmapData = new BitmapData(mc.width,mc.height);
        myBitmapData.draw(mc);
        bm = new Bitmap(myBitmapData);
        addChild(bm);
        bm.width = mc.width;
        bm.height = mc.height;
    mc.addEventListener(MouseEvent.CLICK, _onMouseClick);
    //gets the color of mc and sets the color to bitmap
    function _onMouseClick(event:MouseEvent):void {
        var myColor:uint = myBitmapData.getPixel(mc.mouseX,mc.mouseY);
        c = myColor.toString(16);
        for (var i=0; i<bm.width; i++) {
            for (var j=0; j<bm.height; j++) {
                if (myBitmapData.getPixel(i,j).toString(16) == c) {
                    myBitmapData.setPixel(i,j,colpickr.selectedColor);

    try this:
    import flash.events.MouseEvent;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import flash.display.Loader;
    var c=0;
    var myBitmapData:BitmapData;
    var bm:Bitmap;
    colpickr.selectedColor=0xffffff;
    var preLoader;
    var urlReq;
    var preloader_img:MovieClip;
    preLoader =new Loader();
    preLoader.unloadAndStop();
    urlReq=new URLRequest("z_bitmaps/image1.jpg");// i've selected the same image as that of movieclip mc
    preLoader.load(urlReq);
    preLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,preLoaderComplete);
    //creates a bitmap image of mc..;
    function preLoaderComplete(loadEvent:Event) {
        bm = Bitmap(loadEvent.target.loader.content);
        addChild(bm);
    stage.addEventListener(MouseEvent.CLICK, f);
    function f(e:MouseEvent):void{
        if(bm.hitTestPoint(mouseX,mouseY) && !colpickr.hitTestPoint(mouseX,mouseY)){
            _onMouseClick(e);
    //gets the color of mc and sets the color to bitmap
    function _onMouseClick(event:MouseEvent):void {
        c=bm.bitmapData.getPixel(bm.mouseX,bm.mouseY);
        for (var i=0; i<bm.width; i++) {
            for (var j=0; j<bm.height; j++) {
                if (bm.bitmapData.getPixel(i,j)==c) {
                    bm.bitmapData.setPixel(i,j,colpickr.selectedColor);

  • Change Windows colors in registry

    Hi
    Changing Windows colors in registry neither works here
    HKCU/Control Panel/Colors
    nor here
    HKCU/Control Panel/Desktop/Colors
    That means for example, that you can change the ActiveBorder color in the usual color dialog box: The registry value does not change in both of the above registry places.
    Or
    You can change the ActiveBorder color directly in the registry in both of the above registry places: The Windows ActiveBorder color does not change, even after a reboot.
    Obviously the color is saved in a different registry-path.
    Where exactly the Windows colors are saved in the registry, when you change them manually?
    Patrick

    Windows7 was the last OS to feature full "Advanced Appearance" dialog. For Windows8, developers aggregated these
    controls, providing simplified interface with magnification and themes selection. Sadly, this deferred expert users from genuinely customizing system's appearance. I am unsure
    about current development stage, but there is hope that upcoming OS will have these
    Advanced Settings incorporated into *.themes files; allowing greater customization power than pre-Win7 and enabling
    users to create and share their own system Theme Packs (including backgrounds, screensavers, colors, metrics and their dynamics). If we are lucky, release of application and/or metro-app to facilitate creation, editing and management of Theme Packs should
    be in order too.
    At present (Windows10
    TechPreview) we only have Control Panel page 'Display', providing multi-screen magnification control and some text formatting.
    To manually customize colors (and appearance) in Win8, Win8.1 &
    TechPreview, refer to article:
    Access Advanced Appearance Settings in Windows8 (METHOD
    2)  Take advice from
    Niki and check author's
    TIP: better transplant settings from Win7.
    MANUAL REGISTRY
    EDITING
    MISTAKES
    MIGHT DAMAGE SYSTEM!!!
    For color options see registry entries in:
    HKEY_CURRENT_USER\Control Panel\Colors
    HKEY_CURRENT_USER\Control Panel\Desktop\Colors
                              TechNet Library:    Descriptions
    of other relevant registry entries    
    Locating USER keys in registry
    >>> When finished, reload system for changes to take effect. <<<
    Have to agree with Noel: after Bill Gates left, Microsoft was pulled towards sales and monetization. (might be one of those
    things transcending Cause&Consequence-Relationship, though). Basic research of company's history would reveal some failed/suspended ideologically ambitious
    and technologically progressive projects from 20th century - wish they renew some of those.
    With general folks mass-entering digital sphere, last decade had a few good years for social media and
    googly entertainment; - for serious IT? -not
    so much. At the same time, Intel signed some dubious licenses with Apple, effectively preventing them
    from developing PC graphic drivers for PowerVR-sgx5 chips. What later on, combined with Metro resolution limitations and UAC enforcement, was very convenient for MS Surfaces' sales. Thankfully,
    now Bill Gates is back and Microsoft has "always so good" future goals, again.
    Washington Post - Ensuring Continuous Innovation of Technology
    Be the first to get Windows 10 - might be the last OS you install!

  • Possible to change the colors of the templates? Or not?

    Regarding the style templates in iWeb '06:
    I notice that each template family has a certain color. Modern is white, others are wheat colored, others light pastel green and blue. One of them is black and uses a white colored font.
    Question:
    Is the color for each template style there to stay or is it changeable? I see that column size, box side, and font size, style and color are changeable but am suspecting that the color for the style of the page is not. Correct?
    So this means that, say, if I want to change the Modern style template to be RED on one page, then I would have to paste a solid red photo on top of it and use that photo as a base upon which to add other things? Or what?
    — Lorna in Southern California

    Well, lot of it has to do with the browser. Once the
    browser background image is in the cache, it helps a
    great deal; Firefox loads it pretty quickly; Safari
    will not; Opera is 'middle-of-the-road'... (And I
    don't even want to get into Internet Explorer!). If
    your site is targeted towards the same group of
    people, say a family site for example, and your pages
    become established in their browser caches, then it's
    not a problem. But if new people are visiting
    frequently then the chances are they may never even
    see your browser image. Again, this applies when
    hosting with .Mac. I haven't had this problem
    hosting to a remote server. .Mac is just plain slow
    to load.
    And this becomes particularly exacerbated if the
    design of the page is predicated on the browser image
    you have chosen....again, the design possibilities
    are endless as you can build upon your favorite
    photo, but you really need a fast server to maximize
    the potential.
    --Ap
    Dear Ap -- I must say that I have not understood what you wrote because I lack familiarity with some of the topics/concepts/terms that you mentioned. The browser issue went over my head, although I do understand about caches (I think). What I take away from what you said is that I had better not mess around with the clever procedures described for changing page color because the downside is worse than the advantage. I might take advantage of the clever techniques later on when I actually know what's going on. I am not at the Clever Techie stage yet.
    — Lorna in Southern California

  • How Do I change the color of the background?

    I am currently working on an important project,where my client wants their image on certain colors, they were shot on a white background, so how do I change the color of the background? Do I do that in the Develop stage?  I do not want to print these, I need to export the finished images to my desktop to send to     the client! Please HELP!!! Lisa

    While this is probably a job for Photoshop rather than LR, you could probably, with a lot of work, achieve this effect using the adjustment brush in Lightroom, set it to whatever color you want and paint over the white background. But as I said, this is a job much more easily accomplished in Photoshop.

  • Changing the color of a shape as it moves and scales?

    I have a symbol of a shape with a gradient drawn in Illustrator that I copied-and-pasted into Flash CS5. I created a simple motion tween by making the symbol move around the stage and scale. How do I now change the color of the symbol as it is moving on stage?
    Thanks.

    the advice given so far is sound, but by adding adjust color filter or the color effect > tint, you will be changing your gradient to a solid color, not another gradient.
    so for instance if your gradient is a black to red linear grandient and you want it to tween to a black to blue gradient, you have to break apart your symbol, remove the existing tween and perform a shape tween.
    a shape tween can tween the gradient that fills the shape as well as the shapes position and scale.

  • CS5 Pro unable to set stage color

    I am new at the flash game, and currently trying to set the stage with a color from the classic window and properties. However when I select a stage color it remains white, and will not change.  I have tried everything I know how to do like uninstalling and re-installing, going through the endless help files and forums.
    Flash Player is 10.1.102.64
    Flash Pro CS5 is up to date.
    Thanks

    I am glad I put that I am a Noob.... turns out I didn't have the layer
    turned on.
    Thanks for the replys'
    Scott

  • Why can't change fill color??

    I am learning how to use Flash and am stuck.  Can anyone tell me what this means?  What do I need to change to be able to change fill colors?

    Thanks for the reply.
    When I click on this box, it brings up all of the different fill colors I can choose from.  When I select one, nothing happens and the fill button looks the same as in the picture above.  There is only one circle that I drew and the stage is black, although it doesn't seem to matter what color I choose for the stage.  I am positive there as something I am doing wrong, as I am still very new at Flash, I just can't seem to figure it out.

  • Problem in changing scene color

    I want to change the theme of the application window. I have used RadialGradient in scene creation. Now i want to change the theme by changing scene color.

    Hi,
    If you want to change the color of your radial gradient dynamically, you can depend on the -fx-base color.,
    Suppose, you have the style class to apply for gradient as
    .sceneGradient{
         -fx-base: red;
         -fx-background-color:radial-gradient(center 10% 10%, radius 100%, derive(-fx-base,90%) 10%, derive(-fx-base,-10%) 90%);
    }In the above class, the base color is red. I can change the theme by changing the base color dynamically.
    So please check the below SSCCE (Short, Self Contained, Correct Example) code
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class RadialGradientForScene  extends Application {
         Stage stage;
         Scene scene;
         StackPane root;
         public static void main(String[] args) {
             Application.launch(args);
         @Override
         public void start(Stage stage) throws Exception {
            this.stage = stage;
            this.stage.setWidth(600);
            this.stage.setHeight(600);
             root = new StackPane();
             root.getStyleClass().add("sceneGradient");
             this.scene = new Scene(root, Color.LINEN);
             scene.getStylesheets().add("styles/template.css");
             stage.setTitle("Radial Gradient Scene");
             stage.setScene(this.scene);
             stage.show();
             VBox vb = new VBox();
             vb.setSpacing(15);
             vb.setPadding(new Insets(15));
             vb.getChildren().addAll(getButton("Red", Color.RED),
                                     getButton("Blue", Color.BLUE),
                                     getButton("Green", Color.GREEN),
                                     getButton("Yellow", Color.YELLOW),
                                           getButton("Black", Color.BLACK) );
             root.getChildren().add(vb);
         private Button getButton(String title, final Color color){
              Button btn = new Button(title);
              btn.setOnAction(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(ActionEvent paramT) {
                                    //On click of button, i am changing the base color accordingly
                        root.setStyle("-fx-base:"+rgbToHex(color)+";");
              return btn;
         public String rgbToHex(Color color) {
              int i = (int)Math.round((double)color.getRed() * 255D);
            int j = (int)Math.round((double)color.getGreen() * 255D);
            int k = (int)Math.round((double)color.getBlue() * 255D);
             return "#"+toHex(i)+toHex(j)+toHex(k) ;
         private String toHex(int code){
              String str ="0123456789ABCDEF";
              return str.charAt(code/16)+""+str.charAt(code%16);
    }I hope this can help you to answer you question.
    Happy Coding :)
    Regards,
    Sai Pradeep Dandem.

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Change the color of the outer line of a shape

    Hello I'm trying to create a rectangle with a red border and no inside fill. It's only to highlight some text of a bank form.
    I know i have to right click the layer and choose blending options and stroke. But I've tried to change the color so many times and no matter what I do, the outer line remains gray and with rounded corners.
    I want the corners of the rectangle to be squared, not rounded but I'm having a hard time changing this.
    Please help
    I'm using Photoshop CS3
    thank you
    Could anyone please show a picture of where to change the color of the outer line? I've tried everything.

    Hi,
    With Ps CS3, you'll probably want to define a Layer Style for a Stroke and then use that with the Square Shape Layers.
    This is a Stroke of 4 px, 'Centered' (so a very slight corner rounding on the outside edge. 'Inside' will give you square corners for both inside and outside edges). To change the color of the stroke, go to Layer> Layer Style> Stroke and change the color by clicking on the color bar.
    regards,
    steve 

  • Unable to change text color (from Black)

    For the next person who blunders into this and searches for an answer...
    If you have a Condition Code whose decoration is a custom color, and you delete the color, the text goes to Black, and you cannot change the color of text bearing that CC - with local color override, or a Character Format that applies a color (I didn't try Paragraph format).
    I am copying formatted content in from an older document that doesn't conform to current templates. I had deleted unused colors in the source, but not unused Condition Codes, one of which rode in with some text. What was controlled by the CC in the old doc is now controlled by a color Character format, except that when applied, the text stayed stubornly black (until I nuked the CC).

    Dear FrameMaker 7.1/Unix user,
    This does not surprise me. As long as the condition is applied and "Show Condition Formats" is active FrameMaker will show the Condition Color (now: Black) and not any underlying text colors.
    - Michael

Maybe you are looking for

  • How can using 'jMaki' in weblogic server 10?

    i tried 'jmaki' in wls10. but fail jmaki added follow WEB-INF/lib/ajax-wrapper-comp-1.8.0.jar org.json-0.0.2.jar jsfcompounds-core-0.0.6.jar when i deployed, rising the exception... <2008. 10. 30 오전 2시 14분 59초 GMT> <Error> <Deployer> <BEA-149265> <Fa

  • Nokia C6-01

    Could anyone help. I just realised that my touch screen doesn't work. The phone has never fallen or touch water. What should I do?

  • Attaching USB hub to Aiport Express

    I'm considering the purchase of an Airport Express and was just curious as to whether I could plug a USB hub into the USB port and then connect multiple printers?

  • Action may be Required to Keep Your 10g Database Certs Active

    If your latest version of Oracle Database certification is 10, you will need to upgrade to a current version of certification by March 1, 2016 to keep your certifications active. Read More. Brandye Barrington Oracle Certification Program

  • Exchange Rate from Exchange Rate Table

    Dear All, Is there any way to make the system to take the exchange rate from the Exchange Rate table and not from the base document when we are "Copy To" functionality instead of "Copy From"? I unchecked "Use Document Exchange Rate When Copying to Ta