Name: Anonymous 2011-03-05 0:09
hey guys,
I have a swf on windows and it looks for a .pdf in the same directory its in through ActionScript using: URLRequest("file:///C:/Documents/menu.pdf")
It worked perfectly, and I moved that swf file along with the pdf to a linux machine,
and changed the file location to URLRequest("file:///./menu.pdf")
and it doesn't open up the pdf. I've also tried putting the path of the directory when i type in pwd:
URLRequest("file:///var/www/menu.pdf")
Still, it doesnt work. I've even tried removing the 'file:///' How to i reference the pdf, or any file for that matter?
I have a swf on windows and it looks for a .pdf in the same directory its in through ActionScript using: URLRequest("file:///C:/Documents/menu.pdf")
It worked perfectly, and I moved that swf file along with the pdf to a linux machine,
and changed the file location to URLRequest("file:///./menu.pdf")
and it doesn't open up the pdf. I've also tried putting the path of the directory when i type in pwd:
URLRequest("file:///var/www/menu.pdf")
Still, it doesnt work. I've even tried removing the 'file:///' How to i reference the pdf, or any file for that matter?