Groups | Blog | Home
all groups > macromedia flash flash remoting > may 2004 >

macromedia flash flash remoting : Opening a CFM page from with flash


IainDFreestone2004
5/5/2004 11:03:47 AM
Hi,

Does anyone know if it is possible to open a CFM page from within Flash and
pass it a variable.

i.e. I have a flash application and when I click a button I want to open a CFM
page in a browser and pass it a variable so that I can use that variable in a
query within that page.

Thanks Iain.
Paul Whitham TMM
5/11/2004 3:35:01 PM
You can define the variable in Flash, and simply use a getURL command to
open the page like this

in flash

myVariable = textbox.text;
getURL("webpage.cfm","POST");

cfm page
<cfoutput>#myVariable#</cfoutput>


--
Regards

Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia

[quoted text, click to view]

AddThis Social Bookmark Button