5 Replies Latest reply on Sep 20, 2013 10:43 AM by resdesign

    create symbol and animate (example from API doc working?)

    skotch99

      Might be missing something simple, but this doesn't seem to work and it is right out of the API doc

       

      brand new edge animate file.

       

      make a rectangle - convert to symbol with name "kitten_paw"

       

      delete from stage

       

      paste this code in time line (say at 1000)

       

      sym.createChildSymbol("kitten_paw", "Stage");

      var kitten_sym = kitten_paw.getSymbolElement();

      kitten_sym.animate({opacity: 0}, 500);

       

      it creates the object but doesn't animate it - and console returns an error - edge.2.0.1.min.js:162Javascript error in event handler! Event Type = timeline

       

      Am I missing something?

       

      thanks!