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).
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.
You can compile your tweetcodes with mxmlc so you should be able to use Flex Builder… I just wrote a blog post which includes the as class I’m using to compile from: http://www.kelvinluck.com/2009/02/tweetcoding-140-characters-of-actionscript-3/ – it’s basically the same as what the machine501 compiling robot does…
Mate, this is a brilliant entry. I went for the “do something complicated” approach but I much prefer your simple and effective approach!
http://www.twitter.com/siforster
Jerk.
owned! good one :}
Doug, you rick rolling bastard!