instead of "_parent", give your window a name,
ie:
on (release){
getURL("pdfs/myFile.pdf", "remoteWin");
}
[quoted text, click to view] "Crocke" <webforumsuser@macromedia.com> wrote in message
news:ca7uhm$it0$1@forums.macromedia.com...
> Hello I am having problems telling Flash to load PDFs within a specific
window.
> I am creating a Flash projector (.exe and hqx) using Flash Professional
2004.
>
> Here is the code I have:
>
> on (release){
> getURL("pdfs/myFile.pdf", "_parent");
> }
>
> This works fine each time I tell Flash to open "myFile.pdf".
>
> When I ask Flash to load a new PDF into the "_parent" window, Flash opens
a
> new window and loads the new PDF within the new window, even though the
code is
> exactly the same except for the name of the PDF.
>
> on (release){
> getURL("pdfs/myNewFile.pdf", "_parent");
> }
>
> The above code works fine when telling Flash to direct all HTML files to
the
> "_parent" window.
>
> (On a side note, I have tried telling Flash to open a HTML file that
contains
> a refresh meta tag, which redirects the page to the PDF's file location.
Yet, I
> still ended up with the same results.)
>
> I suspect it may have something to do with Adobe Acrobat taking control
over
> Internet Explorer when opening PDFs.
>
> Anyone else's thoughts?
>
> Thanks.
>
> on (release){
> getURL("pdfs/myFile.pdf", "_parent");
> }
>