Accessibility

TechNote

Using the Director.ini file to troubleshoot script errors

How do I troubleshoot a generic script error in a projector or Shockwave movie?
Script errors in Director usually display details describing why an error occurred. However, once a projector or Shockwave movie is created, generic script errors sometimes appear, such as "Script Error, Continue?" These errors can be difficult to troubleshoot if there is no information describing why the error occurred.

The Director.ini file can aid in troubleshooting generic script errors with the "DisplayFullLingoErrorText" command. The following steps are basic instructions for using this command and should only be used as a reference. Read the instructions in the Director.ini file for more information about how the Director.ini file works.

To use the Director.ini file with a projector follow these steps.

1

Using a text editing application such as Notepad or SimpleText, open the"Director.ini" file located in the Director installation folder on your hard drive.
The Director installation folder is most often found in these locations:
Macintosh: HD:Applications:Macromedia:Director
Windows: C:\Program Files\Macromedia\Director

2

Remove the semi colon (;) from the following line:

 ";DisplayFullLingoErrorText=1"
		
This will un-comment this line so that the code can be executed.
3

Save a copy of the file with the same name as your projector. Be sure to include the .ini at the end of the file name. So, for example, if a projector was called "movie1.exe", save the INI file as"movie1.ini".

4 Place the file in the same directory as the projector.
5 Run the projector.

To use the Director.ini file with a Shockwave movie follow these steps.

1

Using a text editing application such as Notepad or SimpleText, open the"Director.ini" file located in the Director installation folder on your hard drive.
The Director installation folder is most often found in these locations:
Macintosh: HD:Applications:Macromedia:Director
Windows: C:\Program Files\Macromedia\Director

2

Remove the semi colon (;) from the following line,

 ";DisplayFullLingoErrorText=1"
		
This will un-comment this line so that the code can execute.
3

Save a copy of the file as "shockwave.ini"

4 Place the file in the Shockwave folder. For more information about the Shockwave folder see Xtras downloading overview(TechNote 13653).
5 Run the Shockwave movie

To see a working example that shows how to use the Director.ini file, seeDebug movies using the alertHook command and a Director.ini file. (TechNote 15813)



AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_15452

Products Affected: