Flasher Archive

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


Subject: RE: [flasher] RE: Loading a text file into a Variable
From: Paul Willoughby
Date: Fri, 16 Mar 2001 11:25:59 -0000

Hi k

You should have your text file on one line and URL encode your carriage
returns. The URL encode for a carriage return is %0d, so your file should
look like:

Textbox=This file%0dis really%0dcool.

Great reference for URL encoding special characters from Helen Triolo at
<http://www.i-technica.com/whitestuff/urlencodechart.html>

hth

paul

> -----Original Message-----
> From: Cheng, Kynan (London) [ChengKynatexchange [dot] uk [dot] ml [dot] com (mailto:ChengKynatexchange [dot] uk [dot] ml [dot] com)]
> Sent: 16 March 2001 10:20
> To: flasher from chinwag
> Subject: [flasher] RE: Loading a text file into a Variable
>
>
> Does anyone know why Flash adds an extra carriage return
> after each carriage
> return?
>
> If my text file is like this:
>
> Textbox=This file
> is really
> cool.
>
> Once I load the variable into Flash, the text as shown in the
> text box is:
>
> This file
>
> is really
>
> cool.
>
>
> Why? why? why? why?
>
> k.



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