Blog

  • CellRenderer API: Need the interface?

    Not sure if I’m doing this right, or if the interface is already in the framework, but here’s what I garnered from trying to make a cell renderer for the DataGrid:

    <code>interface CellRenderer
    {
    // Returns the preferred height of a cell
    function getPreferredHeight(Void):Number;

    // Returns the preferred width of a cell
    function getPreferredWidth(Void):Number;

    // Sets the width and height of a cell
    function setSize(width:Number, height:Number):Void;

    // Sets the content to be displayed in the cell
    function setValue(suggested, item, selected:Boolean):Void;
    }</code>

    I think if you throw that in an as file, and then #include it, you can then do:
    <code>class YourClass implements CellRenderer{}</code>

    At any rate, I’m using it that way, and if it breaks, or doesn’t compile, I’ll let you all know.

  • SE|PY ActionScript Editor

    Aw, dude, this thing is sweet! It’s like <a href=”http://www.bomberstudios.com/sciteflash/”>SciteFlash</a>, but has a few cool features. You can see the functions of your classes and other objects in this tree view, compile straight from it (tells Flash, “Test movie, mofo!”), has the Flash XML reference built right in, and even seems to support a lot of AS2 syntax as well! I haven’t read the site nor the docs so I’m aware I’m probably missing a lot, but I’m hooked without reading it, so check it out!

    <a href=”http://www.sephiroth.it/python/sepy.php”>http://www.sephiroth.it/python/sepy.php</a>

  • AOL AND ICQ SDK FOR MM Central

    Dude, it’d be so nice if someone wrote their own ICQ front-end in Central. That program had wayyyyyyy too many features and buttons from when I started using it. If you compare it to AIM, it’s just one of those apps where a talented bunch of people had free reign on adding functionality. I mean, was there anything ICQ couldn’t do?

    <a href=”http://rss.com.com/2100-1032_3-5109001.html?part=rss&tag=feed&subj=news”>Article by <strike>Kevin Lynch</strike> Jim Hu</a> via <a href=”http://voisen.org/archives/flash_mx/000355.php”>Sean</a>.

  • JXL Library Tools v2 – Another Flash Panel & JSAPI Sample

    There are two bugs: when you uncheck something and for some reason JSAPI can’t turn export in first frame off because I think Flash does it first… and the other one I think is a bug with JSAPI not being able to set a linkage URL for importing for runtime sharing (see previous post).

    At any rate, neat stuff; I’m sure an uber JASPI-g33k could take this stuff to nth level. Hope you like/benefit/learn from it!

    Once you install via the Extension Manager, read the description for more info.

    Quick and Dirty: Flash Panel that utilizes JSAPI using MMExecute to allow you to set Symbol properties without having to right click your life away in the library as well as batch rename, batch uncheck first frame exporting, batch linkageID name via the symbol name, preview the class file, and open it via one click.

    *** Edited 11:38pm EST (GMT -5) – Updated v2.0.0 to v2.0.1 ***
    JXL Library Tools v2.0.1 – <a href=”https://www.jessewarden.com/downloads/JXL Library Tools v2.mxp”>MXP</a> | <a href=”https://www.jessewarden.com/downloads/JXL Library Tools v2.zip”>ZIP</a>