Squiggly – Spell Check in Flex 3

Adobe labs has put a Spell Check library – SQUIGGLY – for Actionscript 3 and Flex 3.

To see Demo

to see its details – Squiggly

Enjoy Flexing . . .  🙂

Mayur Rami

AIR SDK settings for ADT & ADL

We all know that AIR based applications run in two different flavors

  1. swf
  2. html

As a flex developer, I generally use FlexBuilder IDE to create Flex based AIR applications.
But few days back I did some experiment and try to develop an AIR base application through
pure HTML and JavaScript combination.

Though Flex and Acitonscript are my pet technologies but this time I tried a different combination.

To run AIR Applications two command line tools available.

  1. adt
  2. adl

The ADT tool is used to create packaged Installer of application ( which need to be installed first to work on application. ) and

The ADL tool is used to launch AIR application without installing it. ( This tool is mainly useful while developing the application. )

So, will have to configure these tools first and it’s very simple ( It remembers me of my initial days as a Java Programmer, in those day, we had to configure java / javac commads for compilation and run ). Let’s go…

Note : The steps are for Windows platform.

  1. You can download from AIR SDK or here
  2. Unzip the .zip file and save it on your disk. ( we will refer this path as [SDK_PATH] e.g. c:\airsdk_v1).
  3. The point is, you should have at least the following three directories: /bin, /lib and /runtime. (By default they are in same .zip file and you need not to copy/paste them at one place.

But for, those user who, already, have Flex 3 SDK and if they want to set this — without download the separate .zip file. Then just copy these three directories i.e. ‘bin’, ‘ lib’ and ‘runtime’ copy and paste them in a one single directory so as they maintain their corresponding relative path.

) The ADL and ADT command-line tools are located in the bin directory.

  1. Now, we have to just set the system ‘ PATH ‘ to execute the commandline application from anywhere on the system
    1. Open the System Properties dialog box and click the Advanced tab. You can find this in the System
      settings in the Control Panel.
    2. Click the Environment Variables button.
    3. Select the PATH entry and then click the Edit button. Add the path to the bin directory to the end of the
      current variable value, separating it from previous values with a semicolon:
      ; [SDK_PATH]/bin
    4. Click OK to close the panels.

To test the installation, open a new Windows command prompt (Start -> Run -> command), and type adt.

and if everything is correctly done you will get outcome like :

adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS
adt -prepare <airi-file> <app-desc> FILE_ARGS
adt -sign SIGNING_OPTIONS <airi-file> <air-file>
adt -checkstore SIGNING_OPTIONS
adt -certificate -cn <name> ( -ou <org-unit> )?
( -o <org-name> )? ( -c <country> )?
<key-type> <pfx-file> <password>
adt -help

SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )?
( -storepass <pass> )? ( -keypass <pass> )? ( -providerName
<name> )? ( -tsa <url> )?
FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) |
( -e <file> <path> ))* -C dir

Enjoy AIR 🙂