Bob,

You could also just have the flash movie call the CFM page directly and
have the CFM page return XML data. The downside to that though is that
is requires CF processing every time the flash movie loads. The upside
is that it cuts out the middle man and you don't have to worry about the
XML file being created PRIOR to the flash movie being loaded.

<cfcontent type="text/xml" reset="true" 
/><data>
        <item />
</data>
 

Just trying to give you options.


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Bob Imperial [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 16, 2007 1:22 AM
To: CF-Talk
Subject: RE: writing xml files

Thanks Michael.....I'll play around with that and the dataset returned
from my query, looks like just what I'm after ;-) 

Bob

-----Original Message-----
From: Michael E. Carluen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 16, 2007 1:12 AM
To: CF-Talk
Subject: RE: writing xml files

Bob,

It'll be something along these lines... to get you started.

<cfxml variable="XML_results">
           <data>
                ...cfstuff here...
           </data>
</cfxml>

<cfset XMLText=ToString(XML_results)>
<cffile action="write" file="#expandPath('.')#\temp_xml\youfile.xml"
output="#XMLText#">

Hope that helps.

Michael



> -----Original Message-----
> From: Bob Imperial [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 10:06 PM
> To: CF-Talk
> Subject: RE: writing xml files
> 
> Aye...playing around with that now....was hoping for a tutorial of
sorts.
> Thanks for the reply ;)
> 
> -----Original Message-----
> From: Michael E. Carluen [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 16, 2007 12:56 AM
> To: CF-Talk
> Subject: RE: writing xml files
> 
> > I want to write the XML file with CF.
> 
> 
> 
> cfxml?
> 
> http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/
> html
> /w
> whelp.htm?context=ColdFusion_Documentation
> <http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common
> /htm
> l/
> wwhelp.htm?context=ColdFusion_Documentation&file=00000352.htm>
> &file=00000352.htm
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > -----Original Message-----
> 
> > From: Bob Imperial [mailto:[EMAIL PROTECTED]
> 
> > Sent: Thursday, February 15, 2007 9:46 PM
> 
> > To: CF-Talk
> 
> > Subject: writing xml files
> 
> >
> 
> > Working on a little flash slideshow here for a client and at 
> > present, I'm
> 
> > pulling the images and some captions in via an XML file. What I'm 
> > looking
> 
> > to
> 
> > do is make it easy for them to upload their images and use a text 
> > field to
> 
> > pass their captions along as well. I want to write the XML file with
CF.
> 
> > Has
> 
> > anyone out there done this or something like it that can offer some
> 
> > direction or point me in the direction of some decent tutorials on
this?
> 
> > TIA
> 
> >
> 
> >
> 
> > Bob
> 
> >
> 
> >
> 
> >
> 
> 
> 
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http: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:270010
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to