• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 19. Testing and Debugging > Fixing Compile-Time Bugs

Fixing Compile-Time Bugs

When you export or test a movie, Flash's compiler analyzes all the code in the project. If a syntactical error is found in the code (a curly brace is missing, a colon is used instead of a semicolon at the end of a line of script, and so on), the Output panel automatically opens and displays a detailed listing of the error(s).

These auto-generated error messages include the scene name, layer name, frame number, and line number of the faulty code. They also include a simple explanation about what's causing the error in addition to the faulty code. All this information helps you easily fix compile-time errors because you simply return to the authoring environment, locate the faulty code, and edit the syntax appropriately.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint