Jump to content
Search Community

Slayer01

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Slayer01

  1. The effect I want is that I want to start an text animation from outside the screen area

     

    my textfield should fly in from the left to the middle, delay for 2 seconds and then then fly out on the right

     

    deleay 1 second and then have another textfield fly in from the right to the middle, delay for 2 seconds and then fly out on the left

  2. Hi I just bought the the Shockingly Green version and I have a little problem with animating a timeline object.

     

    This works very well in the begining but I want to set the alpha of the object to zero when it is done animating but alas it won't work! WHY

     

    Can some one please help me.

    _timeLine.insertMultiple(TweenMax.allFrom(_vadVetDuOm.textFields, 2.5, {blurFilter:{blurX:20}, x:"-200", alpha:0, ease:Quad.easeIn}, 1));
    _vadVetDuOm.x = 5;
    _vadVetDuOm.y = 100;
    addChild(_vadVetDuOm);
    
  3. No, you certainly don't need to modify the plugin file.

     

    The only other code necessary to make the tween work (which I assume you already did based on the error you mentioned) is to activate the plugin first:

     

    import com.greensock.plugins.*;
    TweenPlugin.activate([TransformAroundPointPlugin]);

     

    That's it. Are you 100% positive that you have the bonus plugin there? Maybe you put it in a different folder or something? Feel free to zip up your whole directory and send me a link to it (private message or e-mail, not here in the public forums).

     

    Thank you very much for your help

     

    I forgot to add the line -- TweenPlugin.activate([TransformAroundPointPlugin]); -- earlier, that is why it didn't work.

     

    But now everything works fine. :D

     

    Thanks

  4. Did you download the bonus zip file from your GreenSock account? https://www.greensock.com/account/

     

    Make sure you've got the TransformAroundPointPlugin.as file which should be in the com/greensock/plugins/ folder. I bet you just forgot to use the stuff that came in the bonus zip. (that zip file contains all the GreenSock classes too, not just the bonus plugins/classes).

     

    If you mean if I forgot to use the "com folder" inside the "as3 folder" that was in the bonus zip.file. Then no I didn't.

     

    I understand now that I made a mistake when I didn't specify the scaleX and scaleY properties.

     

    I still get the error that "TransformAroundPointPlugin" cannot be found.

     

    Do I have to modify the "TransformAroundPointPlugin.as" file somehow.

     

    Could you show me an example of all the code that I might need to use in my dokument class to make this work?

    Mabey I missed something...!

     

    Thanks

  5. // Hi

    // I just bought the ”Really Green” membership and I have some problem using the “transformAroundPoint” plugin.

     

    ///***********************///

     

    // I have imported the classes

     

    import com.greensock.*;

    import com.greensock.easing.*;

    import com.greensock.plugins.*;

     

    // When I try to change registration point of my Sprite container ”_container”

     

    TweenMax.to(_container, 1, {transformAroundPoint:{point:new Point(100,50)}, ease:Elastic.easeOut});

     

    // I get the error that the “transformAroundPoint” plugin cannot be found.

    // What am I doing wrong.

×
×
  • Create New...