Jump to content
Search Community

friendlygiraffe

Members
  • Posts

    271
  • Joined

  • Last visited

Posts posted by friendlygiraffe

  1. Is it possible to get the instance of the targetted MovieClip? for example:

     

    I have an mc with a variable inside it, and I get that value like this:

     

    text_mc.myX = 50;
    TweenNano.to(text_mc, 1, {x:text_mc.myX});

     

    but I want to get that value without have to name it:

     

    TweenNano.to(text_mc, 1, {x:CURRENTMC.myX});

     

    Is this possible?

     

    Thanks

  2. When I use this code, it calls the function setMainNavBtns at the end of every movieClip tween

     

    var nav_array:Array = [logo_mc, work_btn, about_btn, contact_btn, about_mc, breadcrumb_mc]
    TweenMax.allFrom(nav_array, 1, { x:253, rotation:"40", onComplete:setMainNavBtns}, 0.1);

     

    Is it possible to call it only once, at the end of the last tween

     

    Thanks in advance

  3. Hi I want to tween a group but with separate destinations. Is this possible or do they all have to have the same target?

    var Letters:Array = [let1, let2, let3, let4];
    
    var Dest:Array = [123, 5, 67, 345];
    
    TweenMax.allTo(Letters,3,{_y:Dest[?]});

  4. nearly there, I have opened TweenMax.as and commented out the plugins import

    //import com.greensock.plugins.*;

    I deactivated the blur plugin and a few others

    //BlurFilterPlugin	

    but I'm still getting errors at line 420:

    plugin.add(pt.target, prop, pt.start, pt.change);

    anything else I need to comment out?

  5. Hi

     

    I am trying to apply different easing to individual properties on 1 tween (AS 2.0)

     

    I want the _x to easeOut and the _y to easeIn

     

    This is not possible using this code:

     

    TweenLite.to(mc,1,{ _x:20, ease:Quart.easeOut});
    TweenLite.to(mc,1,{_y:80, ease:Quart.easeIn});

     

    Is there another way round this?

     

    Thanks

×
×
  • Create New...