  | | | FileSystem JSAPI Extension Updated | FileSystem JSAPI Extension Updated 2004-05-05 - By Sharon Selden
Back These are standard JavaScript functions that come built into the Mozilla JavaScript interpreter used within Flash. They are not something that Macromedia specifically implemented. We only added our custom functions on top of the pre-existing ones.
This is why things like prompt and alert work even though they were not specifically implemented.
Any problems found with these should be sent to wish-flash@(protected) as bugs.
- sharon
> -- --Original Message-- -- > From: Extendflash-bounces@(protected) > [mailto:Extendflash-bounces@(protected)]On Behalf Of Tomas van der > Haase > Sent: Tuesday, May 04, 2004 11:43 AM > To: Extending Flash > Subject: Re: [ExtendFlash] FileSystem JSAPI Extension Updated > > > Guy: > > > encodeURI() > decodeURI() > encodeURIComponent() > decodeURIComponent() > > My preliminary check into this leads me to think these four > may not be > supported methods. > > > Have you seen any documentation from Macromedia on them? > > > Thanks, > > > Tomas van der Haase > > > > > On May 4, 2004, at 9:31 AM, Guy Watson wrote: > > > The FileSystem extension has been updated with bug fixes and minor > > documentation changes. An intermittent critical flaw which kept > > returning an error whenever a FileSystem function was called has now > > been fixed, so hopefully people can now use it properly. > > > > http://www.flashguru.co.uk/files/FileSystem.mxp > > > > Macromedia's own implementation of the javascript > encodeURI, decodeURI, > > encodeURIComponent and decodeURIComponent functions are flakey, and > > thus we had to write our own for encoding/decoding file paths etc... > > which was the main issue. > > > > If your script attempts to encode/decode a large file path > such as the > > following line of code: > > > > alert(encodeURI("file:///C:/Documents and Settings/Guy/Local > > Settings/Macromedia/en/configuration/Commands")); > > > > You get an error alert that says something along the lines > of "out of > > memory in file: test.jfl" and then flash crashes. > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > > Extendflash mailing list > > Extendflash@(protected) > > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Extendflash mailing list > Extendflash@(protected) > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Extendflash mailing list Extendflash@(protected) http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
|
|
 |