Its similar to the way you are adding the moviePath to "tjoho". Use the
concatenation operator to add the string at the end. Make sure the pdf file
is residing in the same path as the director file path.
PDF_Open(sprite 50, the moviepath & getat(gBildspel, gPos) & ".pdf" )
Hope this helps
Ramesh C T
-----Original Message-----
From: Magnus Ewald <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, September 28, 2000 3:28 PM
Subject: SV: <lingo-l> PDFXtra ??
>Hello again !
>
>I am currenly working on a project and using PDFXtra for the first time,
maybe someone could help me out here!
>
>This is an example of code that works just fine:
>
>PDF_Open(sprite 50, the moviepath & "tjoho.pdf")
>
>Im trying to get this line of code to work:
>
>PDF_Open(sprite 50, the moviepath & getat(gBildspel, gPos))
>
>But i get error messages that implies that director cant find the file. The
getat(gBildspel, gPos) returns "tjoho" but not "tjoho.pdf" as i has to to
work correctly. How do I add ".pdf" at the end...??
>
>It�s kinda hard to explain, but perhaps someone out there use PDFXtra
regularly, and sees my point!
>
>thanx alot !
>
>
>
>
>[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!]
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
[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!]