FANDOM


Whirled SDK

The Whirled SDK or Software Development Kit is a package of files that assist you in creating things for Glowbe, such as avatars, games and more.

You can find the latest version of the SDK here.

Documentation

The following links are to Whirled API documentation.

Whirled API Documentation

Whirled Contrib Documentation

Install and Set-up the Whirled SDK

  1. Download the SDK from the link above.
  2. Unzip the SDK you downloaded in your chosen location, creating a whirled folder with a few folders in it.
  3. Once the Whirled SDK has been properly installed, the next step is to add the classpaths to the ActionScript files used in Adobe Flash Professional as shown below.

The Setup of SDK

Setting a classpath will allow a program to automatically import the code needed for all your future avatars, pets, toys, or furniture items. When correctly set up, items, requiring the use of the SDK, will export with the code while using that program!

Adobe Flash CS3

  1. In Flash CS3, choose Edit > Preferences or use the Ctrl-U key combination.
  2. Under Category, choose ActionScript.
  3. Click the button labeled "ActionScript 3.0 Settings...".
  4. Add the base Whirled classpath: "...\whirled\src\as"
  5. Add the contrib directory if you want to use items there: "...\whirled\contrib\src\as"
  6. Add the avatar or pet classpath: "...\whirled\examples\avatars\uravatar\src" or "...\whirled\examples\avatars\urpet\src"
    CS3
    Note: some bases and avatars may require additional classpaths. Check with the base creator for the location of any additional classpaths.

Adobe Flash CS4/CS5/CS6/CC

  1. In Flash CS4/CS5/CS6/CC, choose Edit > Preferences or use the Ctrl-U key combination.
  2. Choose the Actionscript option from the side panel.
  3. Click the button labeled "ActionScript 3.0 Settings...".
  4. Add the base Whirled classpath: "...\whirled\src\as"
  5. Add the contrib directory if you want to use items there: "...\whirled\contrib\src\as"
  6. Add the avatar or pet classpath: "...\whirled\examples\avatars\uravatar\src" or "...\whirled\examples\avatars\urpet\src"
    CC
    Note: some bases and avatars may require additional classpaths. Check with the base creator for the location of any additional classpaths.

Adobe Animate CC (from 2015)

  1. In Animate CC, choose Edit > Preferences or use the Ctrl-U key combination.
  2. Choose the Compiler option from the side panel.
  3. Add the base Whirled classpath: "...\whirled\src\as"
  4. Add the contrib directory if you want to use items there: "...\whirled\contrib\src\as"
  5. Add the avatar or pet classpath: "...\whirled\examples\avatars\uravatar\src" or "...\whirled\examples\avatars\urpet\src"
    Forwikia
    Note: some bases and avatars may require additional classpaths. Check with the base creator for the location of any additional classpaths.

Other Links

Basic Avatar Tutorial