Config troubleshooting FAQ

From Whirled Club Wiki
Jump to: navigation, search
Frequently Asked Questions
Icon-whirled.png General | Icon-bars.png Billing | Icon-whirled.png Technical Issues

Icon-highlighted-avatar.png Avatar Creation | Icon-highlighted-game.png AVR Games | Icon-highlighted-game.png Game Creation | Icon-highlighted-backdrop.png Room Editing | Icon-whirled.png Whirleds (themed)
Icon-whirled.png Example code (SVN) | Icon-whirled.png Content Copying & Derivation | Icon-whirled.png Digital Millennium Copyright Act Policy
Icon-Programming.png Config Troubleshooting

Useful Groups: Bug Hunters | Whirled Builders | Whirled Coders


These are some common config item errors and their fixes to help with config troubleshooting.

Config parts won't config

Errors: None

Fix: This commonly happens when your instance name does not match and/or is not on ALL keyframes of the selected layer. Just make sure that the above criteria is fixed, then your issue should be resolved. Remember that instance names are case sensitive.

Call to a possibly undefined method ConfigPanel

Errors: **Error** C:\Documents and Settings\user\My Documents\Downloads\Config-a-Gnoll\ConfigBody.as, Line 38: 1180: Call to a possibly undefined method ConfigPanel.

return new ConfigPanel(

**Error** C:\Documents and Settings\user\My Documents\Downloads\Config-a-Gnoll\ConfigPanel.as, Line 1: 5001: The name of package 'config' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file.

Fix: If you fix the bottom error, that will fix the above error as well. This error happens when Flash can't find the Config.as files. they should be place in something to this lines: whirled_sdk_0.66\whirled\examples\avatars\uravatar\src and make sure you have that line set up in your classpaths.

If this fails, then change the first lines on each Config.as file from "package config {" to "package {" and that may do it.

Config Panel won't open

Errors: None (usually)

Fix: This happens when you have options that aren't in your code, but you have them placed in the Config Panel. Just make sure you ONLY have the options that are in your code in your ConfigPanel. This can also happen when your ColorOptions aren't MovieClips. This is a common mistake, as the ColorOptions start out as a Button. To change them all you have to is click on each one, then there should be button at the bottom left of the screen that says "button" click that then click "MovieClip" and rename your instance name.

Additional tips: Remember to edit the "art" of the panel AFTER you make sure it works. Make sure to still edit the panel so that it is functional.

Config Panel is not inside of the pop-up

Errors: None

Fix: Whenever you click on the config panel, at the bottom of your screen (in Flash CS3) you should see four boxes with a bunch of numbers. In the X and Y box, make sure it says 0, this will fix your issue.