Whirled SDK/Classpaths

From Whirled Club Wiki
Revision as of 16:00, 26 August 2018 by Dragawn (talk | contribs) (Created page with "== Setting Up Your Classpaths == Setting a classpath will allow a program to automatically import the code needed for all your future avatars, pets, toys, or fur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting Up Your Classpaths

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, all your creations requiring use of the Whirled SDK will export with the code while using that program!

Adobe Flash CS3

  1. In Flash CS3, choose Edit -> Preferences or use Ctrl-u.
  2. Under Category, choose ActionScript.
  3. Click the button labeled "ActionScript 3.0 Settings...".
  4. Add the base Whirled classpath:
    1. Click the plus to add a new classpath.
    2. Click the crosshairs to browse to your SDK folders.
    3. Find and set the path to "...\whirled\src\as".
  5. Add the contrib directory if you want to use items there:
    1. Click the plus to add a new classpath.
    2. Click the crosshairs to browse to your SDK folders.
    3. Find and set the path to "...\whirled\contrib\src\as".
  6. Add the avatar or pet classpath:
    1. Click the plus to add a new classpath.
    2. Click the crosshairs to browse to your SDK folders.
    3. Find and set the path to "...\whirled\examples\avatars\uravatar\src" or "...\whirled\examples\avatars\urpet\src"
  7. Note: some bases and avatars may require additional classpaths. Check with the base creator for the location of any additional classpaths.
Set the classpaths to your local Whirled SDK directories.

<noinclude></noinclude>

Adobe Flash CS4 / Adobe Flash CS5

  1. In Flash CS4, choose Edit -> Preferences or use Ctrl-u.
  2. Choose the Actionscript option from the side panel.
  3. Click the button labeled "ActionScript 3.0 Settings...".
  4. Add the base Whirled classpath:
    1. Click the plus to add a new classpath.
    2. Click the yellow folder to browse to your SDK folders.
    3. Find and set the path to "...\whirled\src\as".
  5. Add the contrib directory if you want to use items there:
    1. Click the plus to add a new classpath.
    2. Click the yellow folder to browse to your SDK folders.
    3. Find and set the path to "...\whirled\contrib\src\as".
  6. Add the avatar or pet classpath:
    1. Click the plus to add a new classpath.
    2. Click the yellow folder to browse to your SDK folders.
    3. Find and set the path to "...\whirled\examples\avatars\uravatar\src" or "...\whirled\examples\avatars\urpet\src"
  7. Duplicate these classpaths in the section labelled External Library Path
  8. Note: some bases and avatars may require additional classpaths. Check with the base creator for the location of any additional classpaths.
Set the classpaths to your local Whirled SDK directories.

<noinclude></noinclude>