Simple TextFlow Example

Talk about under-documented and over-complicated. The new Text Layout Framework has been a headache to use. It took far too long to get underlined, padded, editable text. Hopefully this example will save someone else the pain. After downloading Flash Builder I thought it would be fun to check out the new Text Layout Framework. While [...]

Fix Disappearing Fonts Caused by SWC’s

Have you ever had that feeling that something is very wrong in your project? Maybe that some paranormal force is working against you? Well, when embedded text starts disappearing after adding a SWC to a project, that's the feeling I used to get. Problem: Let me start by saying SWC's are great. I've been using [...]

Base64 Encoding BitmapData

Turn your BitmapData into a string and back! Great for storing images in XML, Databases, or transmitting them over a network. This post will cover Bitmap Encoding, PNG Encoding and JPG Encoding along with the pros and cons for each. Bitmap Encoding - (link) PLAIN TEXT Actionscript: // Encode var encoded:String = BitmapEncoder.encodeBase64(bitmap.bitmapData);     [...]

Adding Server Side Captcha to Flash Forms

Problem: Flash forms are very vulnerable to attacks. Spiders may not be able to easily iterate through your Flash content but they can sure spam your form submission URL. How can you be sure your form was submitted through Flash? Definition: A CAPTCHA or Captcha is a type of challenge-response test used in computing to [...]