Why does the background color change?

Hello world...
I have a problem: when I load an external .swf into my current stage, its background color becomes like the one of current stage. Why?
Please, help me.
Emiliano.

It's because there actually is no background inside Flass. That colored area (stage) you place your items on is just there to help you see them.
For your problem, just place a colored rectangle on the bottom most layer and you'll be good.

Similar Messages

  • Why does JButton background color change when  clicking ?

    Hello,
    I have defined :
    JButton mybutton = new JButton(Icon xxx) ;
    with no associated text and I set both foreground and background colors to black, and an empty border.
    This is because the background color of the container which contents this button is also black and I want to see only the button icon.
    When I click on the icon , the button background color becomes grey. How can I change this to make it remains black ?
    Thanks a lot.
    Gege

    Well, the color changes because that is how the look and feel is defined,
    presumably to give better feedback to the user that she has clicked the
    button.
    If you don't want this, you could try using a different L&F which doesn't do this.
    Alternatively, If you've only got the one button, you could just do
        UIManager.put( "Button.select", Color.BLACK );If you have multiple buttons, and you want the other buttons to behave
    normally, you can extend the one button and have it change the color
    while it is pressed, e.g.,
    import java.awt.*;
    import java.io.IOException;
    import java.net.URL;
    import javax.swing.*;
    public class ButtonSelect extends JFrame {
         public ButtonSelect() throws IOException {
              super();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel = new JPanel();
              panel.add( new JButton( "Normal" ) );
              Image img = Toolkit.getDefaultToolkit().getImage( new URL("http://www.google.com/intl/en/images/logo.gif" ) );
              ImageIcon ii = new ImageIcon( img );
              JButton b = new JButton( ii ) {
                   static final private String KEY = "Button.select";
                   public void paint( Graphics g ) {
                        Color save = null;
                        if ( getModel().isArmed() && getModel().isPressed() ) {
                             save = UIManager.getColor( KEY );
                             UIManager.put( KEY, Color.WHITE );
                        super.paint( g );
                        if ( save != null )
                             UIManager.put( KEY, save );
              b.setForeground( Color.WHITE );
              b.setBackground( Color.WHITE );
              b.setFocusPainted( false );
              panel.add( b );
              getContentPane().add( panel );
              pack();
              setVisible( true );
         public static void main( String[] a ) throws IOException {
              new ButtonSelect();
    }

  • Why does the frame color change to black when I copy and paste between documents?

    Copying and pasting between documents in Indesign. The color of the text stays the same but the lines and frames change from a specified color to black. Also changes when I drag and drop can anyone tell me how to fix this?

    You have not provided any exact information like what version of ID, system info, paragraph styles, color definitions and whatnot, so we can't know what is going on. either way, ask in the ID forum and provide all those important details.
    Mylenium

  • Why does the Font color change on my front panel?

    I'm using the Font Dialogue to change the color of highlighted text on my front panel. After I save and reopen my app some of the Text will revert back to their original color (Black). Is this a bug in or am I missing something?

    I assume that you want all control labels with white text. If I change the black ones to white and save the VI, the white text color is retained. 
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Control Console.vi ‏90 KB

  • Why does the background color in a saved pdf disappear when opened in Acrobat Pro 9.0 but appears when opened in Adobe Reader?

    Does someone know why this happens? BTW it only started recently.

    Hi bozieone,
    Does this issue occur on any test pdf created as well?
    What OS are you using?
    Regards,
    Rave

  • Why does the elements 13 change resolution when going into the editor -- it is huge and unusable

    why does the elements 13 change resolution when going into the editor? -- it is huge and unusable

    Many mysteries...
    Which is your OS version ?
    Your screen is 1920 by 1080 pixels.
    The problem appeared after having worked normally.
    When we select a picture from the organizer (album) and click on the edit button.  The editor software changes the entire computer resolution from 1920 x 1080 to   640 x 480 (very unusable).
    That's not clear for me: did you click on the 'Edit' button on the bottom right part of the organizer, or did you use the menu or the right click popup menu to open the editor? In the second case, you are in the editor workspace.
    We tried right clicking on the Elements 13 icon, select properties and under compatibility we made sure that "run in 640 x 480 screen resolution" was de-selected, and it was.    Cannot find any properties window for the editor?  
    The editor has its properties in the 'Edit/preferences' menu, but there is nothing about resolution there.
    Just to be sure : when you are in the organizer with the left 'Folders' panel shown, you highlight one of those pictures to edit. Then you right click and choose to "go to folder". Do the images are shown as 'offline' ? If that is the case, the original are on an external drive which is not connected, and what you are seeing is a 'preview' copy on your computer with 640 x 480 resolution.

  • Why does the menu option change to "save as" after I select the print button?

    why does the menu option change to "save as" after I select the print button?

    >>The print command is selected in the File pull down menu, the print menu page pops up, I can then select my networked printer (which incidentally is confirmed to work with other software), the print command is in the bottom right hand corner and finally after depressing this print button a "save as" pop-up menu appears and then it only re-saves the file. Is this an issue with the pdf reader install?  

  • Why is the background color not applied in one case?

    Hi,
    I'm using RH 7 and WebHelp.
    I apply a TableHeading style to the first row of my tables. The TableHeading style is supposed to fill the cells of the first row with a background color of blue, and the text is in white. It works fine except for one table. I think TableHeading style was not applied in the Word document when I imported this topic. I tried to apply the TableHeading style to the first row, and it says it is applied in the HTML. But, the background blue does not fill the cells.
    Here is what I am trying to achieve:
    Here is my problem table:
    I can see in the HTML that the background color is not present in the code. Here is the code for the example that is correct:
    <p class=TableHeading>Chapter</td>
    <td style="border-left: none; border-right: solid #000000 1.0px; border-top: solid #000000 1.0px; border-bottom: solid #000000 1.0px;
              width: 279.4pt; padding: 0in 5.4pt 0in 5.4pt; background-color: #003399;"
    bgcolor=#003399 width=279.4pt>
    <p class=TableHeading>Description</td></tr>
    <tr><td style="x-cell-content-align: top; border-left: solid #000000 1.0px; border-right: solid #000000 1.0px; border-top: none;
                       border-bottom: solid #000000 1.0px; width: 182.85pt; padding: 0in 5.4pt 0in 5.4pt;
                       padding-left: 0px; padding-top: 0px; padding-right: 0px;
                       padding-bottom: 0px;" valign=top width=182.9pt>
    Here is the code for my problem table:
    <p class=TableHeading>Activity</td>
    <td style="border-left: none; border-right: solid #000000 1.0px; border-top: solid #000000 1.0px; border-bottom: solid #000000 1.0px;
              width: 168.0pt; padding: 0in 5.4pt 0in 5.4pt;" width=168pt>
    <p class=TableHeading>Keyboard Shortcut</td></tr>
    <tr style="x-cell-content-align: center;" valign=middle>
    <td style="width: 374px; x-cell-content-align: top; border-left: solid #000000 1.0px; border-right: solid #000000 1.0px;
              border-top: none; border-bottom: solid #000000 1.0px; padding: 0in 5.4pt 0in 5.4pt;
              padding-left: 0px; padding-top: 0px; padding-right: 0px;
              padding-bottom: 0px;" valign=top width=374px>
    Here is the code from the CSS:
    p.TableHeading {
    background-color: #003399;
    punctuation-wrap: simple;
    text-autospace: none;
    font-size: 10.0pt;
    font-weight: bold;
    color: #ffffff;
    font-family: Verdana, sans-serif;
    margin-left: 3pt;
    margin-right: 3.0pt;
    line-height: 120%;
    margin-top: 0pt;
    margin-bottom: 0pt;
    LI.p-TableHeading {
    punctuation-wrap: simple;
    text-autospace: none;
    font-size: 10.0pt;
    font-weight: bold;
    color: #ffffff;
    font-family: Verdana, sans-serif;
    line-height: 120%;
    Any suggestions?
    Thanks,
    Julie
     I don't understand why the TableHeading style is not applying the background color for the one table. I'm guessing I could just add it to the code using the HTML editor. However, I wasn't sure if that was the best way to fix this problem or if I would create another problem.

    Hi Willam,
    Thanks for your answer, and I will go ahead and add the background color to the problem table.
    However, I am still puzzled as to why the background color is applied to the cells in the other tables and not the problem table. I'm not sure what I did to cause the problem - how I applied the TableHeading to the table cell in one case and not the other. Any ideas how I can avoid this problem?
    I will not use the Word documents going forward and will only make changes with the RH editor.
    Thanks again,
    Julie

  • When using classic dialog controls in labview 7.1 why does the text color that I have selected always stays black?

    I have an older program created in LV 6.0.2 that uses dialog buttons. The text color is red or blue. When I load it into LV 7.1 the color stays black. When I edit text I can see that the color is correct but it will not display the color when I leave edit mode on the control. Even if I select a new button from the classic tools pallete "dialog controls" I am unable to change the text color.
    What is happening? Why does LV 7.1 prevent this text color change?
    Roger

    The dialog control colors are set by the operating system so they match other controls that the OS generates. So in LabVIEW 6, they were actually not behaving correctly.
    The following text is from the LabVIEW help on Dialog controls.
    "You cannot customize the appearance of the dialog spin control, slide controls, or progress bars because the controls and indicators use platform-specific drawing functions that do not support customization. You also cannot use Property Nodes and Invoke Nodes to customize the appearance of these controls and indicators."
    If you need different text color, you'll have to use the non dialog controls.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Why does my font color change when I add an image to InDesign?

    Hello, I am doing a page layout in InDesign and I am using a light blue font for my title but when I add an image from Photoshop, the font color turns dark blue. When I open the InDesign file in Adobe Acrobat, my title is still dark blue. It's only when I make a PDF of the file in Acrobat and open it in the Safari browser that the title goes back to its original light blue font. Is there something I can do to fix this? Thank you!

    Not a good idea. The flattened PSD has lost all its layers, adjustments, and effects. I hope you don’t need to edit it or change any layer’s visibility. Either that or you now have two files to keep track of and have neutered InDesign’s Edit Original feature. Better to take Peter’s advice and place the text above the image so it is not affected by transparency flattening. If you need the text below because you want the drop shadow to interact with the text, then use Overprint Preview (View menu) or Separations Preview (Window > Output) to get a more accurate view of the text colour.

  • Why does the Background Layer unlock itself?

    When I open a picture in PS the first layer is a locked background layer. If I start working in PS it changes automatically to an unlocked Layer 0. I want it to stay as an locked background layer. I have used PS for a few years, and just started happening.

    With the new version of Photoshop if you work on the background layer and do something like click on the add layer mask icon in the layer palette. Since the background layer does not support transparency Photoshop knows you need to convert the background layer to a normal layer so Photoshop automatically does that for you.  If you just paint on the background layer or clear or fill an area, stroke a selection it will remain a background layer  with its transparency locked.  The Background layer is only partially locked so you can work on it as shown by the un-filled in lock icon on the background layer in the layer palette.  If you look here you see layer 2 is unlocked, Layer 1 is fully locked and the background layer is partly locked and has been worked on.

  • Why does the zoom keep changing in Photoshop CS6?

    Hi,
    I have just recently bought photoshop, When I use the magnifier, it sometimes zooms on the left mouse button and zooms out on the right mouse button. Other times it dosn't do this. Why does it keep changing and how do I get it to stay on L/R button zoom? 
    I have just created my new site that has many English teachers on Skype All this was done using Photoshop cs6 but I had the problem with the zoom the whole time!!
    Please help me with this annoyance!

    Other times it dosn't do this.
    That’s a bit vague and you do not provide a lot of information, please read
    http://forums.adobe.com/message/4587299#4587299

  • Why does the file size change when put into an iDVD project? And problems with dual layer discs...

    I exported a short video of mine from Final Cut Express and the size of the file came out to 7.3 GB. When I put it into an iDVD project, it says that the file is only 800 MB. I tried just burning it onto a dual layer disc anyway to see if it might still burn at the original file size, but the disc came out unusable for some reason, and obviously hadn't been burned anywhere near full-capacity. So, I tried it again, and the exact same thing happened.
    I guess my first question is: why is iDVD changing the size of the file? I want the quality to be the best it can be, so keeping it at 7.3 GB as opposed to 800 MB is rather important.
    Secondly, why did the dual layer discs come out unusable? I've burned single layer discs before and they haven't been an issue. Also, I know for a fact that the drive can burn dual layer discs, so that isn't the issue.
    Thanks in advance to anyone who can provide me with help on this issue.

    LivelyJamesS wrote:
    I exported a short video of mine from Final Cut Express and the size of the file came out to 7.3 GB. When I put it into an iDVD project, it says that the file is only 800 MB.
    Guessing here but it looks like you edited/exported an SD/DV sequence of about 30 min in FCE. DVD needs to be MPEG-2 so iDVD compresses the original file down to the size that you report.
    LivelyJamesS wrote:
    I guess my first question is: why is iDVD changing the size of the file? I want the quality to be the best it can be, so keeping it at 7.3 GB as opposed to 800 MB is rather important.
    The quality will be what the MPEG-2 compression and the software allow for. MPEG-2 is DVD standard .... there's no way around that.
    LivelyJamesS wrote:
    Secondly, why did the dual layer discs come out unusable? I've burned single layer discs before and they haven't been an issue. Also, I know for a fact that the drive can burn dual layer discs, so that isn't the issue.
    Guessing again but it would seem that you burned a Data DVD instead of a Video DVD which would be unusable by a set-top player. As I said above you can't get around DVD standards.
    If by any chance your video was HD originally you can try to go the Blu-Ray route using Roxio Toast or FCS 3 (discontinued) or FCP X. You will also need a Blu-Ray burner.

  • Why does the browser window change colour when I bookmark a page or click the Downloads button?

    Using Firefox 20 on MacOS - when I click the Downloads button or Cmd-D to bookmark a page, the browser window changes from looking like this:
    https://dl.dropboxusercontent.com/u/35912963/01-firefox-before.png
    to looking like this:
    https://dl.dropboxusercontent.com/u/35912963/02-firefox-after.png
    Any thoughts would be welcome.
    Dan

    Hi there,
    Wow, that looks odd! I have no idea why that would happen, but I wonder if it's related to one of the add-ons you have installed? I see a red icon in the status bar that I'm not familiar with, which leads me to believe that you may have other add-ons installed. One thing to try is to start Firefox Firefox with add-ons disabled (you can do this from the Help menu). If you don't see this problem in that mode, the issue is caused by one of the add-ons. From the Tools menu, you can access the add-ons and disable them one by one. Remember to restart each time and then test it out.
    If none of that takes care of this, my other suggestion would be Firefox Reset: [[Reset Firefox – easily fix most problems]]
    Hope any of this helps.
    Cheers,
    David

  • Why does the background on my 24" iMAC turn light blue?

    I find that frequently the background on my 24" iMAC turns blue. This happens when using Word and Firefox. Any suggestions on likely cause?

    I'm having this problem, too. At least it may be the same thing. What I've determined is the screen gets zoomed in somehow (accidentally repeated tapping?) this am it happened again while I was hitting snooze for the 10th time lol
    Anyway, it's happened several times since buying the phone 2wks ago. The whole screen is water, but if I persist in sliding I can find images blown up. I always have to shut down and that's hard to do with the screen so large, because you can't easily get to the power off slide.
    Is there something I can do to fix this or do I need to take it back?
    Thanks

Maybe you are looking for

  • How to create own SplitPaneDivider and how to use it

    Hi, I'm trying to create my own SplitPaneDivider and set it for one of my SplitPanes by doing: JSplitPane splitterPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true,listTablePanel, editorPanel); splitterPanel.setOneTouchExpandable(true); splitt

  • Iphoto hid my pictures when i opened a CD of pictures in iphoto

    I put in my sisters wedding picture cd and iphoto asked me for an update, i clicked yes, now all 5,000 of my pictures are no longer in iPhoto, but they slide thru on my desktop pictures. They only pictures in iphoto are the 382 from her CD......I am

  • 2010 ATV and Wireless Router Combinations that Work/Don't Work

    I am interested in seeing what configurations seem to work out there (as I am considering replacing my router but am worried that I will still have issues). Here goes Symptom: Drops wireless connection/loss of wireless settings Config: 2010 ATV (x2),

  • Deluge under arch linux - one observation

    Hello, There were various problems with deluge bittorrent client under arch linux, but it seems to work if no plugins are enabled. This is with deluge version 1.1.9 run under a "normal" user account (not started from /etc/rc.d/deluge). Kind regards,

  • IOException Error, when file reading

    Error is: java.io.FileNotFoundException: input.txt (The system cannot find the file specified) I get the error when i try to run the Copy class from the following location: http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html The tex