Adding background image using Loader ()

Hi all,
Am working on a simulation and am running into some trouble.
I am attaching what I have so far. (I'm just in beginning stages so
it's nothing fancy)
What I still need to do is place the main image into the code
using this code:
var somePictLdr:Loader = new Loader();
var request:URLRequest = new URLRequest("octopus.jpg");
<--name of my image on my desktop
somePictLdr.load(request);
addChild(somePictLdr);
I don't know where to put the code in what I already have.
Can anyone help?
Also, I want to add some sort of stop button so when the user
presses 'b' for blue, the blue bubbles come up but when the user
presses 'o' for orange, I want the blue bubbles to stop and the
orange ones to come up.
Can anyone help me? I have messed up the code so many times
that I'm scared to go back into it and mess up what is actually
semi-working. I just need to know exactly where the code goes and
what it should say because I can't even get that part right. *ugh*
Thank you.
Jill

Hi jillybean,
On where to place the code in question, you want to declare
the variable above the bath2 constructor function, by the bubble
array declaration, for example. With slight changes, also, like
this:
var somePictLdr:Loader;
var request:URLRequest;
The code for loading the pic should go in the bath2
constructor function, as follows:
public function bath2() {
somePictLdr = new Loader();
request = new URLRequest("octopus.jpg");
somePictLdr.load(request);
addChild(somePictLdr);
As for your frustration, that is typical of learning a new
language - more examples, and more success will take care of
that.

Similar Messages

  • I need help Centering a div box to a background image using dreamweaver cs5.5.

    I need help Centering a div box to a background image using dreamweaver cs5.5. Everything shift left when viewing on different size monitors?  See what I mean at
    www.woodlandhospice.com

    Have you looked at your page with images disabled?
    I urge you to re-think this approach to web design because images of text are not indexed by search engines, screen readers or translators.  Given the demographic group your site is targeting, you really need to ensure maximum web accessibility for all users.
    Navigation, headings and descriptions all need to be in real text -- not images of text.
    Ken is right.  Absolute positioning is pure poison for such a simple layout.  My advice is to start over with one of the pre-built Starter Pages in DW.  Go to File > New > Blank page > HTML.  Select a layout from the 3rd column and hit CREATE button.
    Nancy O.

  • I would like to know how to stretch a background image using HTML

    Hello Seniors of Sun,
    I gota small doubt in HTML, can any one please help me in solving it,
    I would like to know how to stretch a background image using HTML? I have tried and tried to figure this out and cannot..
    so any one kindly help me in this...
    waiting for reply...

    Please note that this is not an HTML forum.
    You can use an image tag on a DIV positioned behind the rest of the page, so that could actually work. And if you want to use body:background, then look up an HTML/CSS reference and see if there are any other body attributes or CSS stuff that applies to the background image.

  • Adding background image to JFrame

    This is the code I have now. I want to add a background image to the JFrame, and it needs to be where i type the file name of the image into the program code and it loads it from my computer.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class GUIFrame extends JFrame implements ActionListener, KeyListener
         Display myDisplay;
         Button guess;
         Button solve;
         TextField input;
         JTextArea guessedLetters;
         MenuBar myBar;
         Menu fileMenu;
         MenuItem fileNewGame;
         MenuItem fileQuit;
         * constructor sets title of GUI window
         GUIFrame()
              super("Hangman");
              setSize(1000,600);
              guess = new Button("Guess");     
              guess.setFocusable(false);
              solve = new Button("Solve");     
              solve.setFocusable(false);
              input = new TextField(20);
              guessedLetters=new JTextArea(10,10);
              guessedLetters.setEditable(false);
              myBar=new MenuBar();
              fileMenu=new Menu("File");
              fileNewGame=new MenuItem("New Game");
              fileQuit=new MenuItem("Quit");
              myDisplay = new Display();     //make an instance of the window
              setLayout(new FlowLayout());     //How things are added to our Frame
              add(myDisplay);
              add(guess);
              add(solve);
              add(input);
              add(guessedLetters);
              setMenuBar(myBar);
              myBar.add(fileMenu);
              fileMenu.add(fileNewGame);
              fileMenu.add(fileQuit);
              addKeyListener(this);
              guess.addActionListener(this);
              solve.addActionListener(this);
              setVisible(true);     //make the frame visible
         * exectues when user presses a button.
         public void actionPerformed(ActionEvent e)
         public void keyPressed(KeyEvent e)
         public void keyReleased(KeyEvent e)
         public void keyTyped(KeyEvent e)
    }

    Look in the API under JFileChooser and Scanner to see how to get the file name. One you have it, you can load the file easily using several different methods...
    This is even easier, you can paint and image onto anything you like with this method:
    g.drawImage(image, 0, 0, null); //where g is the graphics context from the object you want to paint.
    Simple as that.
    The biggest problem you'll have with painting images onto other objects is making sure the image is loaded before you try to draw it; use ImageIO to load or add your image to a MediaTrakker after your load statement like this:
    Image im = (Image)ImageIO.read(new File("c:/myImages/myImage.jgp"));
    or
    BufferedImage bi = ImageIO.read(new File("c:/myImages/myImage.jgp"));
    or
    Image image = Toolkit.getDefaultToolkit().getImage("c:/myImages/myImage.jgp");
    MediaTracker mediaTracker = new MediaTracker(jf);
    mediaTracker.addImage(image, 0);
    mediaTracker.waitForID(0);
    BTW: what this means it that you can paint right onto the graphics content of the JFrame and not have to worry about any other containers if you want.
    If you expect the image to last more than just a flash, then you also need to override your paintComponents(Grahics) method to paint your graphics to your screen.

  • Adding background image to JPanal...............PLEASE PLEASE HELP

    Hi,
    i am very very stuck in adding a image to a JPanel. here is my code could any one please show me where and how to add an image to this please. a sample code would be prefered.
    Thanks
    * card.java
    public class card extends javax.swing.JFrame {
    /** Creates new form card */
    public card() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;
    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    getContentPane().setLayout(new java.awt.GridBagLayout());
    setTitle("Card Game");
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    jPanel1.setLayout(new java.awt.GridBagLayout());
    jPanel1.setBackground(new java.awt.Color(255, 255, 255));
    jLabel1.setIcon(new javax.swing.ImageIcon("card game implementation\\headingF1.jpg"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.insets = new java.awt.Insets(5, 145, 0, 205);
    jPanel1.add(jLabel1, gridBagConstraints);
    jButton1.setIcon(new javax.swing.ImageIcon("card game implementation\\Nigat\\helpbuttonF.jpg"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = -36;
    gridBagConstraints.ipady = -10;
    gridBagConstraints.insets = new java.awt.Insets(83, 40, 130, 40);
    jPanel1.add(jButton1, gridBagConstraints);
    jButton2.setIcon(new javax.swing.ImageIcon("card game implementation\\Nigat\\newgame1.jpg"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = -39;
    gridBagConstraints.ipady = -12;
    gridBagConstraints.insets = new java.awt.Insets(213, 40, 0, 40);
    jPanel1.add(jButton2, gridBagConstraints);
    jButton3.setIcon(new javax.swing.ImageIcon("card game implementation\\Nigat\\quit1.jpg"));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = -39;
    gridBagConstraints.ipady = -12;
    gridBagConstraints.insets = new java.awt.Insets(80, 40, 70, 40);
    jPanel1.add(jButton3, gridBagConstraints);
    jPanel2.setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.ipadx = 420;
    gridBagConstraints.ipady = 400;
    gridBagConstraints.insets = new java.awt.Insets(43, 60, 40, 0);
    jPanel1.add(jPanel2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 1, 1);
    getContentPane().add(jPanel1, gridBagConstraints);
    pack();
    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
    * @param args the command line arguments
    public static void main(String args[]) {
    new card().show();
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    // End of variables declaration

    My images loaded up just fine. I left them in and commented out. Try using the single forward slash below...
    public class CardTest extends javax.swing.JFrame {
        /** Creates new form card */
        public CardTest() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;
            jPanel1 = new javax.swing.JPanel();
            jLabel1 = new javax.swing.JLabel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jPanel2 = new javax.swing.JPanel();
            getContentPane().setLayout(new java.awt.GridBagLayout());
            setTitle("Card Game");
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            jPanel1.setLayout(new java.awt.GridBagLayout());
            jPanel1.setBackground(new java.awt.Color(255, 255, 255));
            jLabel1.setIcon(new javax.swing.ImageIcon(
                            //"images/T1.gif"));
                            "card game implementation/headingF1.jpg"));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.insets = new java.awt.Insets(5, 145, 0, 205);
            jPanel1.add(jLabel1, gridBagConstraints);
            jButton1.setIcon(new javax.swing.ImageIcon(
                             //"images/T2.gif"));
                             "card game implementation/Nigat/helpbuttonF.jpg"));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.ipadx = -36;
            gridBagConstraints.ipady = -10;
            gridBagConstraints.insets = new java.awt.Insets(83, 40, 130, 40);
            jPanel1.add(jButton1, gridBagConstraints);
            jButton2.setIcon(new javax.swing.ImageIcon(
                             //"images/T3.gif"));
                             "card game implementation/Nigat/newgame1.jpg"));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.ipadx = -39;
            gridBagConstraints.ipady = -12;
            gridBagConstraints.insets = new java.awt.Insets(213, 40, 0, 40);
            jPanel1.add(jButton2, gridBagConstraints);
            jButton3.setIcon(new javax.swing.ImageIcon(
                             //"images/T4.gif"));
                             "card game implementation/Nigat/quit1.jpg"));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.ipadx = -39;
            gridBagConstraints.ipady = -12;
            gridBagConstraints.insets = new java.awt.Insets(80, 40, 70, 40);
            jPanel1.add(jButton3, gridBagConstraints);
            jPanel2.setLayout(new java.awt.GridBagLayout());
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridheight = 2;
            gridBagConstraints.ipadx = 420;
            gridBagConstraints.ipady = 400;
            gridBagConstraints.insets = new java.awt.Insets(43, 60, 40, 0);
            jPanel1.add(jPanel2, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.insets = new java.awt.Insets(0, 0, 1, 1);
            getContentPane().add(jPanel1, gridBagConstraints);
            pack();
        /** Exit the Application */
        private void exitForm(java.awt.event.WindowEvent evt) {
            System.exit(0);
         * @param args the command line arguments
        public static void main(String args[]) {
            new CardTest().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        // End of variables declaration
    }

  • Adding background image to navigation tabs

    I am adding a backgraound image to a navigation tab and so far have found the only way to do this is by modifying the HTMLTableCell class and adding a method that sets the background image. The closest existing method is setBgColor - which doesn't work.
    I'm sure there has to be a better way to do this?
    Thanks

    My favorite technique is to use CSS. Try this in a stylesheet:
    BODY { background-image: url(marble.gif);           background-color: #cccccc; } P { background-image: none;           background-color: #cccccc; }
    For more information visit http://css.nu/.
    You can apply that style to a <DIV> you use to bound your header, for instance.
    David Phipps
    Plumtree Software

  • Adding background image to Spry Menu Bar?

    Hi Everyone,
    I have a question concerning adding a background image to a horizontal spry menu.
    1) I am using Dreamweaver CS4.
    2) I am inserting this menu bar on a HTML document.
    3) I have created and am using an external style sheet (CSS)
    I am not sure on which style(s) ("ul.*) to edit in order to acheive this.
    I have a total of four(4) different images I would like to use, they are...
    1) Horizontal Menu Bar (main menu bar)
    2) Horizontal Menu Bar - Rollover
    3) Submenu
    4) Submenu - Rollover
    Also I would like the text to be centered on the button.
    I have somewhat acheived this using the instructions for "customize this widget", yet the image "repeats" because the button is larger than the image.
    I have not tried to center the text, this may be a very simple thing, if so just let me know.
    What I dont know, and was hoping someone could tell me, is which style(s) ("ul.*) to edit in order to acheive this.
    If anyone needs anymore information, just let me know and I will give it to you as soon as possible.
    Also I have attached three(3) of the four(4) pictures I would like to use. (this is the maximum)
    Any help will be greatly appreciated,
    Musicman1994

    I'd like to thank everyone with their help so far, but I am still having trouble.
    I have tried both suggestions and the results are...
    The one suggested by dhvani2511 gave me this...
    (The cursur is over "Item 1" it is not blue when a cursur is not over it.)
    I would like the image to "be" the button, not just "in" it,if that makes sense.
    I have slightly tried the one suggested by .V1 but being that I am new to dreamweaver, code, etc. I am not sure where to copy/paste the code that you gave me.
    Does anyone have anymore information?
    Thanks,
    Musicman1994

  • My background image wont load

    I did my entire site but then when i added the image for the background it didnt show up once i pressed f12 but shows up in design mode. i started a new html and kept in the least amount of data or code on the site but can someone help or amend my code and tell me why my background image will not load. thanksss
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script type="text/javascript" src="http://interface.eyecon.ro/jquery/jquery.js"></script>
    <script type="text/javascript" src="http://interface.eyecon.ro/interface/interface.js"></script>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    body {
      background-image: url(Wallpaper.jpg);
    .center {
      width: 65%;
      margin-right: auto;
      margin-left: auto;
    </style>
    </head>
    <body>
    <div class="center">Content for New Div Tag Goes Here
    <style type="text/css" media="all">
    margin: 0;
    padding: 0;
    body
    background: #fff;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    .fisheye{
    text-align: center;
    height: 50px;
    position: relative;
    a.fisheyeItem
    text-align: center;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    width: 40px;
    position: absolute;
    display: block;
    top: 0;
    a.fisheyeItem2
    text-align: center;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    width: 40px;
    position: absolute;
    display: block;
    bottom: 0;
    .fisheyeItem img
    border: none;
    margin: 0 auto 5px auto;
    width: 100%;
    .fisheyeItem2 img
    border: none;
    margin: 5px auto 0 auto;
    width: 100%;
    .fisheyeItem span,
    .fisheyeItem2 span
    display: none;
    positon: absolute;
    .fisheyeContainter
    height: 50px;
    width: 200px;
    left: 75px;
    position: absolute;
    top: -2px;
    #fisheye2
    position: absolute;
    width: 293px;
    bottom: 355px;
    left: 800px;
    top: 320px;
    </style>
    <div id="fisheye2" class="fisheye">
    <div class="fisheyeContainter" style="left: -28.5px; width: 350px;">
    <a href="#" class="fisheyeItem2" style="width: 70px; left: 0px;"><span style="display: none;">Charity</span><img src="CHARITIES BUTTON.png" width="100"></a>
    <a href="#" class="fisheyeItem2" style="width: 70px; left: 70px;"><span style="display: none;">Events</span><img src="EVENTS BUTTON.png" width="100"></a>
    <a href="#" class="fisheyeItem2" style="width: 70px; left: 140px;"><span style="display: none;">Location</span><img src="LOCATION BUTTON.png" width="100"></a>
    <a href="#" class="fisheyeItem2" style="width: 70px; left: 210px;"><span style="display: none;">Tickets</span><img src="TICKETS BUTTON.png" width="100"></a>
    <a href="#" class="fisheyeItem2" style="width: 70px; left: 280px;"><span style="display: none;">Multimedia</span><img src="Multimedia Button.png" width="100"></a>
    </div>
    </div>
    <p>
      <script type="text/javascript">
    $(document).ready(
    function()
    $('#fisheye').Fisheye(
    maxWidth: 35,
    items: 'a',
    itemsText: 'span',
    container: '.fisheyeContainter',
    itemWidth: 70,
    proximity: 90,
    halign : 'center'
    $('#fisheye2').Fisheye(
    maxWidth: 35,
    items: 'a',
    itemsText: 'span',
    container: '.fisheyeContainter',
    itemWidth: 70,
    proximity: 80,
    alignment : 'left',
    valign: 'bottom',
    halign : 'center'
      </script>
      <script language="JavaScript" type="text/javascript">var client_id = 1;</script>
      <script language="JavaScript" src="http://stats.byspirit.ro/track.js" type="text/javascript"></script>
      <noscript>
      &lt;p&gt;&lt;img alt="" src="http://stats.byspirit.ro/image.php?client_id=1" width="1" height="1" /&gt;&lt;/p&gt;
        </noscript>
    </div>
    </body>
    </html>

    Your code has  a lot of errors.
    Try this:
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Page title</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
        margin: 0;
        padding: 0;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    body {
        font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
        background: #FFF url(Wallpaper.jpg);
        font-size: 100%;
    </style>
    </head>
    <body>
    <header>
    <h1>Heading 1 text</h1>
    <h2>Heading 2 text</h2>
    </header>
    <article>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    </body>
    </html>
    Nancy O.

  • Adding background image to portlet title bar

    Hi,
    Does anyone know how to add a background image to a portlet title bar. I have tried using the LAF editor but nothing seems to work. The image will be static and not change.
    Any help appreciated.

    Hi Chris
    You have to modify the .css file depending on the type of Skin you are using like "default" or "bighorn" in case of 10.x and 9.x etc. Best thing is to install Firebug for Firefox and inspect the Titlebar in firebug. That should tell exactly which .css file and which element in that .css file is used to render the Portlet Title bar.
    For "default" skin, the file is window.css and the element in this file is ".bea-portal-window-titlebar" with background-color: #XXXXXX. Replace this or add another field like background-image: url(your image path). This window.css file can be found under WebContent\framework\skins\default\css\window.css. Remember that in 9.x and 10.x to see this file from Workshop IDE, you need to switch view to Merged Projects and select this file and copy this to your project to view it. BUT, I would not recommend to modify any out of box .css file. Instead create a new file custom.css file and add entries in this file which you want to overwrite. This is the standard way to customize any out of box skins look and feel. So in your custom.css file your will have one entry like this:
    .bea-portal-window-titlebar {
    background-image: url(your image path)
    For "bighorn" skin introduced in 9.x and 10.x, the elements in .css files are slighty different but the concept is same. I customized out of box bighorn skin to change background color of portlet title bar. The .css location for portlet title bar for bighorn skin is: WebContent\framework\skins\bighorn\css\colors.css and the element is ".wlp-bighorn-titlebar". For quick testing from Firebug, inspect this element and change the background color to something else and see if it reflects in Firefox. Then you can create custom.css file under same folder structure in your portal web project and over write this element and this field alone with the background-image that you want something like:
    .wlp-bighorn-titlebar {
    background-color:#FF0000;
    background-image:url(your image path);
    It is highly recommended to have all customizations go into custom.css file only. Please make sure that you have this custom.css file entry in the skin.xml file (in case of bighorn) or skin.properties file (in case of old legacy default skin). This .xml or .properties file can be found under same folder structure like: WebContent\framework\skins\yourSkin. For new bighorn skin.xml file this custom.css file entry is already there. But for old legacy default skin you may need to add this entry.
    HTH
    Ravi Jegga

  • Setting a background image using CSS Designer

    I am trying to set a background image for a page header using the CSS Designer. When I click the browse button the Select Image Source dialog box launches but any time I click on something the dialog box closes and no changes are made. Does anyone know what is causing this?

    Which DW are you using and which platform/OS, please? I am unable to reproduce this with CC2014 on OS10.9.4

  • Adding background image in JavaFX

    I am using javafx integrated with jswing.How to add a backgroung image to gridpane layout in javafx?The image must be resizable on maximizing the frame.Please help.
    Edited by: EJP on 17/02/2012 17:50: fixed your title. No shouting here thanks.

    Is jswing shorthand for Java Swing?
    Anyways, I would recommend looking at the [url http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html#pane]CSS reference and the -fx-background-image property in particular. Detailed appearance changes to JavaFX controls are mostly configured by CSS.

  • Adding Background Image

    Can someone help me figure out how to add an image in a Pages 09 file to be used as a background image?
    Coming from Word I could put an image in a document and then type over it, format it, etc.
    Can this be done in Pages 09?
    Thanks!

    scpk2000 wrote:
    I have managed to create the background I want text that reads, "Copy Do Not Replicate", but now I need to know how to replicate or copy that through out the document. I am doing it manually at the moment, but it's a 353 document.
    See "Letterhead and Follower Sets":
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&mforum=iworktips ntrick
    Follow the instructions for moving your image to a Section Master and then capturing the page.
    Btw, I did not see where I can post a new message on here? When I went to help it said to reply to a reply similar to mine? I don't know.
    Under *Forum : Pages '09*
    Click on *Post New Topic*
    Peter

  • ADF Mobile : Setting background image using inline style not working.

    The snippet is part of my amx page.
    But the issue is that the background image is not coming up in the deployed iphone application.
    The html source of app page shows that a background image is associated with this component but the location is file:///Users/oracle/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/com.oracle.smartphone/smartphone.app/backgroundrepear.png instead of some Xcode_Project>Far location which I was expecting.
    The image is actually present in public_html/icons
    And I set the inline style using the property inspector of listItem.
    <amx:listItem showLinkIcon="true" id="li1" action="goToWorkerDetail"
    inlineStyle='background-image:url("/icons/backgroundrepear.png"); background-repeat:repeat-x;'>
    <amx:tableLayout width="100%" id="tl1">
    <amx:rowLayout id="rl2">

    955920 wrote:
    The snippet is part of my amx page.
    But the issue is that the background image is not coming up in the deployed iphone application.
    The html source of app page shows that a background image is associated with this component but the location is file:///Users/oracle/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/com.oracle.smartphone/smartphone.app/backgroundrepear.png instead of some Xcode_Project>Far location which I was expecting.
    The image is actually present in public_html/icons
    And I set the inline style using the property inspector of listItem.
    <amx:listItem showLinkIcon="true" id="li1" action="goToWorkerDetail"
    inlineStyle='background-image:url("/icons/backgroundrepear.png"); background-repeat:repeat-x;'>
    <amx:tableLayout width="100%" id="tl1">
    <amx:rowLayout id="rl2">hi,
    i managed to get the background-image working. I dont use inlineStyle , instead i use "Skinning"
    Since im want all my pages have the same background image, i overwrite the panel page css
    .amx-panelPage {
    background-image: url("../pic1.jpg");
    the css file is located under "ApplicationController/public_html/resources/css/myiPhone.css"
    the image file is located under "ApplicationController/public_html/resources/pic1.jpg"

  • Swap Background image using ActionScript

    I need to know how to change (swap) background images.
    Explanation:
    The main file (level 0) is named "Master".
    In the Master timeline, the lowest layer is named "bg" (for
    backgrround).
    On the bg layer is an image the size of the stage, and this
    image forms the background against which other movie clips (.swf)
    are shown.
    Purpose:
    In response to a user (ie: the user clicks a button), I want
    to change the background image.
    Problem:
    I have searched through Flash 8 Help system, and cannot find
    how to delete the 1st image from the "bg" layer, and add a
    different image.
    Hoping someone knows the answer,
    Thanks,
    John

    convert your image to a movieclip. you can then use
    movieclipInstanceName.removeMovieClip() to remove it. or, if you
    might want to use it latter in your swf, change its _visible
    property.

  • Satellite C660/C660D - Desktop background image not loading

    Satellite C660/C660D: Trying to load any image from whatever source fails, with the error message 'an internal error has occurred'. I have tried all the procedures in control panel; none allow a change of background image, although colours can still be altered, as well as themes.
    Microsoft advises this is a manufacturer issue, as my OS is OEM.
    Can anyone help identify this error and suggest how to fix it?

    >Microsoft advises this is a manufacturer issue, as my OS is OEM.
    This is a typical MS answer if the Windows system has not been purchased separately LOL and this is NOT a notebook problem.
    Would recommend checking this MS knowledge base article:
    +Unable to change background picture in Windows 7+
    http://support.microsoft.com/kb/2504610

Maybe you are looking for

  • Returning error to Javascript from Webkit plugin

    Hi all, I want to return an error and possibly error string using exception or any other means from a web kit plug-in to Java script. In the success case these functions returns NSString, NSNumber,... etc. Can some one pls. provide a sample code to r

  • 8.0.2 and email

    Since updating to iOS 8.0.2 the email software on my iPad (3rd Generation) I've been experiencing issues with the email software. I cannot edit the emails (to delete, etc.), open individual emails, or compose emails without the email software locking

  • Line chart animation (how to change the effect after first initialisation)

    How can I animate a line chart so that it is initialized with a slide effect but whenever the data changes it uses a SeriesInterpolate Effect? thanks

  • Authorizations for substitution using UWL in MSS

    Hi Experts, We use substitution in universal Work list via the portal, and SAP has supplied an authorisation object S_WF_SUBST, which should mean that the substitute don't need the manager roles and structural profiles of the user who creates the sub

  • Re: how to recover permanatly delete email from outlook 2007?

    I don't have backup data for the mail in server. Is there any other options to recover mail?