This tutorial starts with a code-driven animation, takes it from Flash, and turns it into a video file that can used with an application like After Effects.

Share & Enjoy


Similar Articles

 

  1. [...] Tom Green – From Flash To After Effects [...]

  2. Ryan Hasan (Reply) on Monday December 8, 2008

    I still can’t see any video for any of your tutorials in Safari, even though every other video under the sun plays fine, and your do show up in Firefox. Are you sure it’s not a your-end problem? Has anyone else mentioned this to you?

  3. Laurie (Reply) on Monday December 8, 2008

    Ryan,
    The video works fine in Safari (version 3.2.1) on my (Intel-based) Mac. Maybe you’re missing a plug-in?

  4. Web Editor (Reply) on Monday December 8, 2008

    Ryan,

    The web team at Layers magazine has couple of people using Macs and I asked them to test this tutorial in safari. Both of them could see the tutorial properly. Please check for new updates for Safari.

    Let us know if you continue having problems and we may be able to troubleshoot further.

    Thanks,

    Aaron Westgate
    Web Editor

  5. Ryan Hasan (Reply) on Monday December 8, 2008

    Thanks, Aaron. I’m running the latest version of Safari (3.2.1), with the latest version of the Flash player (10.0 r12) installed. I just got a new iMac, but if memory serves I was also having this same problem on my old G5 iMac just before I sold it (about two weeks ago). Hmmmm….

  6. Daniel (Reply) on Monday December 8, 2008

    Hello,

    Really nice tutorial. Could you please post or email me the animation code so that I can follow along.

    Thanks, Daniel

  7. Daniel (Reply) on Monday December 8, 2008

    Hello,

    Great tutorial. Could you please post or email me the code used in the tutorial so that I can follow along with the video.

    Thanks,
    Daniel

  8. Myo Thant (Reply) on Monday December 8, 2008

    I tried to write the code filling in I think that have been missing e.g randomBetween. However, I am able to generate only a single character. I guess there are other segments that are missing.
    Is it possible to send me the code. I love this sample.
    Thanks
    Myo

  9. Tom Green (Reply) on Monday December 8, 2008

    Miyo here is code used in the exercise. It is written by my coauthor,David Stiller:

    var t:Timer=new Timer(50,0);
    t.addEventListener(TimerEvent.TIMER, createLetter);
    t.start();

    function createLetter(evt:Event):void {
    var fmt:TextFormat = new TextFormat();
    fmt.size=randomBetween(80, 120);
    fmt.color=Math.floor(Math.random() * 16777216);
    var mc:MovieClip = new MovieClip();
    var tf:TextField = new TextField();
    tf.autoSize=”center”;
    tf.text=String.fromCharCode(randomBetween(97, 122));
    tf.setTextFormat(fmt);
    mc.addChild(tf);
    mc.x = (Math.random() * stage.stageWidth);
    mc.y = stage.stageHeight;
    mc.ang = 0;
    mc.range = randomBetween(4, 20);
    addChild(mc);
    mc.addEventListener(Event.ENTER_FRAME, shimmy);
    }

    function shimmy(evt:Event):void {
    var mc:MovieClip = MovieClip(evt.target);
    mc.y -= randomBetween(6,10);
    mc.x += (mc.range * Math.cos(mc.ang += 0.4));
    mc.scaleY -= 0.02;
    if (mc.scaleY <= 0) {
    mc.removeEventListener(Event.ENTER_FRAME, shimmy);
    removeChild(mc);
    }
    }

    function randomBetween(min:Number, max:Number):Number {
    return (Math.random() * (max – min)) + min;
    }

  10. Bridgett (Reply) on Monday December 8, 2008

    I am trying to create a mini commercial ad on flash for one of my advertiser and I wanted to know how I can combine more than one file to make one long flash. How do I do that?

  11. Stahlman (Reply) on Monday December 8, 2008

    Make sure to change the smart quote marks around “center” in this web page to regular quote marks in ActionScript.

  12. Donovan (Reply) on Monday December 8, 2008

    My Qucktime movie is 9 seconds long, but it’s just a black screen for the first five seconds, so there’s only 4 seconds of the letter animation. Any idea what might have happened?

  13. sanad (Reply) on Monday December 8, 2008

    Great tutorial. Could you please post or email me the code used in the tutorial so that I can follow along with the video.

    im sanad shalimar

  14. Anabel (Reply) on Monday December 8, 2008

    I have cs4 and a pc… does the code work the same? And where do you insert the code?

  15. Tom Green (Reply) on Monday December 8, 2008

    Absolutely Anabel.

  16. hugh (Reply) on Monday December 8, 2008

    Anyone else getting the syntax errors on line 40??



Planet Photoshop Photoshop World Kelby Training Lightroom Killer Tips NAPP Scott Kelby