I have been playing with Flex this whole week. I have the server running on my PowerBook, and I have been having so much fun.

I started out just editing files by hand. This was not a good path. So I got the trial copy of MyEclipse. MyEclipse has editors for html, css, js, xml/xsd/xsl/dtd, Database Explorer and many others. I feel that at a $29.99 per year, this is a bargain. And with CFEclipse already taking care of all my coldfusion needs, I am now set.

Anyway, back to the story. So now I at least have syntax highlighting for my mxml files. This is a bit help in sorting out my docs. But I want more. I think that code insight/tag hints can be a really great learning tool. You know the tag you are looking for is H-something but you are not sure which? So I set up the mxml.xsd file in myeclipse which allowed me to have all that. Now in addition to customizable color syntax highlighting I also have tag completion and attribute insight.

To set this up in MyEclipse, open your “Preferences”. Navigate through the tree view to MyEclpse>Editors>XML>XML Catalog. On this page Select the “New” button below the first entry box to start a User Specified Entry. In the URI file browse to the location of your mxml.xsd file. In the “Key” field put “http://www.macromedia.com/2003/mxml” (w/o quotes). The key type will auto matically switch to public id. Press “OK” and you should be ready to go.

The only other thing you may want to do is associate your .mxml files with the MyEcipse XML editor. This can be done in Preferences under Workbench>File Associations.

I am sure that Flex Builder is a great application but since I use OSX and Linux as my OS of choice, this is a great alternative. And since I am already in Eclpise for my CF work, I am set.