# Flash Remoting w/ Coldfusion

**URL:** <https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548>\
**Category:** programming\
**Created:** [April 29, 2003, 4:35am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548 "2003-04-29T04:35:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 29, 2003, 4:35am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/1 "2003-04-29T04:35:11Z")

</div>

I recently installed coldfusion mx and just did all the tests to make sure it is working. I can’t seem to find any tutorials on kirupa or the web. Any one knows of any good tutorials for a beginner?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 29, 2003, 4:55am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/2 "2003-04-29T04:55:41Z")

</div>

I don’t know the answer to your question as I don’t know coldfusion, but I just popped in to tell you to please not crosspost. You posted this question in 3 seperate sections, one being the “best of kirupa” section which is a section that people aren’t allowed to create threads in, it is an archive of threads that contain incredibly useful information, and threads go there by being moved by a mod or kirupa himself. But enough of my babbling, crossposting gets incredibly confusing when people answer different threads, if they didn’t see another thread where you solved the issue, or are working on it, they may post something in there that may be useless to you, but they wouldn’t know because you are working on it in another thread and they didn’t know that, etc, etc.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 29, 2003, 12:52pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/3 "2003-04-29T12:52:22Z")

</div>

hey sorry man i didnt know about the whole cross posting thing. i wasnt sure where to post it. sorry again! happy kiruping@

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 26, 2003, 4:02am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/4 "2003-06-26T04:02:04Z")

</div>

Um learnigng coldfusion two! but I cant find any tutorials either.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 26, 2003, 9:12pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/5 "2003-06-26T21:12:06Z")

</div>

complete flash remoting mx  
by Joey lott

great book but you must have soem java experience to follow these tutes. it asks your to write classes to go with your flash files. not too hard, they explain it well. igot thrue a few good tutes but I am busy with other work so I really can’t get too busy with it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 1:31am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/6 "2003-06-27T01:31:27Z")

</div>

What are some of the things you would like to learn?

Do you ahve any specific things youa re having trouble with?

> \*Originally posted by Digitalosophy \*  
> \*\*I recently installed coldfusion mx and just did all the tests to make sure it is working. I can’t seem to find any tutorials on kirupa or the web. Any one knows of any good tutorials for a beginner? \*\*

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 2:45am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/7 "2003-06-27T02:45:45Z")

</div>

well pretty much i want to pass values to and from flash, and database if possible with CF. i am doing all this now with php and mySQL, really just started, but i like it. what database can i connect with, or does coldfusion itself store the data? do you have any exaples of some of the things you can do with CF? thankx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 3:19am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/8 "2003-06-27T03:19:22Z")

</div>

I’ve never tried to make flash talk to CF. I’m a novice in flash. (I think tweens are cool)

As far as what I can build in CF… pretty much anything. I’m sure if I looked at how Flash talks to CF I could write the code to tell Flash what you want it to.

Any ideas how you could help me help you?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 3:50am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/9 "2003-06-27T03:50:48Z")

</div>

hmm, ok well pretty much flash talks to any serverside scripting thru variables, same way as html, just different code to load them.  
i am really interested in something like an application that can intake flash variables, strore them in a db, send mail, and maybe even a shopping cart. now i know what i just said intails a lot of work, and again im a noob with CF . how about starting off with passing variables from flash to a CF page and printing them.  
as far as the flash part goes, let’s say have 3 input boxes. we call refer to the CF page, through either a getURL statement or loadVariablesNum. but im lost with the colfusion code. i really do’t knwo the structure at all.

anyway thanks for your interest, maybe you can point me in the right direction.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 3:58am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/10 "2003-06-27T03:58:59Z")

</div>

"how about starting off with passing variables from flash to a CF page and printing them.

as far as the flash part goes, let’s say have 3 input boxes. we call refer to the CF page, through either a getURL statement or loadVariablesNum. but im lost with the colfusion code. i really do’t knwo the structure at all. "

Now let me be clear do you mean to a CF page so you can print it on paper? or print as in show it on the screen?

Give me more of the details. So we have 3 input boxes. Where is the data entered supposed to go?

Is the CF page going to bring up results based on what Flash Sends it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 4:06am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/11 "2003-06-27T04:06:14Z")

</div>

i would like it to be printed on a external page, not printed on actual paper. lets say we have 3 textboxes in our flash file  
name  
email  
website

the user fills out the textboxes in flash

when the user hits submit the variables go to a coldfusion page that says your

your name is:  
your email is:  
your website is:

and display what the user filled out in the flash fle

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 4:57am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/12 "2003-06-27T04:57:44Z")

</div>

How does flash handle forms?

Is it similar to \<form\> tags. Can you create a action= for your flash form to submit to? Will it pass the variables your user entered as form.variables? I guess it would be more helpful if I was better with Flash…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 5:01am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/13 "2003-06-27T05:01:44Z")

</div>

basically you jsut need to get your form variables into a url variable that you submit to a CF page.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 5:22am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/14 "2003-06-27T05:22:14Z")

</div>

> \*Originally posted by EthanM \*  
> \*\*How does flash handle forms?

Is it similar to \<form\> tags. Can you create a action= for your flash form to submit to? Will it pass the variables your user entered as form.variables? I guess it would be more helpful if I was better with Flash… \*\*

yup  
[AS]  
submit.onRelease = function(){  
getURL(“page.cmf”, “\_blank”, “post”);  
}  
[/AS]

then it just sends the variables to that page.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 5:24am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/15 "2003-06-27T05:24:06Z")

</div>

> \*Originally posted by EthanM \*  
> \*\*basically you jsut need to get your form variables into a url variable that you submit to a CF page. \*\*

yea , like in asp you would say

name = Request.Form(“name”)

that gets the variable from the flash page. how would i do that in CF?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 5:52am UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/16 "2003-06-27T05:52:03Z")

</div>

Do you have a flash form that submits to a page. If you send me the FLA I can whip up a CFM page and find out what caller I need to use to get the variables.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 4:43pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/17 "2003-06-27T16:43:01Z")

</div>

sounds good to me. here ya go.

variables are:

name  
email  
url

name of the page should be  
formHandle.cfm

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 7:31pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/18 "2003-06-27T19:31:12Z")

</div>

Okay here’s what I got for your name email url thing.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 9:21pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/19 "2003-06-27T21:21:00Z")

</div>

my3brs, i cant seem to get it to work. in my flash file i should be linking the url to localhost:80 correct?

i ahve iis set to run localohost on my CF directory on port 80  
imma go eat and play around with this some more…

thanks btw

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 27, 2003, 9:35pm UTC](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548/20 "2003-06-27T21:35:58Z")

</div>

I have port 8500

[Next page](https://forum.kirupa.com/t/flash-remoting-w-coldfusion/19548.md?page=2)
