Executing JavaScript in a Flash HTML TextField is both cool and a little scary. You can throw some inline JavaScript in your htmlText to dynamically specify a pop up window size when using target="_blank." This works in both ActionScript 2.0 and ActionScript 3.0. Pop up Window Example: // Example of Inline Java Script (click on [...]
Define Popup Window Size in HTML Text
posted by Chris Black on March 1st, 2010 under Flash
Fix Disappearing Fonts Caused by SWC’s
posted by Chris Black on January 3rd, 2010 under AIR, ActionScript, Flex
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 [...]
Adding Server Side Captcha to Flash Forms
posted by Chris Black on November 23rd, 2009 under ActionScript
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 [...]
Google Maps: InfoWindowOptions and TextEvents
posted by Chris Black on August 11th, 2009 under ActionScript
Problem: Info windows in Google maps are great but how do you pick up specific text events? It is very common to have a 'learn more' or 'click here' link nested in your text fields. Without direct access to the TextField class in the InfoWindowOptions how do we pick up these events? Solution: Well, we [...]









