I have a flash menu that is being dynamically created using an XML file with the navigation schema. The XML file is currently hard coded, but I would like to make the url path attributes dynamic so that I don't have to maintain two different xml files (one for my local environment and one for the remote).
Is it possible to use the CFXML tag to generate XML markup and have Flash 8 treat that file as XML? Here is what the template would look like that would generate my XML: <cfprocessingdirective suppresswhitespace="Yes"> <cfcontent type="text/xml; charset=utf-8"> <cfxml variable="theXML"> <cfloop ...> <menu name="navigation"> <item name="#subname#" link="#sublink#" /> </menu> </cfloop> </cfxml> <cfoutput>#ToString(theXML)#</cfoutput> </cfprocessingdirective> The only apparent problem is that the file would have a .cfm extension and not a .xml extension, which I'm not sure if Flash will accept. Thanks in advance, Aaron ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266101 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4