Mouse over action - play label in symbol


i have symbol on stage named “final”. inside “final” have symbol named “imagetiles” , in symbol named “webdrop” , image named “website”. want add mouse on action image “website” play label in “webdrop” symbol. below code i’m using. works fine when initiate call trigger in timeline of “imagetiles” when put in mouse on action image “website” doesn’t work. doing wrong here? in advance assistance.

 

code;

 

sym.$("webdrop").show();

sym.getsymbol("webdrop").play("open");

 

 

symbol hierarchy;

 

stage

-final (symbol)

--imagetiles (symbol)

---website image (mouse on action “webdrop”)

---webdrop (symbol labels “open” , “close”)

i think should work:

sym.getsymbol('final').getsymbol('imagetiles').$('website').mouseover(function(){

     sym.getcompostion().getstage().getsymbol('final').getsymbol('imagetiles').getsymbol('webd rop').play('label');

 

});



More discussions in Edge Animate CC


adobe

Comments