Thanks for the link.  DLing the .fla right now.

I'm loading it up into a movie and outputting it.

We had originally passed it to the Flash movie as separate variables with 
the row number as the part of the variable name.
Unfortunately the part of the movie we are outputting it is a 
self-contained box with it's own scroll bar.
For the scroll bar to work with the no problems we are just treating it as 
one object.
If you wish to see it go to www.recursivedesign.com.  It is the left hand box.

At 09:08 AM 5/20/2002 -0700, you wrote:
>What are you loading this text into? (ie. A text field, etc.)
>
>If you are loading the text into a text field, you can make that field
>accept limited HTML tags, and just use "<br>".
>
>Otherwise, you can try loading in your vars using XML instead of loadVars().
>Check out LoadXML.as by Phil Scott.  It makes working with Flash/XML (and
>CF) fairly easy and quick:
>http://www.flashkit.com/movies/Scripting/XML/XML_to_O-Phil_Sco-4634/index.sh
>tml
>
>Enjoy!
>
>--
>Scott Van Vliet
>Sempra Energy
>555 W. 5th St., 21st Floor
>Los Angeles, CA 90013
>Tel > 213.244.5205
>Email > [EMAIL PROTECTED]
>
>"Hello Stupid, and welcome to your crappy computer."
>- Strong Bad, HomestarRunner.com
>
>
>
>
>
>
> > -----Original Message-----
> > From: Won Lee [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 20, 2002 8:56 AM
> > To: CF-Talk
> > Subject: cf and flash: line breaks
> >
> >
> > Hi everyone,
> >
> > Might be an easy problem for everyone else but having some
> > problems due to
> > not knowing Flash well.
> >
> > I'm sending a variable into a Flash movie.  The variable is a ordered
> > record set.  Problem is after each field I need to put in a
> > line break.
> >
> > <cfsetting ENABLECFOUTPUTONLY="yes">
> > <cfset variables.escape = "\r">
> > <cfquery name="listNotes" datasource="#request.dsn#">
> > SELECT *
> > FROM messages
> > ORDER BY dateTimeStamp DESC
> > </cfquery>
> > <cfset variables.formatedMessage = "">
> > <cfcontent type="application/x-www-urlformencoded" />
> > <cfloop query="listNotes">
> > <cfset variables.formatedMessage = variables.formatedmessage &
> > dateformat(listNotes.dateTimeStamp, "MM.DD.YY") & variables.escape &
> > listNotes.message & variables.escape>
> > </cfloop>
> > <cfoutput>
> > &cfMessage=#URLEncodedFormat(variables.formatedMessage)#&
> > </cfoutput>
> >
> >
> > The following code won't resolve the /r for a line break.
> > I used \r with no sucess either.
> > Any idea how to handle this?
> >
> >
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to