Category: Flash

  • Quick JSFL: Component Code Generation

    When creating new forms, the repitition of defining the form buttons and then attaching them in my init function gets old, quick. Until I update my Class Creator, here’s the next best thing using JSFL. You type in your component’s name (ex: cancel_pb), and click OK, then type in your class name (ex: mx.controls.Button), type in your class’s symbol name (ex: Button), and it’ll put the code you need in the Output window. If you don’t hit cancel (or leave a field blank), it’ll keep going. Save as a JSFL file, preferably in your Commands folder so you can re-use it.

    Read on for code…

  • What Flex Means to Flash Developers

    Homeskillet contacted me this afternoon to write an article for the MX Developer’s Journal about what Flex means to Flash developers. He probably sensed the need for it sooner rather than later, so posted some of his original thoughts we discussed awhile ago.

    Check out Erik Bianchi’s thoughts on what Flex means to Flash Developers.

  • Flex is Cool Looking!

    Rather than investigate Flex today, I instead read about the Flash & ColdFusion community?s reaction to Flex? release.

    Read on…

  • How to Pause a Flash Movie

    If only you could customize the modal dialogue, hehe!

    Works with animations as well as code. Since it’s modal, it’ll also prevent your users from interacting with the Flash movie itself.

    function pause()
    {
            var my_pj:PrintJob = new PrintJob();
            my_pj.start();
            my_pj.addPage(this);
            my_pj.send();
    }
    
    pause();