Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Action Script GetUrl

New Here ,
Nov 29, 2006 Nov 29, 2006
Dear all how can I open a file on a cd rom using flash action script with the geturl() function without specifying the name of the drive?For example"E:\\Firas.ppt",I dont want to put the "E" letter ing my url coz the cd rom drive may be using another letter such as "F" and "G",Thanks for ur help
TOPICS
ActionScript
214
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 29, 2006 Nov 29, 2006
LATEST
You can assign simply as its parents folder.
No need to mentions the drive letter in all the cases.
Look , Consider this is your folder structure.

MyProject/Flash/Index.swf
MyProject/Flash/Files/(The files which in turn open by Flash)

In this case,
To open any files in the "Files" folder from Index.swf file,

You can use the
getURL("Files/YourFile.pdf");
If you want to open any files in the "Flash" folder means, you can
directly give the file name as argument for getURL.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines