Apr 01
So I had a question about using my prototyped stripWhitespace function for Strings in AS3. Since it was written for actionscript 2 it has a few different problems when using it in AS3. First of all, variables are not typed at all, which is almost required in AS3. Next, it uses prototyping, which in AC3 should really only be used in very special circumstances. So I updated the function for use in AS3, using a utility class instead. Take a look.
Continue reading »