PDA

View Full Version : Link to PDF using getURL with open Parameters


treylok
05-04-2007, 04:54 PM
Hi,

I am trying to create a CD rom app from a flash projector that will open a PDF using get URL.

I also would like to pass variables to the browser inside the URL string.

In my pdf I have named destinations, so that I can jump to a specific portion of the pdf.

So if I want to jump to chapter 3 my URL would be

getURL("myPDF.pdf#nameddest=chapter3,"_blank")

Now this works fine when running the flash in an HTML browser, but when I try to run it from a projector it opens the PDF, but does not append the "#nameddest=chapter3" part so it just stays at the first page of the PDF.

I also would not mind running the flash from an HTML browser off of a CD-Rom, but even when I try to run the HTML flash from CD-ROM it does the same thing. It opens the HTML page, but will not append the #nameddest=chapter3.

Is there any way to work around this, or does flash security sandbox prevent me from passing HTML arguments in a URL string.

Please let me know if anything stated is unclear. I am kind of in a jam and any input or advice would be appreciated.


Thanks
-Treylok
:confused:

ryancbutler
05-11-2007, 05:25 PM
For the web, include an absolute path:

http://www.domain.com/path_to_pdf_file.pdf#destination=foo

For a projector, you'll have to do the same thing, but it won't be a fun task. You'll have to determine which drive partition the CD is using. The only reliable method I came up was to purchase Zinc for Windows and have tech support help me custom program a solution that would do this.

http://www.multidmedia.com/software/zinc/