Jump to content
Search Community

dougburnett

Members
  • Posts

    7
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    New York

dougburnett's Achievements

0

Reputation

  1. This line works great: TweenMax.to(mc, .5, {y:100, motionBlur:true}); This line makes the movieclip disappear: TweenMax.to(mc, .5, {y:100, rotationY:45, motionBlur:true}); Happens whether I animate the 3D rotation, if I do it in the HUD, or if I do it with standard AS3. Am I doing something wrong?
  2. Yah, it was weird. It was actually written the same way for both. But now it's working perfectly so the new version must of had some extra bonus improvements!
  3. Ha! Nevermind. I updated to the most recent release of GSAP v12 and now it works great. Thanks Jack!
  4. Hey Jack! Thanks for the response. Here it is in context. http://dougburnett.com/gsap-test/ The "PHP Images" are not tweening but the "Manual HTML Images" are working just fine. It is loading beforehand because I'm just doing a PHP include. And I'm calling the tween at two different times for testing but still not working. Also not getting any JS errors. Thanks for the help.
  5. I'm another Flash guy getting into Javascript with GSAP. I'm making a photo gallery and can't seem to get GSAP tweens to read function parameters when I send them via PHP to my Javascript function. For example, I make a PHP call like this: $imageFile = glob("images/*.*"); echo '<img src="'.$imageFile[1].'" id="thumbPic" onmouseover="imageOver(this)" onmouseout="imageOut(this)" />'; to my Javascript functions like this: function imageOver(object) { TweenMax.to(object, .5, {width:100, ease:Cubic.easeOut}); } function imageOut(object) { TweenMax.to(object, .5, {width:85, ease:Cubic.easeOut}); } When I manually call these functions with the "this" parameter from HTML, it works great. But when I write the same HTML via PHP, it doesn't tween. When I trace the "object" parameter I get the same "HTMLImageElement". I've tried calling the image ID directly by doing this: TweenMax.to("#thumbPic", .5, {width:85, ease:Cubic.easeOut}); But that doesn't work either. Any thoughts?
  6. Fantastic! Thank you Jack. As always your responses are incredibly quick and helpful. Thank you very much.
  7. Is there a way to use the TweenMax.killTweensOf(mc) for applied filters? I have applied some heavy filters that I want to have the option of completely removing from an object so I can return to the original performance speed. Basically a "reset" button. I have tried just putting in 0 for the values or using null but I am still not able to return to the original performance before the filters were applied.
×
×
  • Create New...