[Extendflash] Using the JSFL FLFile.write and UTF8

Morten Barklund Shockwaved morten.barklund at shockwaved.com
Mon Aug 8 22:23:36 PDT 2005


Tomas van der Haase wrote:
> in case u need a[nother] reason to upgrade:
> 
> brsnyder here at macromedia pointed out this Flash 8 functionality  
> which is potentially of interest:
> 
>>> Flash 8, outputPanel.save() has
>>> added an option that does this:
>>>
>>> bUseSystemEncoding  An optional Boolean value. If true, it saves
>>> the Output panel text using the system encoding; if false, it saves
>>> the Output panel text using UTF-8 encoding, with Byte Order Mark
>>> characters at the beginning of the text. The default value is false.
>>>
>>> ...
>>> ... the user could trace his script to the Output panel
>>> and then save it!

That sounds like a hack :/

But why isn't the FLfile.write extended with a similar flag - it would 
be so easy, it would seem. And as it is an external plugin, it could 
quite easily be added and distributed - even outside the scope of 8-ball 
(assuming that the JSFL plugin API hasn't changed).

-- 
Morten Barklund - Information Architect - Shockwaved ApS
Larsbjoernsstraede 8 - DK-1454 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174


More information about the Extendflash mailing list