Jul
6
2005

ff05: day one

Flash Forward 2005: New YorkAt the moment, I’m sitting in a conference room at the Flash Forward conference in New York. The current session is about object-oriented programming, which I’m pretty fuzzy on, but I want to learn more about. However, the presenter lost me about 20 minutes ago when he told the crowd, “Polymorphism is a good thing to use. So you should do that.” So. Yeah.

It’s been a hit-or-miss day so far. The opening session didn’t do a whole lot for me, although I was impressed by the presenter’s energy level for nine in the morning.

I did get some good tips from Branden Hall’s ActionScript session, particularly with respect to optimizing code. Highlights:

  • If you’re doing a “for” loop, and the number of iterations depends on another property, say the length of a particular array, use a variable to represent that value. Otherwise, Flash will have to re-process the length of that array, even if the value hasn’t changed. So instead of
    for (var i:Number = 0; i < myArray.length; i++) {
    //
    }

    use:

    var max:Number = myArray.length;
    for (var i:Number = 0; i < max; i++) {
    //
    }
  • Find a balance between raster and vector graphics. Raster images may be less processor-intensive than complicated vector graphics — but may also inflate your file size.
  • Set the “_visible” state to “false” for objects that aren’t needed.

Afterward, Peter Hall’s session on optimizing Flash graphics for direct linking and search engine optimization offered an intriguing solution: Build a very basic HTML site that automatically redirects to particular areas of the Flash movie, and then the Flash movie, in turn, parses those referrer HTML files, the schema set up by an XML file linked within the header of the HTML.. (Complicated to explain, but interesting nonetheless.)

I also stumbled into Amit Pitaru’s session about Processing, a Java-based system to create multimedia. (I meant to go to one about Flash game development, but ended up in the wrong conference room.) Pitaru offered a really cool example in which a row of animated hairs on the screen looked like they’d been hit by a gust of wind as he blew into the microphone on his laptop. I’ll have to poke around and see if I can find it online someplace.

Comments

Dude, I was in that seminar where he mentioned polymorphism. That guy was all over the place. Um yeah, sooo, then you do this.

I felt for him when everyone started walking out.

Posted by Tommy on July 6, 2005 6:46 PM

One of the things that I thought of after some of the sessions was that if you’re hiring someone for a job, you interview them. If you want someone to join a band, they have to audition. If you want to get shot into space in a rocket you need to be put through tests and training to be able to prove you can survive it.

To present at flashforward you only have to meet two basic requirements: “I can write actionscript” and “I can remain upright and breathing for a period of 45 minutes.” There’s no public speaking skills required.

(That’s not aimed at Peter Hall, I thought he did alright and I liked the idea of the stuff he was presenting on. There were a couple others though that really were painful.)

Posted by Michael Raichelson on July 9, 2005 5:53 PM

Post a comment

As a spam-control measure, your comment may require my approval before it will appear on the entry. Thanks for waiting. To avoid the moderation delay, consider filling in your e-mail address. It won't appear on the site, but I use it to whitelist frequent commenters so their comments appear automatically.


The following HTML tags are permitted (if you want to use them):
p, br, a href, b, strong, u, i, em, ol, ul, li, cite, blockquote