PDA

View Full Version : Need help with referencing a .pdf from a cd


iamthelevel
05-01-2005, 04:55 AM
I am graduating in May and am therefore looking for a job. I am an elementary education major and working at a school now as part of an internship, and have turned an application into their district office and now have an interview. To better impress the interviewing committee I am attempting to put together a digital portfolio in flash so that it has a user interface instead of submitting them a disc with files on it. In addition to the digital portfolio I have a hard copy that I bringing, but it would be so much more useful if I had the disc done. Enter my problem: I have everything laid out so I know what goes where, but in order to have better user compatability I am linking to .pdf files on the cd, and this is where I am having the problems. To reference the .pdf files or .swf files I put this for code:

on {release} {
getURL("/professionalbackground/conferences.pdf", "_blank");
}

When I click on the button a blank browser window opens, and the file isn't opened. What do I need to change? If needed I can host the .fla file so someone could access it first hand to look. I really need and want this, and I will be forever thankful to anyone that can help me!

SmoothDime
05-02-2005, 09:29 AM
do you know how to target directories on the CD correctly?

try using './' instead of just '/' at the beginning.

with the way you have it set up now, it means that the 'professionalbackground' folder is in the same directory as the executing flash file.