RSS LinkedIn Twitter

Archive for the ‘Languages’ Category

There are two ways to load content into Flex’s HTML control. The first is to set assign the htmlText property some HTML. The second is to set the location property to the URL of the site you wish to load. The two are mutually exclusive, as described in the ActionScript 3 Reference here. Speaking specifically […]

Saturday, March 12th, 2011 at 07:59 1 comment

Here’s a pair of methods I use to generate random usernames for an online test. They could be used to generate random strings for any purpose, though. len is the length of the random string you want returned. public static function generateRandomString(len:uint = 1, userAlphabet:String = “abcdefghijklmnopqrstuvwxyz”):String{ var alphabet:Array = userAlphabet.split(“”); var alphabetLength:int = alphabet.length; […]

Thursday, March 10th, 2011 at 21:08 0 comments

I love being able to drag-and-drop files or directories onto my AIR apps and have it recursively process all of the files in the directory structure. This is handy for batch file processing utilities, which seems to be a common theme in many of my AIR apps. The first thing you need to do is […]

Thursday, March 10th, 2011 at 20:57 3 comments

I’ve been doing some development in Grails lately. It’s a Ruby-on-Rails-esque platform based on Groovy. If you’ve ever done traditional Java web programming and hated it (JSPs, this-config, that-config… you get the picture.) it’s really a breath of fresh air. I don’t know how I could ever go back. It has a handy webflow feature […]

Monday, December 27th, 2010 at 22:06 0 comments

I finished my final Flex 3 project a couple months ago and have finally been able to start digging into Flex 4 for my current projects. There are two in particular that involve a number of input-type popups. The first thing I noticed about these popups (which were based on either Group or VGroup) was […]

Wednesday, December 15th, 2010 at 10:11 2 comments

I recently purchased the book Adobe Flash Builder 4 and Flex 4 by David Gassner and will be publishing a complete review when I’m done with the book. I’m going through it looking for the coverage I feel would be most helpful for those experienced with Flex 3. Even more specifically, those like myself, who […]

Friday, June 11th, 2010 at 22:56 1 comment

This post details the steps I took to install Red5 from source on a CentOS 5.5 base server. 1. Install Java using yum. (The -y flag provides a ‘yes’ answer to all prompts.) 2. Install the Apache ant binary. I downloaded the most recent release one directly from Apache’s archives. The version installed using yum […]

Friday, May 21st, 2010 at 21:56 31 comments

Starting with certain versions in the 9.0’s of Flash player, socket communication in Flex began adding additional security measures. The one I am going to discuss in the post is the socket policy file. In short, the socket policy file is an XML file that is served by default from port 843 and contains information […]

Tuesday, February 9th, 2010 at 00:04 0 comments

Client-server programming is one of my passions, and I enjoy doing it in almost any language. Which makes it fitting that Flex (ActionScript) is one of my favorite languages to develop in, because it truly is a client-side technology which pretty much means it’s open to just about any type of backend server. I suppose […]

Monday, February 8th, 2010 at 22:39 6 comments

Perl is one of those languages I probably don’t care if I ever master, but I have to deal with it from time to time both in web applications and in shell scripting, that I wanted to gain a better understanding of it. For that reason I passed up on getting the highly acclaimed “camel […]

Monday, February 8th, 2010 at 22:05 1 comment