Skip to main content
August 24, 2011
Question

Network path with urlRequest?

  • August 24, 2011
  • 1 reply
  • 1102 views

Hi,

I try to load a file over the local network with Loader Class but I get the error "URL Not Found".

I use a path like this  "file://///myPCnetID/pubilcFolder/pictures/mypic.jpg" which refers to a folder on the same PC I compile and run the Air flash file.

When I copy the adress into the browser the jpg-file ist displayed corretly.

Any Ideas? TIA!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 24, 2011

use a relative path.

August 24, 2011

I have to access the files from a different Computer. For testing I just used the path to the same PC.

kglad
Community Expert
Community Expert
August 24, 2011

then you have the wrong path.