Skip to main content
January 15, 2009
Question

Bind Flash Form Element to CFC

  • January 15, 2009
  • 3 replies
  • 401 views
Hey Guys.
I've been doing some work with flash forms, and I want to offer a feature that allows a person to enter a few peices of information, and retrieve their ID number out of our database. I am trying to do this without any page reloads, and have looked at Ajax, but I can't get flash and Ajax to play nice together. I've been doing some looking into binding CFC's to form fields, and it looks promising. So I tried making a CFDiv with what I thought was the proper binding, but it's always saying the elements are not found (cannot find the lastname, phone, zip, state). Also, I would like it only to run the lookup when they click the button. Attached is my broke code.

This topic has been closed for replies.

3 replies

January 16, 2009
Hey Dan,
Thanks for the kind words.
While I'm on the topic of flash forms, does anyone know how you get the value of a drop down list in actionscript. Like I know you can get the value of a text input with Inputname.text, but what is the equivalent for a drop down? If anyone knows, let me know. Thanks!
Inspiring
January 16, 2009
Compliments for finding the answer and thank you for telling us. At least one person considers answering questions on these forums to be professional developement.
January 16, 2009
Hey, I found an answer to this. Using the guide from
http://www.asfusion.com/blog/entry/remoting-for-coldfusion-flash-forms
I was able to figure something out. If you are trying to build a flash form that pulls data without needing to reload, that's the way to do it.