Blog

  • Where are mp3’s?

    I’m looking for:
    – mp3 finding web services
    – mp3 finding PHP scripts
    – mp3 finding Perl scripts

    I posted on <a href=”http://chattyfig.figleaf.com/”>Flash Lounge</a> today, but didn’t get much response. Hoping my blog will yield better results.

    ???

  • Cell Renderer Example

    Ok, since this was a pain to make complicated and I got it working simply, I figured I’d share so you only have to go through pain doing more than I did. …not that I want you to go through pain, but it certainly makes the pleasure more worth it. At any rate, check this sample. I made a custom cell renderer for the DataGrid so I could have it render HTML hyperlinks. I tried using the TextArea to no avail, but a TextField works just fine!

    Cell Renderer – <a href=”https://www.jessewarden.com/cell_renderer/”>HTML</a> | <a href=”https://www.jessewarden.com/downloads/cell_renderer.zip”>ZIP</a>

    Update: Jared, you may be able to use getCellIndex to get the itemIndex, and if it’s odd or even, change the display of the renderer to an alternate color. Hope that helps!

  • 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>