How to add background images to the stage?

I use the last version (2014.1.1)

I want to add a photo to be a background image in the stadium.

So I do:

1. Add 'compositionReady' to the stage

(2 key - in: sym.$("Stage").css("background-image","url(images/bg.png)"); "

but I can't see the picture and to develop tools, the tag had background-image.

How to solve the problem?

You are missing quotes in your code.

SYM.$("stage"). CSS({"background-image":"URL('images/BG.png')"});)

or

SYM.$("stage"). CSS ("background-image", "URL('images/BG.png')");

Tags: Edge Animate

Similar Questions

  • How to add background images to the grid area manager

    Hi all,

    Hope everything goes well. I read the book beginning berries black development. In this book, the author has shown that how you create grid area manager. I used the code and created GRDI Manager of fields with 2 columns and added 8 images buutom with labels. every thing works fine until now.

    But the background is white. Now, I want to add a background image on my gield grid Manager. How can I do it. Please tell me. Thank you

    Hi thanks,

    Fixed my problem in this line. I used this line in my BGVerticalFieldManager

     //Constructor
        public BGVerticalFieldManager(Bitmap background) { 
    
            //super(USE_ALL_WIDTH | USE_ALL_HEIGHT );
            super(USE_ALL_WIDTH);
            ....
        } //end of constructor
    

    now my screen scrolling works very well just like I expected

  • How to add an image of the poster/splash for Captivate 6

    Hello

    I would like to add a poster/splash picture to my captivate movie.

    My output is HTML 5. I would like to connect the video in Robohelp and video open in a web browser.

    Before the movie starts the video image is white with a "play" button. Can I add an image?

    Thanks in advance for your help.

    Hi mvk66,

    Thanks for the post.

    Captivate 6, have an option to add an image at the beginning of the film.

    Please follow the steps below:

    1 Goto the Edit--> preferences.

    2. Select the project category--> start and end

    3 uncheck AutoPlay (if enabled)

    4 search for the image.

    5. After you have successfully added to the image, close the Preferences dialog box and publish them on HTML5.

    Hope it helps.

    Thank you

    Mini,

  • How to add png images in the document?

    Hi, I need to add images in the document. Currently I am placing them with the PlaceFileInFrame function. But this function creates links to the images. I could integrate this links later, but I would like to know how to add images (png, bmp,...) in order to document without making links. Also, I would like to know if it is possible to create links to images stored in the web (http, https)? Looks like the answer is 'no', but maybe I'm missing something. Thanks in advance!

    I guess that you are above InDesign CS4.

    After you have placed the image, you should incorporate it.

    You should do: ILinkResource::Embed

    Check ILinkResource::CanEmbed before you embed it.

    There are several ways to find the ILinkResource of pageItem UIDRef.

    Consider the following:

    Get the ILink for your UIDRef page element, and then find ILinkResource of ILink.

    Look at the ILinkManager, ILinkUtils.

    InDesign does not support file-based links. In other words, it doesn't support file:// model.

    However, InDesign offers extensibility to create an image of a document for the web link.

    To do this, you should have your custom link put in work.

    You can see CustomDataLink SDK samples to understand how to do this.

  • How to add a movie to the stage

    The code below is used to create a slide show. It also works a long time that I load my content in container_mc. container_mc is a movieclip that is created on the stage and it contains a simple form for a background.

    Rather than create the movieclip on the stage, I want to generate the movieclip dynamically as follows:

    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;
    s = new shape;
    container_mc1. AddChild (s);
    this.addChild (container_mc1);

    However, the movieclip is not be added to the stage. It does not work when I Uncomment the line:

    slideView = new SlideshowView (container_mc1);

    How can I connect container_mc1 to the scene? Thank you!

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLRequest;
    import the mvc. SlideshowModel;
    import the mvc. SlideshowView;

    SerializableAttribute public class SlideshowDocument extends MovieClip {}
    private var slideModel:SlideshowModel;
    private var slideView:SlideshowView;
    private var req:URLRequest = new URLRequest("data.xml");
    private var container_mc1:MovieClip;
    private var s:Shape;
    public void SlideshowDocument() {}
    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;
    s = new shape;
    container_mc1. AddChild (s)
    this.addChild (container_mc1)
    slideView = new SlideshowView (container_mc);
    slideView = new SlideshowView (container_mc1);
    slideModel = new SlideshowModel();
    slideView.model = slideModel;
    slideModel.load (req);
    }
    }
    }

    Oops, you need a linestyle or filling.  In addition, you should (not) set a width/height on an object is empty:

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLRequest;
    import the mvc. SlideshowModel;
    import the mvc. SlideshowView;
       
    SerializableAttribute public class SlideshowDocument extends MovieClip {}
    private var slideModel:SlideshowModel;
    private var slideView:SlideshowView;
    private var req:URLRequest = new URLRequest("data.xml");
    private var container_mc1:MovieClip;
    private var s:Shape;
    public void SlideshowDocument() {}
    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;

    container_mc1. Graphics.LineStyle (1);
    container_mc1. Graphics.drawCircle (0,0,200);
    slideView = new SlideshowView (container_mc);
    slideView = new SlideshowView (container_mc1);
    this.addChild (container_mc1)
    slideModel = new SlideshowModel();


    slideView.model = slideModel;
    slideModel.load (req);
    }
    }
    }

  • How to add an image to the alpha channels

    I want to add an image in black and white in this layer alpha https://gyazo.com/f3507eaa453f720bf7257ed9f7725404

    But I can't get a picture on it. Any help appreciated.

    1) press A ctrl or cmd - A on a Mac to select the content of your layer or simply select all from the menu bar.

    2 in your layers panel, select your alpha channel and then issue - special paste - paste in Place

    The contents of the layer doesn't have to be black and white as it will be converted to grayscale, but depends on the type of mask you're trying to do.

    Hope that helps

    Terri

  • How to add an image in the header

    Hello friends,
    I need to add the image to the rtf template. I downloaded the template in the editor of BI... But it does not show the picture... pls tell me what could be the reason...
    its very urgent
    Thanks and greetings

    You can place it in the help or RTF text too. Where the former (inside the form field) seems better formatting.

  • How to add an image into multiple pages?

    Hello

    First, you should know that before this announcement, I dug into Google but couldn't find a solution.

    How to add an image in the footer of a PDF of size section, for example, 500pages? I won't add one by one in the same page, it is much too long.

    Is it possible to add it in the footer or any other alternative section, while I find myself with the same image in an exact position in all 500 pages?

    Thanks for your response

    Best,

    Eric

    In Acrobat 9, you can select "Document > add watermark ' or ' Document > Add Background" and select a file that has the image. You can adjust the location for your needs. It is available in other versions too, but I don't remember the exact menu items.

  • How to add the background image to the screen

    Hi all

    I want to add the background image to the main screen how can I do it.

    On the main screen, I used

    -a manager of HorizontalFieldManagerField to view the bitmapField (horizontally).

    -a manager of VerticalFieldManagerField to view the bitmapField (vertically).

    already images of display screen (bitmap field) with Horizontal and Vertical Manager, but I also want to display the background image for the screen, how can I reach this help me please.

    Concerning

    Adkins

    Thanks for all the response, I tried and sloved logic here how I did

     VerticalFieldManager mainVerticalManager = new VerticalFieldManager(Manager.NON_FOCUSABLE|Manager.NO_HORIZONTAL_SCROLL|Manager.NO_VERTICAL_SCROLL){
                protected void paintBackground(Graphics graphics)
             {  
    
             }
             protected void sublayout( int maxWidth, int maxHeight )
             {
    
             }
            };
    
    then i added other to manager on to this
    

    My problem is sloved thank you for the reply

  • How to change the background image of the "submit" button

    Hi all

    I want to change the appearance of a submit button: instead of show a button with text 'Add', I want the button submit to be like an icon 'more'

    I tried to change the background image of the button submit like that, but it doesn't work. What is the ownership change?

          CSSStyle customCss = new CSSStyle();
          customCss.setProperty("background-image", "url('/OA_MEDIA/plus.png')");
          
          OASubmitButtonBean addSubmitButton = (OASubmitButtonBean)webBean.findIndexedChildRecursive("addSubmitButton");     
          addSubmitButton.setInlineStyle(customCss);
    

    Thank you

    Kind regards

    Afaf

    Why not try with just an Image and fireAction on it?

  • How to add an image that fill the browser?

    How to add an image that fills the browser when it is resized? Like this site Freelance Design & photography: cotton - ink.co.uk where the window or the filling of pict cabin browser.

    Thank you

    Hello

    Please, try the following steps.

    1 create a rectangle and make it 100% width by pressing the button width 100%.

    2 give this rectangle at the height of your choice.

    3. fill the image desired in the rectangle using fill option and make 'Center' "scale to fill."

    Please let me know in case you are looking for something else.

    Concerning

    Vivek

  • How can I add new images to the layers panel?

    Hello

    I am brand new with photoshop elements 11.  I'm having a problem understanding how to import new images in the layers panel.  If I type "create a new layer" all that I get is an empty layer.  I want to do is to import an image where I'll cut part of it and layer it on another image.  For example: of lets say I want to put a picture of myself in front of a tree.  I want to take the image myself from a photo and he sleeps on the photo that has the tree on it.  How can I get both of these images in the layers panel even?  I can get the picture of me in the layers panel as layer #1, so I can cut myself out of the picture.  My problem is when I try to import the picture with the tree on this subject, it opens upward in a new tab.  If I try to hit 'create a new layer', only a white layer appears above my first coat.  I tried to drag the new image on the layers panel, but will not join.  All the tutorials I could find and monitor, have already all the images they work with pre-loaded in the layers panel.  I just need to know how to get my pictures in the Panel, so that I can start working with them.

    Thank you in advance for any help you can give.

    Glen

    P.S. I'm working on an iMac 2009

    After selecting, you press Cmd + J and which will put the selection on a new layer.

    Drag your tree to the top of the location of the project in the main image window.

    Organize layers for example you may need to drag the tree stratum under the layer with yourself.

    See my tutorial that uses a background solid colr.

    http://forums.Adobe.com/message/4166187#4166187

  • How to set the background image in the window title?

    Hello

    I am a beginner in flex. I use Flex 4.

    Can someone give me some advice on how to set the background image in the title window?

    Is it possible to do?

    Thank you.

    Hello

    Check the code in the example below


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >
       
           
       

       
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/mx";

    s | {BorderContainer
    background - image: embed(source="image/wheres_the_green_rez.jpg");
    background-image-fill-mode: clip;
    }


       
           
       

    Kind regards

    Anitha

  • How to stretch the background image in the body in relation to the browser instead of the default repeat?

    Hello world

    I am new to dreamweaver and I'm still learning the basics. What I'm trying to accomplish at present:

    I have a #container div in my body div.  The container is set to the auto margins in the body so that it is always centered.  I want a background image in the body (behind the container div), BUT I do not want to repeat awkwardly.  I want so that it can automatically expand to the size of the browser of the Viewer.  How can I do this? Anyone know?

    Thank you very much :)

    Murray * CPA * has written:

    Now - background images DO NOT STRETCH.  So much for that idea...

    This was true when Murray originally wrote in April 2009, but shortly after, it became possible using the CSS3 background-size property, which is now supported by most browsers. See http://cookbooks.adobe.com/post_CSS_Background_Stretch__updated_-16474.html.

    It is the risk of a diversion of a thread that has more than three years. Other people could come along and do not realize that boards of formerly right of Murray is now obsolete.

    I am locking this thread to avoid the wrong information to perpetuate.

  • Cascades: How to set the background image for the menu drop down and etc...

    Hello

    Is there an easy way to set the background image for the menu drop down and etc, current support only black as a background?

    Thank you

    Tom.

    Welcome to the forums!

    This is currently not supported unfortunately.

    I encourage you to save a feature for this request:

    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

    See you soon!

    Martin

Maybe you are looking for

  • 29 FF sometimes does not start. Popup with an error message.

    Hello. With 29 FF, I frequently get a pop-up message indicating that "Firefox is already running" and I have to kill that deal and restart the browser in XP. Everyone knows about this problem? Thank you.

  • iTunes (12.3.2) does not when connected

    Hey everybody. I went to open iTunes on my computer (running Windows 10) and it was working fine until I went to connect my iPhone 6 s. Once I connected my phone to my computer, iTunes immediately stopped responding. iTunes won't let me not sync to m

  • What will I lose with a re-9nstall BONE?

    I had problems with such spontaneous reboots as discussed in this thread; "Why after restart 2 hours sleep." It seems that my next step is to re - install El Capitan? Sounds a bit scary, that the instructions given in the "recovery" page Apple suppor

  • The shadow behind the text - Windows 7

    White under my icons on my desktop text seems to have a slim gray shadow and also on my PC, the black text has a very fine white shadow behind it. Any idea of what this could be the cause?

  • Can not afford student subscription cloud and not afford to buy my self free

    HelloI've reached my limits, and we are talking about the limit where I don't have food and don't know how to pay the rent next month. I have a cloud of student subscription, and I love it. It's not expensive, but expensive is a relative idea. I hope