Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Can anyone help me with flash and Cold Fusion?
From: Jason Bouwmeester
Date: Thu, 2 Mar 2000 18:57:53 GMT

hehe too bad you sent it to the list =0P but that's o.k... I find this may
be helfpul in the future for myself, please stay on the list... it is a
Flash issue!

jb

-----Original Message-----
From: Sarah Lamont [slamontat2mtc [dot] com (mailto:slamontat2mtc [dot] com)]
Sent: Thursday, March 02, 2000 10:51 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Can anyone help me with flash and Cold Fusion?


Branden,
thanks for the info. I'm sending you this personally cause I thought it
might be better taken off list.Hope you don't mind.

I think the main question I have is how to get Flash to read the output.
How will flash display it? In a variable text field?
This is the cold fusion code that I have to send back to Flash so far:
---------
<html>
<head>
<title>Sarah's Cart</title>
</head>

<body>
<cfsetting showdebugoutput="no">
<cfsetting enablecfoutputonly="yes">
<cfcontent type="text/plain">
<cfquery datasource="Sarah" name="sarah">
Select *
>From temp
where custid = '#cgi.remote_addr#'
</cfquery>
<cfset results = "">

<cfset results = insert("Item Quantity Price", results, len(results))>
<cfoutput query="sarah">
<cfset results = insert("#item# #quantity# #price# ", results,
len(results))>
</cfoutput>
<cfoutput>#results#</cfoutput>
</body>
</html>
---------
In Flash, on the cart page, I had a text field named "results", but I
kind of figured that wouldn't work, but I didn't know how else to
capture that information. Could you look over the code above and see if
you think I'm setting it up right, and also, could you please tell me
how to get the information into Flash?
thank you so much,
�arah


Branden Hall wrote:
>
> Here is a standard set of tags you want set for a cold fusion file that
will
> send data to flash. *ONLY* put your output between <cfoutput> tags and
make
> sure you URL encode all strings.
>
> <cfsetting showdebugoutput="no">
> <cfsetting enablecfoutputonly="yes">
> <cfcontent type="text/plain">
>
> -= Branden J. Hall
> -= Multimedia Developer/Instructor
> -= Fig Leaf Software
>
"When I die, I hope it can be said of me that I plucked a thistle and
planted a flower where ever I thought a flower would grow." -Abraham
Lincoln

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World's Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]