Uncategorized

My foray into tweetcoding

I finally broke my Twitter silence and tweeted so I could participate in the tweetcoding competition that Grant Skinner launched. Here’s the code of my amazing entry:

if(!i++) { o=new Loader(); o.load(new URLRequest([“http:”,,”is.gd”,”kUV9″].join(“/”))); } if(o && o.width) { stage.addChild(o); }

And here’s the link to the auto-generated SWF produced by that code.

So for those of you who have been following me on Twitter waiting for me to say something, I hope a dorky joke made of code is everything you expected and more. My entry is kind of cheating I suppose, but it’s all for a good laugh 🙂

The tweetcoding competition is really cool, and people who are taking it seriously (obviously myself not included) are making some really impressive stuff in 140 characters. If you haven’t perused the entries, go to this page and explore. Anything tagged with #tweetcoding is shown in that list, and all the entries submitted are automatically compiled.

And as a tip to others, if you’re going to do an entry, make sure to write it and test it in Flash. I first tried just doing an AS3 project in Flex Builder, but running code in an AS3-only Sprite-based project is quite a bit different than running code on the timeline. It wasn’t until I installed Flash CS4 and tested on the timeline that I got an entry that the tweetcoding compiler would compile correctly (I submitted 3 entries that didn’t compile).

Related Posts

  • A few months ago I decided that my Eclipse setup was far from optimal. I was using slightly customized versions of the default Flex Development and Debugging perspectives that ship with Flex Builder. I had customized them to suit my personal preferences (things like making the Variables pane take up…
    Tags: code, flex, builder
  • Which I consider pretty amazing since I've never sent a single tweet. That pretty much puts my follower to tweet ratio at Infinity. follow dougmccune at http://twitter.com You can be one of the cool kids too and follow me on Twitter. Twitter's pretty much the best service in the entire…
    Tags: twitter, cool, amazing
Standard

6 thoughts on “My foray into tweetcoding

  1. Blake K. says:

    To be really clever, you could successively build up an application where tweet 1 lays the base code, tweet 2 imports that compiled swf and extends it, and so on. That would also be a stretch of the rules, but if it’s like the International Obfuscated C Code Contest, finding clever ways to break the rules is fair play.

Comments are closed.