Blog

  • FlashDevelop 2.0 RC2 Impressions

    May 24, 2006

    I’m playing with FlashDevelop since reading about it on Keith Peter’s blog. It is as he says: stable, slick, and with great features like usable code completion, code folding editor, integrated class explorer (yay!) and lots more I haven’t yet touched. It’s sweet!

    I was stuck figuring out the best way to include an external SWF filled with media assets into the build process. Basically, I wanted to generate the following MTASC-equivalent command line:

    mtasc main.as -cp classpaths -swf assets.swf -out mymovie.swf -main
    

    What this does is tell MTASC to compile main.as (which then compiles everything else included in it), using the classpaths specified. The -swf switch is the one that will import the media assets, but instead of “injecting” the compiled AS2 into it, I’m specifying a different output file with the -out switch. The last switch tells MTASC to start program execution in the static function main().

    There are two ways to specify build parameters in FlashDevelop:

    • Edit the Project Settings to set the header parameters and output file, but I haven’t figured out how to add the -swf assets.swf line. I don’t think you can do this in RC2, though this is ideal because I can compile ‘n run by just hitting F5. Instead of invoking MTASC directly, this executes FDBuild.
    • Alternatively, I can use the MTASC Quick Build feature, in which you add your additional parameters in a special comment in the source file. The problem with this approach is that QuickBuild applies only to the currently-viewed file, so you have to switch back to your main.as file before you compile. Blah!

    <

    p>Just when I was about to give up and switch back to the Flash IDE, I read here that you can actually add SWFs to the compile chain by right-clicking them in the Project Explorer and selecting add to the library. That’s a much more IDE-ish way of doing things, so I’m happy now. The documentation isn’t entirely clear on this; fortunately I stumbled upon this thread.

    Read more
    DSri Seah
  • Self-Parenting is Harder Than I Thought

    May 24, 2006

    Yesterday I split my personality in “parent” and “inner child”. I probably am just crazy, but I am finding the experience rather illuminating so far. It’s not unlike wearing two hats, but with a subtle difference. Consider the following dualities:

    • Businessperson and Artist
    • Visual Designer and Developer
    • Producer and Production Designer
    • Creative and Adminstrative
    • Manager and Developer
    • Architect and Builder

    Since I’m a solo practitioner, I tend to flip back and forth between “manager” and “creator” roles as need be. It’s no wonder that I lose track of which hat I’m wearing at any given time; I have to wear many hats, which involves an expensive context switch.

    Now, consider the following pairs:

    • Parent and Child
    • Teacher and Student

    The difference: instead of focusing on the work, you’re focused on the success of a person. The first set describes roles that are tied to process or product. That is a different mentality entirely! Shifting the emphasis to people lessens my mental overhead.

    How?

    (more…)

    Read more
    DSri Seah
  • Considering Open Laszlo, hAxE

    May 23, 2006

    I was catching up with one of the engineers who works on Open Laszlo, a rich-internet application system that came out some time before Flex from Laszlo Systems. Laszlo has historically produced output for Flash Player, but now it’s targeting DHTML also! There’s a demo on the home page, showing both examples with Flash and DHTML.

    I’ve been interested in Laszlo for some time, but have been preoccupied with regular Flash development using the Macromedia IDE. I think it’s time to take another look at it; Laszlo separates presentation from logic through a declarative XML-based schema that seems like it would be pretty fast. What kept me from really getting into it was the additional requirements to host it (Apache Tomcat) and my lack of a really good XML editor (I dislike formatting XML in general). The former has been addressed by neat try it out in 10 minutes tools and non-commercial hosting options, and the latter…well, I am mature enough now to overlook my silly prejudices.

    I’m also curious about hAxE, the “web oriented universal language” that grew out of the MTASC team. It also can target either DHTML or Flash Player.

    Anything that can isolate me from actually having to deal with the DOM and browser-based javascript is a good thing, as far as I’m concerned :-)

    Read more
    DSri Seah
  • Adulthood 101

    May 23, 2006

    Yesterday I had the epiphany that I’m still much like a child: given to indulging my impulses at the expense of long-term well-being, still in-the-dark about a lot of basic household processes, and not shaping my own development as a human being responsibly.

    The trick might be self-parenting my inner child.

    (more…)

    Read more
    DSri Seah
  • Adult-Onset Productivity Responsibility Syndrome

    May 22, 2006

    I have not been feeling productive for the past few weeks, which is strange because actually it has been a pretty good run: I got a load of client work done, cleaned my living room, took some junk to the dump, had half-a-dozen insights, and even went dancing. Nevertheless, I still feel unproductive, which triggers feelings of inadequancy and depression. Feeling productive is really what’s important in this case.

    I’ve only just now become consciously aware of this, it’s time to do another self-diagnostic to find out what’s wrong. It has something to do with being an adult, but maybe not in the way you think.

    (more…)

    Read more
    DSri Seah