Macromedia Flash8 Bible

Troubleshooting problems with a Flash movie can be quite difficult. Depending on the complexity of your movie(s), it can be quite involved. The two main areas where you can experience problems with your movie are as follows: the structure and design of your movie, or your ActionScript code. However, this can be extended to other technologies your movie may use. For example if you use a Web server that relays XML data back and forth, the problem could lie in the connection and processing of data and may have nothing to do with the Flash movie. Similar issues can exist if you're using Flash Remoting or Flash Communication Server applications. We have compiled these troubleshooting checklists to help you solve some problems that may occur during your Flash development.

Good Practices

The following list will help you alleviate the need for troubleshooting your movie and prevent many problems from occurring:

General Troubleshooting Checklist

The following is a list of guidelines that you should follow when you are not too sure where your movie is faulting. Both developers and designers should read these general guidelines; often, simple mistakes cause problems in your structure and ActionScript.

Designer Troubleshooting Checklist

This checklist is a simple guide to problems relating to the structure and layout of your movies.

Web Resource 

While not related to ActionScript or coding, a common bitmap problem that designers encounter is bitmap shift, where a bitmap image appears to be in a different X and Y position at run time than it appeared on the Stage at author-time. You won't likely see bitmap shift occurring in Flash Player 7 or 8. See the tech note at Macromedia's site:

  • www.macromedia.com/support/flash/ts/documents/bitmaps_shift.htm

Developer Troubleshooting Guidelines

This is a list of common problems that may occur when you are writing ActionScript. Problems in your project can spread far and wide; these might also be caused by one or more trouble areas that we covered in the general or designer guideline sections. It is to your advantage to read all the troubleshooting areas to maximize your chance of solving problems.

Категории