Skip to main content
December 4, 2008
Question

passing data from Coldfusion to Flash

  • December 4, 2008
  • 1 reply
  • 652 views
I have created an interface to pass variables from Coldfusion to Flash. When I run the .cfm code below in a browser, then check the "Page Source" I end up with 5 extra spaces above the variable output. I thought utilizing "suppresswhitespace" would do the trick, but no deal. When I run the same type of code in PHP or as a .txt file the variable output ends up at the top with no extra lines and works fine. Any Ideas?

<cfsetting enablecfoutputonly="YES">
<cfset myVariable = "&answer=42&">
<cfprocessingdirective suppresswhitespace="Yes">
<cfoutput>#myVariable#</cfoutput>
</cfprocessingdirective>

Thanks
Allen
This topic has been closed for replies.

1 reply

December 4, 2008
Found the answer!! After banging my head on my desk for a couple of days, Sean Corfield of corfield.org suggested that I take a look at my Application.cfm file and use the <cfsilent> tags to suppress lines there! Problem Fixed!!