Rob Gonda's Blog

meet my alter-ego

actionscript regular expression class

I still can't believe that Flash doesn't have a built-in regEx match or replace engine, but it can still be accomplished by using external classes. After vast research, I found a class that I really liked and I wrote a VERY simple example validating an email string.

This library is extremely useful because now you can apply patterns to validate numbers, dates, emails, urls, phones, etc. Most actionscripters are not hip or even aware that this is possible, and have to write dozens of lines to validate a simple email address.

You can download the class and the Flash test files, enclosed with this post.

Enjoy!

ajaxCFC: small update for DevNet users

I just uploaded a small patch for ajaxCFC so it works with ColdFusion MX7 DevNet edition. As you probably know, DevNet adds a little annoying meta tag so you can't use it for production, but it also prevents you from generating anything other than html with ColdFusion, which is really lame.

Anyways, special thanks to Harry Klein for sending this fix. The callback handler has a regEx now that will check for that metatag and remove it prior to processing the response.

Canvas: open source ColdFusion wiki

Canvas initially was part of a Macromedia DRK, but today it went open source. It's a nice and simple ColdFusion Wiki, but just like any other Ray's projects, expect it to grow exponentially now that it went OS.

ajaxCFC will be using this Wiki, and I know it's missing some functionality right now, but I truly believe that it will be a great product in no time.

I set up the Wiki today and it's mostly empty :) but feel free to start contributing with anything you want: faq's, examples, docs, etc.

This blog is running version 5.9.003. Contact Blog Owner