2 Replies Latest reply on Jan 28, 2014 8:55 AM by Peccare

    Please help, I want to replace a shape with an image. I can't understand what I am doing wrong.

    Peccare

      I watched a video of a guy doing this step by step and I still can't make it work.

       

      What I want to do is to replace a shape with an image. I assume the way to do this is to make the image the background color of the shape, if you will. On the stage element, I click "creationcomplete" and then type in the following code:

       

      $(sym.lookupselector("BIG_RIGHT_BOX")).css('background-image','url(images/Karma.jpg)');

       

      I put the picture (karma.jpg) into the project, and I can see it in the tab "images."