Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Linux File Refrence

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?

Name: Anonymous 2011-03-05 0:16

I hate you.

Name: Anonymous 2011-03-05 0:20

did you try just URLRequest("menu.pdf");

Name: Anonymous 2011-03-05 17:21

file:///

Don't change these.
Name: Email:
Entire Thread Thread List