Avatar creation FAQ
From Whirled
Contents |
How can I change the placement of my Avatar's name?
You can call setHotSpot.
The third argument to setHotSpot() will specify the height above the bottom of the avatar where your Avatar's name will be placed.
Why does my avatar keep cycling through all of its scenes?
Most likely there is a bug in your code. When you compile a SWF with Adobe Flash CS3, if there are any major bugs, it will just create a movie that loops through all the scenes. Try to look for a window named "Compiler Errors" in CS3; this should tell you what you need to fix.
If you are getting the error "Type was not found or was not a compile-time constant: AvatarControl." then make sure that you have downloaded the Whirled SDK. Flash must also be configured to know where the Whirled SDK is.
Why is my avatar being cut off when I turn to the right?
If you are using the Advanced avatar (Flash tutorial) template, the Body class is automatically flipping your avatar to face the right direction, but will flip improperly if the Body is not set correctly in your code. On this line:
_body = new Body(_ctrl, this, w);
Make sure to replace the w with the width of your scene.

