By Guru: Daniel Apt

Is Daniel Apt your favorite writer? Why not get everything Daniel Apt publishes, all the tutorials, components, news, and inspiration, across all sites, delivered directly to you? Choose your method of delivery on the Gurus page.

Below are the latest articles from Daniel Apt. The results are culled from all sources Workflow: Flash follows.

  • Quick Tip: How to Make Your Code More Readable

    Flash’s default code color scheme has a few problems. The white background can strain your eyes and the keywords and identifiers share the same color, so you can’t automatically tell them apart. In this Quick Tip, you’ll learn how to customize these colors to make your code more readable.

    View Screencast

    Don’t like ads? Download the screencast.

  • Quick Tip: How to Export Flash to PNG with HYPE

    With Flash you can create some awesome code generated graphics. Often you’d like to save these graphics as an image, so you can edit them afterwards with image editing software or just showcase them. We’ll use the HYPE framework from Joshua Davis and Branden Hall to save our code-generated graphics as a PNG.

    View Screencast

    Don’t like ads? Download the screencast.

    Code
    Here’s the code, in class form so you can use it whether you’re developing with Flash or Flex:

    package
    {
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import hype.framework.display.BitmapCanvas;
    import hype.extended.util.ContextSaveImage;

    public class Demo extends MovieClip
    {
    public function Demo():void
    {
    var sprite:Sprite = new Sprite();
    sprite.graphics.beginFill(0xff0000);
    sprite.graphics.drawRect(150, 150, 200, 200);
    sprite.graphics.endFill();

    var bmc:BitmapCanvas = new BitmapCanvas(stage.stageWidth, stage.stageHeight);
    bmc.startCapture(sprite);
    addChild(bmc);

    var saver:ContextSaveImage = new ContextSaveImage(bmc);
    }
    }
    }

  • Quick Tip: How to Organize Your Flash Project Files

    There are two good reasons for keeping your Flash project organized: first, it makes it easier to package up your output files for deployment; second, it stops coders and designers getting in each other’s way!
    In this Quick Tip screencast, Daniel Apt demonstrates how to set up your project’s folders, and shows three standard ways of doing so.

    View Screencast

    Get the Flash Player to see this player.

    var so = new SWFObject(‘http://active.tutsplus.com/wp-content/plugins/flash-player/player.swf’,'player10′,’600′,’385′,’9′);
    so.addParam(‘allowscriptaccess’,'always’);
    so.addParam(‘allowfullscreen’,'true’);
    so.addParam(‘flashvars’,'&file=http://activetuts.s3.cdn.plus.org/tuts/057_QTFileSetup/organized.flv&bufferlength=1&skin=http://active.tutsplus.com/wp-content/plugins/flash-player/silver.swf&fullscreen=true’);
    so.write(‘player10′);


'>How to create a top quality logo for your company
  • Remove a Section of Your Photo
  • Subscribe to RSS headline updates from: GurusUnleashed
    Powered by FeedBurner

  • Design & Career Resources

    Open design job and RFQ/RFP listings for Thursday, 29 July Courtesy of Design Jobs Live!
    The latest resources and free stuff (like textures, fonts, Photoshop brushes, scripts, plug-ins, and much more!) from workflowFreelance.com. Read more!
    The latest headlines from workflowFreelance.com. Read more!
  • Popular Search Terms

    Curious what others are searching for? Below are the most popular search terms over the last 30 days.