Rewrite your page that does cfhttp stuff as a cfc. Make it "remote". Then in
your flash movie comsume that cfc.
so your cfc is something like
<cfcomponent>
<cffunction name="getThreads">
does cfhttp etc
</cffunction>
<cffunction name="getThread" access="remote">
<cfargument name="Treadid" type="number" required="yes" >
does cfhttp etc
</cffunction>
<cfcomponet >
WG
> -----Original Message-----
> From: Cathy Taylor [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2002 13:20
> To: CF-Talk
> Subject: Flash MX with CFMX - is this possible?
>
>
> Is anyone a wiz at Flash MX yet? Particularly Flash remoting and
> how it integrates with CFMX? I posted on the Allaire forum under
> Flash MX and didn't get any responses, so maybe I'll try here.
>
> I have a CF page that does a cfhttp to pull back bulletin board
> threads. It changes the text and link colors and strips off
> everything except the list of threads. It also rewrites the
> thread links so that they point to a second cf page that does the
> same thing, only for the thread text and all replies. The object
> is to make the page look more business-like and also limit client
> browser hits to the actual bulletin board site (I haven't figured
> out how to do session cookies with logins to the site yet so that
> people can actually post from it).
>
> I would like to create a Flash MX movie that displays the
> threads, if possible, so that I can have most of the
> communication going through that and processing on the remote
> server instead of the client. I've looked through tutorials and
> haven't been able to figure out if it's possible to hand off the
> filecontent to the Flash MX movie, plus add the navigation capability.
>
> So before my brain explodes, I wanted to put out feelers and see
> if this is even feasible? If so, has anyone found a good site
> that explains how to write the action script to handle cfoutput?
>
> Thanks!
>
> Cathy
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.