Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
dj_actg #1
Flash coldfusion integration
I'm trying to insert a record in a database using coldfusion and a flash form,
coldfusion is receiving the field from flash, but the cfquery tag is not
inserting the record in the database and flash doesn't receive the message
variable from coldfusion.
But when i probe with this code in Coldfusion
&message = Hello World
flash does recive this variable.
Thanks for anybody help.
//// This is the flash code
function enviarForm() {
var envio_lv:LoadVars = new LoadVars();
var recibir_lv:LoadVars = new LoadVars();
envio_lv.emailtxt = email_txt.text;
envio_lv.clave = clave_txt.text;
envio_lv.sendAndLoad("http://localhost/flow/agrega_lista.cfm",recibir_lv,
"POST");
recibir_lv.onLoad = function(exito) {
if (exito) {
mensaje_txt.html = true;
mensaje_txt.htmlText = this.mensaje;
}
else {
mensaje_txt.html = true;
mensaje_txt.htmlText = "<b>Error en el Script</b>";
}
}
}
/// Colfusion side code
<cfsetting enablecfoutputonly="Yes" showdebugoutput="No"
catchexceptionsbypattern="No">
<cfoutput>&mensaje=#EMAILTXT#</cfoutput>
<cfquery datasource="#basedatos#">
INSERT INTO CORREOS(email)
VALUES('#emailtxt#');
</cfquery>
dj_actg Guest
-
Simple Flash/ColdFusion Integration
I currently have a mailing list on my site that I've made with ColdFusion. It works fine, however, I'd like to add the form to a Flash portion of... -
Resources for Flash/Coldfusion Integration
I'm trying to learn coldfusion and I've been sticking to these rudimentary lessons which use Dreamweaver. I was wondering if there are any... -
Coldfusion MX Flash Remoting Integration
I have developed a Flash remoting project with CFMX7 in a local computer, and it runs perfect. But, now that I want to publish it online in a server... -
Coldfusion Flash Integration
I m a coldfusion developer. I really want to integrate flash and coldfusion. I know basics of flash, never used it for interactivity with db. Please... -
Classes for advanced flash and coldfusion integration
I have been using flash and coldfusion for a while, but I am looking to take it up a nutch and start developing real web-based software... -
Sojovi #2
Re: Flash coldfusion integration
The code seems to be OK in both sides. The onLoad event receives True or False
after trying to sendandload ?
Check that you are not making a security sandbox violation (the domain from
where the flash is called should be the same of the cfm file, except that you
configured allow cross domain requests)
Regards
Sojovi Guest



Reply With Quote

