Troubleshooting


I've formatted my data in a text file, but when I pull it into Flash it doesn't all show up.

Whitespace can affect how text file data is parsed by Flash. Check for any spaces between important characters in your data file.

When I test loading my data with loadVars(), instead of the traced value in the output box, undefined is displayed in the output box.

There are several possible causes to check for. Check that the variable name is spelled the same in your ActionScript as it is in the external data file. Also, check that you have the correct path to the data file itself.

When I try to get the name of a text node, I get an error in the output panel.

Text nodes in XML don't have names. If you've named a node for a variable, and its child node contains the value of that variable, you need to get the name of the parent node and the value of the child node.

I've written a function that uses the MovieClipLoader method and resizes an image after the image finishes loading, but when I run a test the image never resizes.

Check to be sure that you registered the function as a listener to the MovieClipLoader and that the function is packaged as one of the MovieClipLoader event handlers.



Special Edition Using Macromedia Studio 8
Special Edition Using Macromedia Studio 8
ISBN: 0789733854
EAN: 2147483647
Year: 2003
Pages: 337

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net