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

Targeting Stage Symbol Correctly Edge Animate

$
0
0

   Hello,
    I'm having trouble understanding how to target my symbol.  I can target the element within but not the symbol (finalCta) itself. Below I'm trying to set the autoAlpha to 0. Works on the element but not the symbol. Maybe I'm not fully understanding symbols either. Any solutions or hints will do

Thank You

 

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

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

 

         //New Timeline for finalCta

         var tl = new TimelineLite ({paused:true, autoAlpha:0});

 

         //finalCta Symbol

         //var symFinal = sym.getSymbol('finalCta');

 

         var symFinal = sym.getComposition().getStage().getSymbol("finalCta");

 

         var bg_white = symFinal.$('bg_white');

         var logo_main = symFinal.$('logo_main');

         var txt_learn = symFinal.$('txt_learn');

         var btn_bg = symFinal.$('btn_bg');

         

          //Works

         TweenLite.set(logo_main, {autoAlpha:0});

          //Does not Work

         TweenLite.set(symFinal, {autoAlpha:0});

      });

      //Edge binding end

 

 

   })("stage");

   //Edge symbol end:'stage'


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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