coldfusion flash integration:
I'm using coldfusion to get data for a flashTextEditor control (InputText) in
a flash movie clip.
In a flash action script I'm using
myData.sendAndLoad("getcontent.cfm", myData, "POST");
myData.onLoad = function(success) {
if(success){ .....
...
...
to get back some string data. The getcontent.cfm returns a text string from a
database to flash. The cfm script contains the following:
<cfset returnToFlash ="&writing="#GETBlogContentForMaxSeqNum.Content#&">
<cfprocessingdirective suppresswhitespace="Yes">
<cfoutput>
#returnToFlash#
</cfoutput>
</cfprocessingdirective>
The GETBlogContentForMaxSeqNum is a stored procedure which gets the text
content from a string column in the table. If the string from the table
contains html formatted text like "this & that" it only returns the "this"
part of the string or if it's "that' all folks" then it only return "that"
for the text content. The script seems to be clipping at the first & in the
text. If the text does not contain an & then all is well. How can I get it to
return all of the text if the text contains an & in the string.:confused;