Hello again everyone! Thanks for all the help on this already but I've hit a new problem and I hope somebody may be able to steer me in the right direction.
I've now got a cfm page which selects a date from a calendar. I want to be able to send this date to createxml.cfm as a parameter. I'm using a standard html form for this. The flash movie (embedded on another cfm page and I've also tried embedding it into createxml.cfm) then loads the xml from createxml.cfm. The problem I am facing is the flash movie is not picking up the value passed in from the URL. If I hardcode a date value into createxml.cfm (cfset pDate = '14-Nov-07') it works okay but if I use cfset pDate = #URL.day# it says dynamic file cannot be found. I guess pDate is not being set in createxml.cfm but the debug information on Blue Dragon is showing that it is being set. I think my whole approach to this may be a bit wrong and would welcome any advice on this. thanks alan > Hi, > > I hope I'm not going over old ground here but I cant find an exact > answer on my query here. > > I'm creating an xml file dynamically from a query. I want to then load > this xml file into a flash movie where it can process the data > > I've got a file createxml.cfm which does the following: > > <cfset some variables> > <cfquery querydb> > <cfxml variable....> > populate xml file/structure > > <cfcontent type="text/xml" reset="Yes" /> > <cfset dynXML = "#toString(variable)#"> > > This outputs an xml file with the correct headers > > I'm under instruction not to create a physical file on the server so > how should I go about getting this xml file into a .swf file > > What I'm really unsure about is how do I tie all this together ? > > Should I create another file, say displayflash.cfm where it executes > createxml.cfm and I can embed the flash movie ? > What is the best way to get the flash movie to access the dynamic xml > ? > > Am I over thinking this ??? > Apologies if > > a:) this was asked previously > b:) I'm on the wrong forum! > > thanks in advance > > alan > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:3624 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
