Use of Button to call local file

[size=2]Hello all,

I am relativity new to flash and I am trying to distribute a CD with a sales demo on it. I have an icon that I want to use to call a file (a PDF) that will be included on the CD, rather than going on the internet. Also, I want it to open in a new window.
I haven’t had much luck attaching an action to the button:

on (release) {
getURL ("…[/size][[size=2][color=#0000ff]\password_reset.pdf[/color][/size]](file://password_reset.pdf/)[size=2]", “_blank”);[/size]
[size=2]}
Should I be using the getURL function to call the PDF? If so, what should be the prefix to tell the browser not to go to the internet, but the root directory?

Thanks in advance!

SCKNEU

[/size]

[size=2]well, that should work, are you sure that you wrote the correct path?if you used http://www…that could be an answer.[/size]
[size=2][/size]
[size=2]
[/size]

Hey Yurumi,

Thanks for the reply.

I would prefer not to direct the button to a website, but rather the root directory of the CD that the presentation resides on. I have used the internet as a temporary fix, but again, would rather remove the reliance on an internet connection if possible, while still using functionality such as opening a new window for the PDF to appear in.

Thanks again for the reply.

SCKNEU

hey sckneu,

yes, that’s correct. that is what i told you about, don’t use that path (www…),and it should work. use the name of that directory or file.