Blog

  • Opening Breeze & Breeze Live to Flash Developers

    Holy $4|T!!!

    <a href=”http://www.peldi.com/blog/000048.html”>http://www.peldi.com/blog/000048.html</a>

    Quotes of note:

    “The main piece of news I want to share is that we’re opening up Breeze and Breeze Live to flash developers. What I mean is that we’re planning to publish an API for building custom Pods, and have exposed all of the Breeze Platform (the Web App, as I affectionaly call it) through Web Services.”

    “If instead you are a freelance FlashCom or a Flash+WebServices developer or a small Flash shop…well…here’s a whole new way to market yourself, as a “Breeze Pods builder” or “Breeze Customizer”. It could be a small but profitable niche, considering that Breeze clients are usually pretty large corporations.”

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