Entries Tagged as "Flex"

FXP MIME Type

So earlier today I posted an .FXP (Flash Builder Project) file for people to download from my IIS (7.5) server and the link was not working. My solution was to add a new MIME type for the .FXP extension in IIS.

File name extension: .fxp
MIME type: application/x-zip

Problem resolved!

No Comments

Squiggly Spell Checking Engine

Adobe has just released (Mar 30) its Preview 3 build of Squiggly, a spell checking engine for Flex 3 or Flex 4 text controls. I was very interested in using Squiggly in some of my projects so I was fast to jump on this and give it a try.

Squiggly is very easy to use! All you have to do is copy the .swc's into your projects libs directory, copy the 'dictionaries' directory into your src directory of your project and you are ready to use Squiggly.

The easiest way for me to use Squiggly was to create new classes that extend the TextInput and TextArea controls and enable/disable the spell checking on focus change. This gives it the "check as you type" functionality.

I did run into a bit of trouble after I moved my demo to my server and tried pulling it up. I was getting this error:

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://labs.dcfusion.com/flex/Squiggly/dictionaries/en_US/en_US.aff

What this means is my IIS (7.5) web server didn't know how to handle the .aff extension. I also had the same issue when trying to pull up the en_US.dic file. The en_US.aff and en_US.dic files are basically dictionary files that the .swc's use in order to evaluate the text properly. So I had to add new mime types for these extensions. So, in summary, I added a total of 2 new mime types:

File name extension: .aff
MIME type: text/plain

File name extension: .dic
MIME type: text/plain

Here is my demo (click inside the TextInput or TextArea controls to activate, then right-click on the red squiggly lines):

Download the source to this demo here!

Special thanks to Brian Rinaldi and his Spell checking in Flex with Squiggly - Part 1 blog post to help get me started!

No Comments

Simple Twitter Search

Lee Brimelow just released a new video titled "Two Minute Flex 4 Application" where he builds a Twitter search app using the new data features (specifically the XML wizard) in under 2 minutes using Flash Builder 4.

I decided to recreate it and all went as exptected, but mine took 3 minutes! :-) You can test out the app below and watch the video at the link above.

No Comments

Flash Builder 4 & ColdFusion Builder Install Issues

While installing both Flash Builder 4 and ColdFusion Builder I ran into an issue that had me wondering what I did wrong. Here is the setup I was going for: Flash Builder 4 Premium Standalone with ColdFusion Builder Eclipse Plug-in installed into the Flash Builder install. This was all done on Windows 7 64-bit.

Step 1. Install Flash Builder 4 Premium Standalone. Everything went great! No issue with this install, as you can see.

Step 2. Install ColdFusion Builder Eclipse Plug-in into the Flash Builder install. The install went well, as expected. The problem was when I launched Flash Builder, I could not find the ColdFusion Builder perspective.

After uninstalling ColdFusion Builder and re-installing with the same results, I tried one last thing. I fired up Flash Builder by right-clicking and "Run as administrator" and I could finally bring up the ColdFusion Builder perspective just fine!

And the results...

Hope this info helps!

4 Comments

Flex Camp OC 2009

Today was Flex Camp OC! It was a great roundup of speakers and I really enjoyed it. Best part was it was local and at Boeing HB.

I can't wait for next years Flex Camp!

No Comments