Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Failed in shifting rect shape on event 'creationComplete', but succeed on event 'compositionReady', why?

$
0
0

Hi, i got a problem while i want to shift rect shape in proper position at first beginning, but i can't make it:

 

a.png

 

      Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {

         // insert code to be run when the composition is fully loaded here

        sym.getComposition().getStage().$("small_scene_rect").css({"position":"absolute","display ":"block","left":"10px","top":"10px","width":"100px","height":"100px"}); // worked

      });

      //Edge binding end

 

      Symbol.bindSymbolAction(compId, symbolName, "creationComplete", function(sym, e) {

         // insert code to be run when the symbol is created here

        sym.getComposition().getStage().$("small_scene_rect").css({"position":"absolute","display ":"block","left":"10px","top":"10px","width":"100px","height":"100px"}); // not worked

      });

      //Edge binding end

 

I really need your help, thanks!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>