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: Cheng, Kynan (London)
Date: Fri, 16 Mar 2001 10:23:28 -0000

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.





> -----Original Message-----
> From: Paul Willoughby [SMTP:paul_willoughbyatbeap [dot] co [dot] uk]
> Sent: Thursday, March 08, 2001 11:04 AM
> To: flasher from chinwag
> Subject: [flasher] RE: Loading a text file into a Variable
>
> Hi Cheng,
>
> You need to URL encode your text, I think an ampersand is %26. There's a
> great reference for URL encodes on Helen Triolo's site at
> <http://www.i-technica.com/whitestuff/urlencodechart.html>
>
> paul
>
> > -----Original Message-----
> > From: Cheng, Kynan (London) [ChengKynatexchange [dot] uk [dot] ml [dot] com (mailto:ChengKynatexchange [dot] uk [dot] ml [dot] com)]
> > Sent: 08 March 2001 09:43
> > To: flasher from chinwag
> > Subject: [flasher] RE: Loading a text file into a Variable
> >
> >
> > Thanks Stacey,
> >
> > However we're running Flash 4, not Flash 5 - and I've already
> > found a well
> > presented tutorial on the scrolling part.
> >
> > However I've found out why it cuts off. There's an
> > amperstand in the text.
> > I think when the flash parser sees the amperstand it
> > automatically assumes
> > another variable is going to be presented.
> >
> > Does anyone know if it's possible to include an amperstand in
> > my text? Can
> > I use some sort of character code?
> >
> > Thanks
> > Kynan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You are subscribed to flasher as: chengkynatexchange [dot] uk [dot] ml [dot] com
> To unsubscribe, email leave-flasher-485998Watlists [dot] chinwag [dot] com




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