Category: Flash

  • Unsmooth & Smooth All Bitmaps

    Built these scripts for my coworker Frankie (and me) to quickly set the “allowSmoothing” property of all bitmaps in your Flash file’s library to false (or true). If your not scaling your bitmaps, turning smoothing off allows a more accurate representation of your design and can more easliy allow you to spot when your on half-pixels, or some bitmap didn’t import correctly into Flash. The opposite, setting it to true, is nice when your scaling your bitmaps and they have the potential to be on half-pixels… specially over-compressed JPEG’s; it helps compensate.

    If you have a bunch of bitmaps in your library, it can be tedious to right click on each, select properties, toggle the setting and hit ok. Using these JSFL scripts, with one click it’ll toggle them all on or off, whether you have 1 bitmap or 1000.

    Just something to help your productivity!

    Unsmooth All Bitmaps
    MXP | JSFL

    Smooth All Bitmaps
    MXP | JSFL

  • SciTE|Flash 2004 pre1 Released

    Ale @ Bomberstudios appeared to be sneaky and release a new version of SciTE|Flash for 2004… or at least with little marketted fanfare. He’s aggregated, though, and in the blogsphere, you can’t hide; what’d be the point?

    Just installed and it keeps… doing things for me. Kind of neat. I’m one of only 2 coders I know who actually uses Flash MX 2004 to code ActionScript, but for the rest of the world, progs like this rock. Check it out, just beware it’s pre… reckon that means pre-alpha or somesuch. Beware! The rush is worth it (to me anyway).

    SciTE|Flash 2004 pre1

  • JXL Property Code Writer

    My class maker was a little over the top, and I found the most repetitive thing about building a class is really creating all of the properties and their bloody getter/setters. So, I made this JSFL script with a XUL (I like to say ‘zool’) panel to quickly spit some formatted property code out for me. I like the privates used in the getter/setters to have underscores (_) and the getter/setters underneath.

    If your looking for a quick way to create them, want to see some JSFL working with XUL, or just learning how to use XUL in general, here’s a sample

    JXL Property Code Writer – Install (MXP) | Source (ZIP)

  • SWF + ASCII -> CVS = OT OT OT

    Dude, don’t check Flash SWF’s into CVS as ASCII. Everyone will think you coded things wrong, there is a security issue with SWF’s accessing data across domains, WebLogic needs to set Flash MIME types, and that Flash had a compile error… all of which are wrong.

    If you check it in as Binary, everything works, and everyone forgets the Flash comments they made.

    Doughnut hole? Why yes, thank you.