It depends how flash intends to receive it... though afaik there isn't any way to pass XML over http without converting it to a string first. I could be wrong, but that's been my impression... However, if you need to pass a ColdFusion XML object, just use <cfxml> and then omit the toString() around the returned variable -- or alternately use cfsavecontent and use XMLParse() around the returned varable -- toString() and XMLParse() are the two functions for converting between formats. All of which is thoroughly commented by readers in the documentation at http://livedocs.macromedia.com
> A designer needs it for a flash photo gallery. He wants to > grab the > results as XML from the CFC. I'm not sure if he knows what > he is doing > but this is what he wants. *shrug* > I tried the the cfsavecontent but when I did a cfdump it > treated it as > a string instead of XML. Is there any way to change that? > I ask > because I'm not sure if Flash will recognize it either. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206418 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

