Category Archives: development

MVC experiment in JS

The past 3 years I’ve been using PureMVC pretty consistently in both my ActionScript and Objective-C projects. I’ve really enjoyed it’s workflow but when looking into the JavaScript port, was not interested in the dependencies required by the different JS ports (mootools, extjs or prototype). So, this weekend I spent some time in a local [...]
Posted in development | Tagged , , , | Leave a comment

Three20 iOS ad-hoc distribution issues

There are a few important things to remember when deploying an ad-hoc distribution application with the Three20 library to an iDevice. This took me a few hours to figure out so hopefully it saves time for someone else! If you get “Three20.h No such file or directory error.” errors during your build, make sure you [...]
Posted in development | Tagged , , | 1 Comment

Facebook Graph API library for ActionScript 3

The company I work for just released an open-source ActionScript 3 library for the Facebook Graph APIs! This library simplifies the creation and acquisition of data from the Facebook Graph API, as well as the expectation of returned data in a consistent and strongly-typed format. This includes, but not limited to, retrieving and posting on [...]
Posted in development | Tagged , , , , | Leave a comment

Throttle RTMP connections

At work, we use Charles to throttle our connections while working locally to help test real life connections. Charles is an amazing program but the one thing that it doesn’t do is throttle RTMP connections (Flash streaming). If you ever need to throttle RTMP connections while debugging your Flash/Flex applications, here is nice code snippet [...]
Posted in development | Tagged , , , | 4 Comments

Inserting keywords/variables in Subversion with auto-props

Spent a little time this week investing how to get keyword variables related to our Subversion repositories (version, last modified by, date, etc) automatically inserted into our code when we commit. My end goal was to have our code looking like the sample below with an initial comment header including our SVN information: /** * [...]
Posted in development | Tagged , | 1 Comment

Spotify url validation

I created this class for a project I am working on where I need to validate Spotify playlist and track URLs. I hope someone will get some use out of it or maybe improve it. It provides two static methods for validating and allows you to specify the return type which currently is a HTTP [...]
Posted in development | Tagged , , | 2 Comments

ANT with JavaScript

Recently at work we had the need to build an application that could both be run over the network and on the local filesystem. Well, this doesn’t work with the Flash security setup as SWF files can only be run on one or the other. Like many other developers, we use ANT to build our [...]
Posted in development | Tagged , , | Leave a comment

Inserting build version numbers into Flash and Flex Applications

For an ActionScript project I am currently working on (and for future projects), we wanted to be able to include the ANT build number into our applications when we do development and production quality releases to clients. The added value in this is that it is extremely helpful if you are constently pushing releases. It [...]
Posted in development | Tagged , , | Leave a comment