Troubleshooting


When I trace myXML, I get [type Function] in the output window instead of the xml data.

Make sure that you called toString() correctly. If you leave out the (), you get the object type instead of the result of the function call. To get the string output of an XML object, write myXML.toString().

I've got the cycleImages function working now, but the titles are out of synch with the images.

Make sure that you push the target clip into the loadedImages array inside of the onLoadInit function. If you push the target clip (targ) before the image loads, the image information becomes available to the cycleImages function too early.

When I test my code, I get the following error message: The class or interface `flash.filters.DropShadowFilter' could not be loaded.

Check the document's publishing settings. This can result from using Flash 8 classes when the player version is set to Flash 7.

It's taking a very long time for the images to show up, and when I test this on my server it takes even longer.

Check the file sizes of your images. The bigger the file size, the longer it takes to process the images in Flash. To speed up things, try to optimize your file sizes for faster download and rendering.

I'm trying to load images from another server, but a warning box comes up.

This is the result of cross-domain security issues. For more information, visit the Macromedia website at http://www.macromedia.com/devnet/mx/flash/articles/fplayer_security.html. For information on the security enhancements introduced in Flash 8, see the article, "Security Changes in Flash Player 8," which can be found at http://www.macromedia.com/devnet/flash/articles/fplayer8_security.html.



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