Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: extra linefeed in flash display (SOLUTION)
From: Scott Jeppesen
Date: Tue, 25 Apr 2000 01:17:27 +0100

Branden,
With that code you could replace the carriage return in the text file with a
&newline in Flash right? The carriage return in the textfile usually
translates into 2 newlines. With the ord() method you could find the
carriage returns and "convert" them into a newline so it's just 1 newline. I
hope that makes sense what I just said. I am tired. hehe

SJ

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Branden
Hall
Sent: Monday, April 24, 2000 4:52 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: extra linefeed in flash display (SOLUTION)


Your loaded variable is loadedVar, the final, stripped variable is finalVar:

Set Variable: "loadedVar" = 1
Loop While (count <=length(loadedVar))
If (ord(substring(loadedVar, count,1)) <> 13)
Set Variable: "finalVar" = finalVar&substring(loadedVar,
count,1)
End If
Set Variable: "count" = count+1
End Loop

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

----- Original Message -----
From: Helen Triolo <designerati-technica [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Monday, April 24, 2000 7:31 PM
Subject: Re: FLASH: extra linefeed in flash display


David Jacobs wrote:
>
> If you are pulling it from a database, then you are using server-side
> scripting for your database access. At the same time, just use a replace
> function to eliminate either the carriage return or the linefeed.
>
Yes, of course you're right about that. I just wondered if there was a
Flash solution (that would work universally--text files, database files)
for what appears to me to be a Flash problem. Also curious to know if
anyone had come up with any parsing routines of any sort for flash that
would handle this and work for similar tasks in the future. Thanks for
the answer--guess that's what I should do for now.

Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: extra linefeed in flash displ, Branden Hall

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]