vanwoods

Members
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

1 Newbie

About vanwoods

  • Rank
    Member
  • Birthday 09/22/1978

Profile Information

  • Gender
    Male
  • Location
    Amsterdam
  1. Mouseover event not reacting

    Yes it is an animate CC project, so not animating DOM elements. I'll have a look at the Easel plugin. Thnx!
  2. Mouseover event not reacting

    Hi Jack, Oeps... yes i see what you mean! I changed the code, you can see it here: var frequency = 3; stage.enableMouseOver(frequency); this.cta_mc.addEventListener("mouseover", fl_MouseOverHandler.bind(this)); function fl_MouseOverHandler() { TweenMax.to(this.cta_mc, .2, {scaleX:1.15, scaleY:1.15, ease: Back.easeOut}); TweenMax.to(this.cta_mc, .2, {delay:.2, scaleX:1, scaleY:1, ease: Back.easeOut}); TweenMax.to(this.cta_mc, .2, {delay:.4, scaleX:1.15, scaleY:1.15, ease: Back.easeOut}); TweenMax.to(this.cta_mc, .2, {delay:.6, scaleX:1, scaleY:1, ease: Back.easeOut}); } Somehow the scale shortcut did't seem to work so i changed it back to the first code preview. So it works fine now, the button pops up and down on mousover. Thanks for your assistance!
  3. Mouseover event not reacting

    Hi Jack, Thanks for your input, I cleaned up the code. Unfortunately my instance of cta_mc still isn't playing the tweenmax on a mouseover. When i punt in an alert it works as supposed. var frequency = 3; stage.enableMouseOver(frequency); this.cta_mc.addEventListener("mouseover", fl_MouseOverHandler); function fl_MouseOverHandler() { alert("Moused over"); } But it won't play when i insert the TweenMax code. var frequency = 3; stage.enableMouseOver(frequency); this.cta_mc.addEventListener("mouseover", fl_MouseOverHandler.bind(this)); function fl_MouseOverHandler() { TweenMax.to(this.cta_mc, .3, {scale:1.15, ease: Back.easeOut}); TweenMax.to(this.cta_mc, .3, {scale:1, ease: Back.easeOut}); } Any change to see what's going wrong?
  4. Hi! I'm having some trouble with a mouseover event, the code I use isn't responding. I just want my cta_mc to popup when I mouseover. var frequency = 3; stage.enableMouseOver(frequency); this.cta_mc.addEventListener("mouseover", fl_MouseOverHandler.bind(this)); function fl_MouseOverHandler() { TweenMax.to(this.cta_mc, .3, {scaleX:1.15, scaleY:1.15, ease: Back.easeOut}, "+=.3"); TweenMax.to(this.cta_mc, .3, {scaleX:1, scaleY:1, ease: Back.easeOut}); } var tl = new TimelineMax({repeat:0, repeatDelay:3}) TweenLite.defaultEase = Power2.easeOut; tl.to(this.bg_mc, 1, {delay:.5, alpha:.5}) .from(this.txt1_mc, 1.5, {y:"+=20", alpha:0}, "-=.5") .to(this.txt1_mc, .5, {delay:1, y:"+=10", alpha:0}) .from(this.txt2_mc, 1, {y:"+=20", alpha:0}, "-=.3") .from(this.txt2_1_mc, 1, {y:"+=10", alpha:0}, "-=.5") .to(this.txt2_1_mc, .5, {delay:1, y:"+=10", alpha:0}) .from(this.txt3_1_mc, 1, {delay:.5, y:"+=10", alpha:0}, "-=.5") .to(this.txt3_1_mc, .5, {delay:1, y:"+=10", alpha:0}) .from(this.txt4_1_mc, 1, {delay:.5, y:"+=10", alpha:0}, "-=.5") .to(this.txt2_mc, .5, {delay:1, y:"-=25"}) .to(this.txt4_1_mc, .5, {y:"-=25"}, "-=.5") .from(this.cta_mc, 1, {y:"+=25", alpha:0}, "-=.25") .to(this.cta_mc, .3, {scaleX:1.15, scaleY:1.15, ease: Back.easeOut}, "+=.3") .to(this.cta_mc, .3, {scaleX:1, scaleY:1, ease: Back.easeOut}) .to(this.cta_mc, .3, {scaleX:1.15, scaleY:1.15, ease: Back.easeOut}) .to(this.cta_mc, .3, {scaleX:1, scaleY:1, ease: Back.easeOut}) GSDevTools.create(); I also tried this code but i guess it is outdated? //set scope activation object var root = this, tl; //prevent children of mc from dispatching mouse events root.cta_mc.mouseChildren = false; root.cta_mc.on("mouseover", function(){this.gotoAndPlay(1);}); root.cta_mc.on("mouseout", function(){this.gotoAndStop(0);}); root.cta_mc.on("mouseover", function(){ TweenMax.to(this, 1.25, {scaleX:1.1, scaleY:1.1, ease:Elastic.easeOut}); }); root.cta_mc.on("mouseout", function(){ TweenMax.to(this, 1.25, {scaleX:1, scaleY:1, ease:Elastic.easeOut}); }); Any change somebody seeing what's incorrect? Hope you can help me out. Thanks in advance.
  5. GSDevTools blinks end of timeline on start

    Thank so far! I'll try to explain my problem more clearly the next time... Hope you have the solution for this problem.
  6. GSDevTools blinks end of timeline on start

    Thanks for your quick reply! I can see it in your link too. I'm working on OS 10.13.2, checked it in chrome and safari. if you hit command+r (refresh) than you can see the end of the timeline in just a blink (0.2 seconds or less) after that the animation starts. It goes real fast but you can see it before the animation starts. It's just one blink, to make it more clear. (the blue rectangle is very striking)
  7. GSDevTools blinks end of timeline on start

    Thanx Carl, Attached the fla. Hope you can see whats wrong. HT_banner_test_400x400px.zip
  8. GSDevTools blinks end of timeline on start

    I changed the GSAP version but the problem still exists. Is there an other solution for this?
  9. GSDevTools blinks end of timeline on start

    Yes that would be handy. Is a normal link also good? http://visiblemotion.nl/test/
  10. Hi, I noticed that GSDevTools causes an blink of the end of the timeline on the start of the animation. Is there a possibillity to get change this? Thanks.
  11. Fluid movement

    Thanks @OSUblake Sounds clear i'll try to figure this out with my animation.
  12. Fluid movement

    Yes i increased the duration already. .to(this.star_mc, 2, {delay:0.5, x: -490, y:-170}) .to(this.star_mc, 2, { x: -400, y:-490}) .to(this.star_mc, 2, {x: -105, y:-485}) .to(this.star_mc, 1.5, {x: 20, y:-285}) .to(this.star_mc, 2.5, {x: -320 , y:70}) If it is stil not ok then i think i have to make a path with rounded corners of the star. So it can smoothly follow this. But it would be nice to keep this in Animate. Is this within animate? Thanks so far!
  13. Fluid movement

    Thanx Sahil, it looks much better now. TweenLite.defaultEase = Linear.easeNone; Does this mean there is always an ease in a tween even when not specified? Hope the client likes it better this way. Otherwise i still have to switch probably to follow bezier path option.
  14. Fluid movement

    Hi! Is there a way to make this animation more fluid? .to(this.star_mc, .8, {delay:0.5, x: -490, y:-170}) .to(this.star_mc, .8, {ease: Sine.easeInOut, x: -400, y:-490}) .to(this.star_mc, .8, {ease: Sine.easeInOut, x: -105, y:-485}) .to(this.star_mc, .8, {ease: Sine.easeInOut, x: 20, y:-285}) .to(this.star_mc, .8, {ease: Sine.easeInOut, x: -320 , y:70}) It now goes hard from one point to the other? Or is this only possible when the star_mc follows a bezier path? I'm working in animateCC right now but i'm not sure if this is possible within animate? I'd prefer animate because i'm using the banner ad templates. Thanks in advance.
  15. staggerTo within Animate CC

    I will try to figure that out! Thanks for pointing me to this direction.