1 Reply Latest reply on Sep 25, 2014 1:30 PM by mav2

    Edege animate: Parallax and Spotlight = Not working together?...

    mav2

      Hi all,

       

      This is my first post, and sorry for my English :))

       

      I am learning, and have a small composition on Edge Animate CC 2014 on Scrolling Parallax, which works very well, and now I want to add a spotlight... but do not working together.

       

      My code is:

       

      Stage: 1920 x 2000

      Autoplay: No

       

       

      --------------------------------------------------------

       

      -- creationComplete: (nothing)

       

      --------------------------------------------------------

       

      -- compositionReady:

       

      EC.Parallax.setup(sym);

       

      --------------------------------------------------------

       

      On scene:

       

      A Text (is for launch the spotlight with the click function):

       

      Action for "Text":

       

      -- click

       

      // Open image in spotlight overlay

      // Set up configuration


      var config = {

      width: "1024",

      height: "768",

      type: "image",

      source: "images/dog.jpg"

      }

       

      EC.Spotlight.open( config );

       

      --------------------------------------------------------

       

      My problem is that the parallax works great, but when I make a click on the button that showing the spotlight... this is not released, and "dog.jpg" picture it is show on the bottom of the page (without spotlight).

       

      What am I doing wrong?

       

      Note: I charge via url the "All in One" of EdgeCommons CDN : http://cdn.edgecommons.org/an/1.1.2/js/min/EdgeCommons.js

       

      Many thanks!