Jump to content
Search Community

learner_7n

Members
  • Posts

    131
  • Joined

  • Last visited

Posts posted by learner_7n

  1. Hi,

     

    I am looking for the alternate code to the following one:

     

    var K:Loader=new Loader();

     

    addChild(K);

     

    K.load(new URLRequest("clock.swf"));

    K.x = 160;

    K.y = 200;

     

    K.contentLoaderInfo.addEventListener(Event.INIT, growLoader);

     

    function growLoader(evt:Event):void {

     

    K.width = 130;

     

    K.height = 130;

    }

     

    Thanks in advance for any help.

     

    Regards.

  2. Hi,

     

    What is wrong with the code? No error but yoyo effect not working. Drop shadows works just once. Not repeating the same.

     

    TweenMax.to(RAS_mc, 5, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:15, repeat:3, yoyo:true}});

     

    The second probelm. When I use the following code the "RAS_mc" disappears. No any error pops up.

     

    TweenMax.to(RAS_mc, 3, {bezier:[{x:88, y:89}, {x:166, y:99}], orientToBezier:true, ease:Bounce.easeOut});

     

    Please help.

  3. Hi,

     

    I tried but getting the following error:

     

    1) 1046: Type was not found or was not a compile-time constant: TextTyper.

    2) 1180: Call to a possibly undefined method TextTyper.

     

    Textbox property name is "myTextField". The code used is...

     

    import com.greensock.*;

    import com.greensock.easing.*;

     

    var typer:TextTyper = new TextTyper(myTextField);

    typer.progress = 0; //hides all the characters. Internally, TextRevealer would set the TextField's "text" property to ""

    TweenLite.to(typer, 5, {progress:1});

     

    What is wrong?

  4. Thanks.

     

    Just I am watching other users code and trying to see the effect on my demo projects. What code should be there on complete handler to get the effect which he mentioned here? I thought it might be the full working code example without adding any more code. So I tried the same and got error.

     

    Thanks.

  5. Hi,

     

    How can I create an array as given in the example (below link)?

     

    http://www.greensock.com/timelinemax/

     

    import com.greensock.*;

     

    var timeline:TimelineMax = new TimelineMax({repeat:2, yoyo:true, repeatDelay:1.5});

    timeline.append( TweenLite.from(blackBar, 0.8, {x:550}) );

    timeline.insertMultiple( TweenMax.allFrom([logo, timelineWord, maxWord, byGreenSock], 0.5, {autoAlpha:0}, 0.25), 0.6);

    timeline.insertMultiple( TweenMax.allFrom(lettersArray, 1, {y:"-30", alpha:0, ease:Elastic.easeOut}, 0.04), 1.4);

     

    I have created other movie clips and text boxes but could not understand on how to make an lettersArray as in the above code to work with this example. Could someone help me out, please>

     

    Thanks

×
×
  • Create New...