This tutorial uses AS3 to build an pet for Glowbe.

Set up your new pet

To create a new pet, change to the whirled directory and run the ant newpet task:

 % cd whirled
 % ant newpet

Windows users can double click the newproject.bat file instead of using the command line.

If this is the first time you are using the SDK, it will ask you to configure the directory of your Flex SDK and your Flash Standalone Player. A dialog box will pop up allowing you to specify that information and then you will proceed to creating your new project.

XXX$ ant newpet
Buildfile: build.xml
     [copy] Copying 1 file to /WhirledSDKs/0.34/whirled/etc
     [copy] Copying 1 file to /WhirledSDKs/0.34/whirled/etc
[newproject] Please enter the name of your Pet project.
[newproject] For example, BestPetEver:
[newproject] Your main class will be called:
[newproject] Is this OK? [y/n]

and the tool will do the rest for you:

[newproject]   Creating 'easyimagepet/build.xml'.
[newproject]   Creating 'easyimagepet/build.bat'.
[newproject]   Creating 'easyimagepet/'.
[newproject] Done! Your new project has been created in 'easyimagepet'.