Hi..
I've been trying this out for days, but still could get the pdf file out. It
generates error when I click on the button. Said "variable used before
assigning a value" and it point to pPressed. Could someone help me with
this. Have some project to do that incorporates PDF.
Thanks.
Suzee
Multimedia Programmer
Cosmopoint, MY
----- Original Message -----
From: Lisa Pearson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 10:46 PM
Subject: <lingo-l> Opening your PDF from Director.
> To who needs to know . . . Shailesh . . . .
> This is real easy to do.
>
> 1. Create a new marker in frame any frame, but not frame one and call it
PDF or
> something like that.
> 2. In the script channel type:
> on exitFrame me
> go to the frame
> end
> 3. On the stage create a new button using the tools menu. Call the button
open
> PDF. (Original I know)
> 4. Go to the Insert pull down menu in Director, go to control and click on
> ActiveX.
> 5. You will be asked to select an ActiveX control, select Acrobat Control
for
> ActiveX - this is the top one on the list.
> 6. Click OK.
> 7. Select the properties tag.
> 8. Type in the drive and path of directories which lead to the PDF you
want to
> open. E.g C:\PDF Images\My PDF File\PDF Graphic 1.PDF
> 9. Check you have correct path and spelling and then click OK.
> 10. Look at your cast members - there will be a new AcitveX icon in the
cast
> now, with the PDF icon on.
> 11. Then add this piece of lingo to your standard rollover/button lingo
> on mouseUp me
> -- cursor -1
> if pPressed then
> sprite(1) .src = the moviePath &"PDF Graphic" -- In the brackets write
the
> name of your PDF file.
> end if
> end
> 12. Rewind the movie and click on the open PDF button and voila there's
your
> PDF.
>
> Hope this helps you to get to grips with ActiveX.
> Lise P.
> P.S. If this is going to go on a CDROM or something just save the acrobat
> program on the CD and then you have no worries as to whether or not the
end user
> will have it installed on their machine or not.
> Yes I am getting two of every memo - stop it please. Eat your heart out
Noah.
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]