|
|||
|
Hi,
I've tried everything, but still haven't found the way to make this script work. I have a function in my Flash like.... Code:
function playIt(file){
snd=new Sound();
snd.load(urlReq);
snd.play();
}
playIt('some.mp3');
Code:
Application.setBasePath(getAppDir()); Code:
Application.setBasePath(getAppDir()+'\\'); Code:
Application.setBasePath(Folder(getAppDir()).path); Code:
Application.setBasePath(Shell.getSpecialFolder('appdata'));
Code:
Application.setBasePath('C:\\');
Thanks in advance. |
|
|||
|
The method doesn't work if the base path contains some special characters. It's a problem of the Flash Player, so there is nothing we can do. A solution is to use absolute path names.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|