Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by PimDamen

  1. not sure how to do that but i'll figure that out asap thanks!
  2. so in my case i could just use the following? gsap.to(root.textDisplay_txt, {duration: 2, text: "This is the new text", ease: "none"}); in the code in Adobe Animate ( dont have a clear view of how the html or CSs is gonna look since i am using Adobe as my creation tool for this one and publish it when everything is done so the wizard takes care of the css and html. after that it's my assignment to clean up.
  3. Hey all, I am using Adobe animate and am a beginner in GSap. I am trying to do a hover over effect but somehow... cant get it to work. Above the script i have placed this. var textDisplay = root.textDisplay_txt; in the animate canvas i have a dynamic text object with the corresponding instance name "textDisplay_txt" so now i need to get some text in there when i hover over a logo. In this case an AMD socket logo. (could even be an image map or anything else for that matter i guess) The eventlisteners work.. i just dont know what to use here as a property, scaling works. Note the line text? : <p>blabla</p>... thats where i need to do somehting i think., though i am pretty clueless at this point. root.logoAmd_mc.addEventListener('mouseover', logoAmd_over); root.logoAmd_mc.addEventListener('mouseout', logoAmd_out); function logoAmd_over(){ var logoAmd = root.logoAmd_mc; gsap.to(logoAmd,{ scaleY : 1.1, scaleX : 1.1, }); gsap.to(textDisplay,{ text? : <p>blablabla</p> }); } function logoAmd_out(){ var logoAmd = root.logoAmd_mc; gsap.to(logoAmd, { scaleY : 1, scaleX : 1, }); }