TweenMax a Child symbol
hello everybody,
this last try, return brave tweening designer.
i asked few times ago, unforunately no solution @ end:
i placed symol on stage trigger @ first frame:
sym.stop();
var eins = sym.createchildsymbol("eins", "stage");
eins.getsymbolelement().css({
'position': 'absolute',
'left': 100,
'top': 0
});
now know (thank bigmucho) can move symbol te following code:
var eins = sym.createchildsymbol("eins", "stage");
var moveeins = eins.getsymbolelement();
tweenmax.set(moveeins, {position:'absolute', left:100, top:0});
tweenmax.to(moveeins, 2, {y:120, scale:1, opacity:1, delay:0, ease:expo.easeout});
whith code placed symbol library , move in 1 step.
but want move symbol (eins) placed on stage (with trigger),
whith button afterwards.
for better anderstanding:
http://go-motion.net//upload/examples/04/test.zip
maybe there someone, can imagine want.
greetings form germany
oliver
hi, oliver-
here's project has animations done using jquery animate(). know isn't quite you're looking for, tweenmax library isn't loaded in project. more information on how included, check out forum post:
http://forums.adobe.com/message/5092621#5092621
if you're dynamically loading symbol element, you're going need save reference somewhere , refer later. can @ least see did using project files here:
https://creative.adobe.com/share/edac5fb5-7f14-448c-9f3f-b13fbc774ad5
as can see, did save variable symbol instance reference, , when wanted use later, loaded variable current scope, grabbed dom using getsymbolelement().
hopefully points in right direction.
thanks,
-elaine
More discussions in Edge Animate CC
adobe
Comments
Post a Comment