Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Loading text files as an expression |
From: | Randy Anthony |
Date: | Tue, 11 Jul 2000 18:34:44 +0100 |
Ok, well speed really isn't a big issue for me on this project. Thanks for
the help everybody.
At 01:12 PM 07/11/2000 -0400, you wrote:
>never done it, but my guess is that
>you could do text processing in javascript a lot faster.
>
>(flash 5...hurry hurry)
>
>-jon
>
>Helen Triolo wrote:
>
> > Not sure what importing as an expression means, but yes, can convert the
> > hard returns to single-spacing instead of double-spacing by going
> > through the input string character by character and outputting
> > everything except ord(13)'s (carriage return, or ord(10)--linefeed,
> > since flash puts out a newline for both). I set up the Sockman flash
> > site (http://i-technica.com/flashlist/sockman.html) to do that with this
> > code on the display buttons:
> >
> > Loop While (count <=length(readanswer))
> > If (ord(substring(readanswer, count,1)) <> 13)
> > Set Variable: "answer" =
> > answer&substring(readanswer,count,1)
> > End If
> > Set Variable: "count" = count+1
> > End Loop
> >
> > but it really slows things down processing large text fields this way.
> > It's the only way to get rid of flash's double-spacing though.
> >
> > hth,
> > Helen
> > ---------------------------------------------------
> > helen triolo � http://i-technica.com � 301-424-6037
> > Flash Q&A archive � http://i-technica.com/flashlist
> >
> > Randy Anthony wrote:
> > >
> > > Thanks for the help, but that's still not quite what I was looking
> for. I'm
> > > trying to pull the information from the file in as an expression, so I
> > > would have to format the text something like this:
> > > "this is a test" & newline & "this is only a test"
> > > Instead of doing this:
> > > This is a test
> > > This is only a test
> > > Either I need to import it as an expression so I have more control
> over the
> > > formatting or is there a way to convert the hard returns to single spaces
> > > instead of double?
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > flashforward2000 and the Flash(tm) Film Festival
> > July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> > www.flashforward2000.com
> > Produced by United Digital Artists and lynda.com
> > Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> > shockwave.com and Electric Rain.
> > 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> > Register before June 30 and save $200!!-- www.flashforward2000.com
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Loading text files as an expressi, Randy Anthony
RE: FLASH: Loading text files as an expr, Randy Anthony
Re: FLASH: Loading text files as an expr, Helen Triolo
Re: FLASH: Loading text files as an expr, Jon Williams
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]