Scott, When I run the CFM page it actually outputs at least on the screen the xml structure with the data in it.
The xml.load(xxx.cfm) works, but putting flashremoting.xmltree (flashremoting is the name of the cfc and xmltree is the name of the function inside the cfc) does not. Calling the cfc function allows for only one page versus multiple pages being loaded into your site. I have used flash remoting and created a service. Then called a function that was in the cfc on which the service was created. It is amazing to me how I can get some stuff but fail miserably at other stuff that should be easy. Thanks for the follow, I will try your suggestions. Jim -----Original Message----- From: Scott Sedam [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 3:36 PM To: CF-Newbie Subject: Re: Load dynamically created xml into Flash It's reassuring that Alan had a similar error and got this working. All I see is perhaps your CF code below is not actually outputting the XML object that it is creating. I think you need to add this line at the end: <cfoutput>#toString(xmlDoc)#</cfoutput> I think the weird flash output is coming from the actionscript line: textXML.text = this I could be wrong, but I don't think "this" is a plain string object that can be sent to a text field. You could try just echoing out a part of the xml object like: textXML.text = testXML.lastChild.nodename As for making the dynamic XML bit a cfc, I think that would be fine, but as I understand it (I'm still getting into using cfcs) you'd still need to have Flash call a CFM page to invoke the cfc. At that point I'm not sure if creating the separate cfc saves you anything unless you plan to reuse this method in other things. -Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3594 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
