Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

acrobat activex control and Acrobat Reader 6

Status
Not open for further replies.

mkcheznous

Programmer
Jun 28, 2003
2
GB
I have a Director 8 movie that will be deployed on a CD.
It uses a sprite with the acrobat activex control to display PDF files.

I use lingo to assign the file name as the user can change the files viewed (sprite(1).src = filename. Before I do the assignment. The first file loads Ok.
Because I had a problem with Reader 5, I then skip out and back to the frame before I allow the movie to load another file. This clears the instance of the control and works fine in Reader 5.

Unfortunately in Reader 6, when I assign a second pdf file to the same control, Director crashes.

When director crashes I get the Reader 6 dialogue "One or more PDF documents are open inside a web browser. If you exit Adobe reader now, those documents will be closed. Are you sure you want to exit?"

If I take the option to "do not show this message again" it sets something in Reader which means whenever I run the movie afterwards I get no problems at all.

... unfortunately I cannot find a way to switch off this warning either by manually though Reader or via code. Anybody know how ?

 
Set the following key:

[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\6.0\AVAlert\cCheckbox]
"iexitWithExternalDocsOpen"=dword:00000001

This means "do not show this message again".

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top