Hi,
I’m working on a Flash-StartPage-replacement-extension using ActionScript & JSFL, and the only part of the page that’s bothering me is the “recent files” section.
When I receive the recent files from my script (an array, passed as a string) I have to split it, so I have the seperate fileURI’s in an array. Quite simple, you say? Not really. The fileURI’s are separated with a comma, so I split it using myArray = myString.split(",").
Everything ok so far. Now, when I trace the items in the array that was returned, it seems that flash (or whatever) has deleted the slashes from the fileURI’s. When the string contained “D:\folder\subfolder\file.fla”, the array now contains things like “D:[]foldersubfolderfile.fla”, which is quite strange, let alone annoying.
The second time I tested it, I used no JSFL, just plain ActionScript. I copied a few fileURI’s into an ordinary string, and split it. This time, the slashes are ok, but Flash deleted the first letter of every folder and file.
Any ideas? Maybe a bug in Flash?