Skip to main content
Inspiring
October 4, 2011
Answered

file path with mac os

  • October 4, 2011
  • 1 reply
  • 403 views

I m trying to make an AIR desktop application to work with Mac.

This app is a simple loader using flash.display.Loader

I just can't load an image using this path :

file:///Users/myself/Documents/IMAGES/image.jpg

I dont know very well mac OS, anybody an idea?

Thanx

This topic has been closed for replies.
Correct answer vorpal

Found !

'\\' must be  '/'

and

absolute path musth begin with 'file:///'
file:///mypath/image.

1 reply

vorpalAuthorCorrect answer
Inspiring
October 4, 2011

Found !

'\\' must be  '/'

and

absolute path musth begin with 'file:///'
file:///mypath/image.