[osflash] JSFL String adds extra line feeds after reading a text file
John Grden
neoriley at gmail.com
Wed Jul 25 07:40:51 EDT 2007
I think you're right about it, the weird part is - if I have the JSFL
command copy to the clipboard, and then I paste into a doc or the actions
panel in the IDE, formatting looks fine with the line returns.
If that same string is passed to my SWF panel via MMExecute and put into a
text area, it has the extra line feeds
But you're probably right, its a matter of removing extra garbage manually
I'll bet
Thanks R
John
On 7/25/07, Rostislav Siryk <rostislav.siryk at gmail.com> wrote:
>
> 2007/7/25, John Grden <neoriley at gmail.com>:
> > anyone know how to get a string back from JSFL that's from a txt file
> > without the extra line feeds?
>
> Might this issue comes from different line feed characters used in
> document? As I remember, some text editors are able to use different
> combinations of such characters. For example, there's such menu
> options in SciTE|Flash 2004:
>
> Options > Line End Characters > CR + LF | CR | LF | Convert Line End
> Characters.
>
> These characrters are used in different systems, e.g. LF is used as
> line end in FreeBSD, and CR is used in the same role in DOS-like
> systems.
>
> Windows tries to use CR+LF for the maximum compatibility with others
> (as I understood).
>
> So maybe it makes sense for you to open your file in the SciTE|Flash
> and convert the line end characters using the menu options I listed
> above.
>
> And maybe I got your issue wrong - can you provide more info? I worked
> with JSFL a lil' bit during some automation able projects.
>
> ----
> rost
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
[ JPG ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070725/aeb13ead/attachment-0001.html
More information about the osflash
mailing list