Skip to main content
ramviswa123
Known Participant
February 22, 2012
Question

Get the URL

  • February 22, 2012
  • 1 reply
  • 450 views

Hi...

     I am using Action Script 3.0. In that I want load the file.

     so, I am using "this.loaderInfo.url". But I got URL for "file:///C|/Program files/adobe". I don't want to "file:///", Only "C:\Program files\adobe".

     Then I got URL  in Vista and Win 7 system for "file:///C:|/Program files/adobe" but in XP system "file://C:\Program files\adobe" Like that.

     If I load the file in vista system the path I want to assign for "C:\\Program files\\adobe" like that but in xp "C:\Program files\adobe".

     How I manage for those problem and I want load the file in all type of systems..

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 22, 2012

use the flash string and array methods.