SOT Flash Remoting Help

2004-02-06 Thread Dick Applebaum
I have been working on my first real Flash app. It is a real-time stock portfolio display. Server side is a CFMX program that retrieves real-time quotes from another web site The real-time data is combined with (relatively) static data from an on-site database The server and client exchange

Re: SOT Flash Remoting Help

2004-02-06 Thread Brook Davies
Dick, I am doing something similar. I take the data retrieved from the server and store it in an array who's keys are populated with a structure containing each record. You could, I guess, also just store the recordset within each key in the array. Personally preference.This complex data is

RE: SOT Flash Remoting Help

2004-02-06 Thread Cameron Childress
:678.637.5072 aim:cameroncf email: [EMAIL PROTECTED] -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 2:22 PM To: CF-Talk Subject: SOT Flash Remoting Help I have been working on my first real Flash app. It is a real-time stock portfolio

Re: SOT Flash Remoting Help

2004-02-06 Thread Dick Applebaum
Thanks Cameron I ordered the hard copy, but have been reading it online at O'Reilly Safari bookshelf. Very well done, but a little out of date (Pre Flash MX 2004 Professional) I am on chapter 4 and haven't found anything yet(that I understand well enough) to satisfy my need. What I need is

Re: SOT Flash Remoting Help

2004-02-06 Thread Dave Carabetta
I ordered the hard copy, but have been reading it online at O'Reilly Safari bookshelf. Very well done, but a little out of date (Pre Flash MX 2004 Professional) Are you sure it's the right book? My copy is entitled: Flash MX Professional 2004 for Server Geeks

RE: SOT Flash Remoting Help

2004-02-06 Thread Cameron Childress
[mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 5:42 PM To: CF-Talk Subject: Re: SOT Flash Remoting Help Thanks Cameron I ordered the hard copy, but have been reading it online at O'Reilly Safari bookshelf. Very well done, but a little out of date (Pre Flash MX 2004 Professional) I am

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
it in the same directory as the cfc and then browse it. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 22:38 To: CF-Talk Subject: Re: flash remoting help: UPDATED Changed the appropriate bit to: function init () { NetServices.setDefaultGatewayUrl(http

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
= CreateObject(component, sendme); cfscript cfdump var=#obj.sayHello()# / Put it in the same directory as the cfc and then browse it. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 22:38 To: CF-Talk Subject: Re: flash remoting help: UPDATED

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
exactly as you showed us? Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 11:00 To: CF-Talk Subject: Re: flash remoting help: UPDATED did that and it worked fine :( On 7 Jan 2004, at 10:57, Adrian Lynch wrote: Application.cfm will be run

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
:00 To: CF-Talk Subject: Re: flash remoting help: UPDATED did that and it worked fine :( On 7 Jan 2004, at 10:57, Adrian Lynch wrote: Application.cfm will be run too, make sure there's no code in there   that might be causing problems. You might also want to call the function   from

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
OnRequestEnd.cfm prehaps? :O) -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 12:00 To: CF-Talk Subject: Re: flash remoting help: UPDATED i get the result i should from coldfusion yep there's no application.cfm, and the code is exactly as i posted

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
nope :) On 7 Jan 2004, at 12:08, Adrian Lynch wrote: OnRequestEnd.cfm prehaps? :O) -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 12:00 To: CF-Talk Subject: Re: flash remoting help: UPDATED i get the result i should from coldfusion yep

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
if anyone knows what this relates to. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 12:09 To: CF-Talk Subject: Re: flash remoting help: UPDATED nope :) On 7 Jan 2004, at 12:08, Adrian Lynch wrote: OnRequestEnd.cfm prehaps? :O) -Original

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
PROTECTED] Sent: 07 January 2004 11:00 To: CF-Talk Subject: Re: flash remoting help: UPDATED did that and it worked fine :( On 7 Jan 2004, at 10:57, Adrian Lynch wrote: Application.cfm will be run too, make sure there's no code in there   that might be causing problems. You might also

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
though. -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 12:36 To: CF-Talk Subject: Re: flash remoting help: UPDATED if you got an error from flash too, then could you give me a bit of code that does work for you then? and i will test it? just something

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
: flash remoting help: UPDATED if you got an error from flash too, then could you give me a bit of code that does work for you then? and i will test it? just something simple! On 7 Jan 2004, at 11:50, Adrian Lynch wrote: You mean you got a result from the cfc via CF? I just tried

RE: flash remoting help: UPDATED

2004-01-07 Thread Adrian Lynch
PROTECTED] Sent: 07 January 2004 12:36 To: CF-Talk Subject: Re: flash remoting help: UPDATED if you got an error from flash too, then could you give me a bit of code that does work for you then? and i will test it? just something simple! On 7 Jan 2004, at 11:50, Adrian Lynch wrote: You

Re: flash remoting help: UPDATED

2004-01-07 Thread Ryan Mitchell
you are a star! the problem wasnt with the script as such, i had fixed that error earlier, but i had set teh default mapping / to a directory other than that, and as such thought that i should put the script in the place the mapping specified... i guess not after all! On 7 Jan 2004, at 13:52,

Re: flash remoting help

2004-01-06 Thread Craig Earls
Yes I am using Flash Remoting in a shared hosting environemnt and have exactly the problem you describe.The unsatisfactory solution has been to put all my cfCFCsin the same directory and only call them from that directory.Otherwise the path gets screwed up since the braindead macromedia service

Re: flash remoting help

2004-01-06 Thread Ryan Mitchell
How do you reference that directory then? Could you give me more details, sounds like we have a winner for the problem! On 6/1/04 11:46 am, Craig Earls [EMAIL PROTECTED] wrote: Yes I am using Flash Remoting in a shared hosting environemnt and have exactly the problem you describe.The

Re: flash remoting help

2004-01-06 Thread Clint Tredway
In my experience its not configuring Flash Remoting, its configuring how the webroots are setup. The paths for flash remoting are based on your webroot. I use a shared environment with Crystal Tech, and remoting works just fine. You need to find out what your webroot is. Then, you can figure

Re: flash remoting help

2004-01-06 Thread Ryan Mitchell
Ok, update: I¹ve found my webroot, created a directory called cfcremoting, and am working off that... It does seem to connect. When I try the code below, I get the following error with the flash debugger: error:coldfusion.compiler.ParseException: Invalid CFML construct found on line 23 at

Re: flash remoting help

2004-01-06 Thread Bryan Stevenson
: Tuesday, January 06, 2004 1:24 PM Subject: Re: flash remoting help Ok, update: I¹ve found my webroot, created a directory called cfcremoting, and am working off that... It does seem to connect. When I try the code below, I get the following error with the flash debugger

Re: flash remoting help: UPDATED

2004-01-06 Thread Ryan Mitchell
Ok, lets start over :o) The flash movie now connects, well let me explain: The flash movie itself is a 1-frame wonder: // Include the Required NetService class files #include NetDebug.as #include NetServices.as #include DataGlue.as // connect to the Flash Remoting service provider function

RE: flash remoting help: UPDATED

2004-01-06 Thread Mark A. Kruger - CFG
Ryan, Yeah - your function is using a var to set your service.The responder is out of scope. get rid of the var. -mark -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 4:28 PM To: CF-Talk Subject: Re: flash remoting help: UPDATED Ok, lets

Re: flash remoting help: UPDATED

2004-01-06 Thread Ryan Mitchell
-Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 4:28 PM To: CF-Talk Subject: Re: flash remoting help: UPDATED Ok, lets start over :o) The flash movie now connects, well let me explain: The flash movie itself is a 1-frame wonder: // Include

RE: flash remoting help: UPDATED

2004-01-06 Thread Mark A. Kruger - CFG
it just like I do it - except for the non-standard port (2700) ... what's that about? -mark -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 4:38 PM To: CF-Talk Subject: Re: flash remoting help: UPDATED Changed the appropriate bit

RE: flash remoting help

2004-01-05 Thread Adrian Lynch
favourite. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 31 December 2003 10:34 To: CF-Talk Subject: Re: flash remoting help I¹m calling the function on a button click... Still havent got it working! On 31/12/03 12:58 am, chris kief [EMAIL PROTECTED] wrote

Re: flash remoting help

2004-01-05 Thread Ryan Mitchell
at responders for flash remoting. There's a few different ways to do it but you'll no doubt choose your favourite. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 31 December 2003 10:34 To: CF-Talk Subject: Re: flash remoting help I¹m calling

RE: flash remoting help

2004-01-05 Thread Adrian Lynch
: flash remoting help Where would I find information about these? On 5/1/04 10:44 am, Adrian Lynch [EMAIL PROTECTED] wrote: You don't seem to have created a responder function in flash. Do you get an error message in Flash? Something along the lines, .no default responder

Re: flash remoting help

2004-01-05 Thread Ryan Mitchell
2004 15:59 To: CF-Talk Subject: Re: flash remoting help Where would I find information about these? On 5/1/04 10:44 am, Adrian Lynch [EMAIL PROTECTED] wrote: You don't seem to have created a responder function in flash. Do you get an error message in Flash? Something along the lines

Re: flash remoting help

2004-01-05 Thread Mike Chambers
);  // When the data is returned from the method call, this is where it is returned to } Let us know if this works. Ade -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 15:59 To: CF-Talk Subject: Re: flash remoting help Where

Re: flash remoting help

2003-12-31 Thread Ryan Mitchell
I¹m calling the function on a button click... Still havent got it working! On 31/12/03 12:58 am, chris kief [EMAIL PROTECTED] wrote: Did you get this working? From the looks of your code, you're never calling the function, just declaring it. You need to invoke the function to get it to work:

OT: flash remoting help

2003-12-30 Thread Ryan Mitchell
Hello I'm playing with flash remoting to a cfc for the first time, and having a few difficulties trying to get it all working... Its on a shared hosting server, so within the flash I'm accessing the server as follows (the coldfusion server runs on port 27000 so I'm assuming that¹s the port for

Re: OT: flash remoting help

2003-12-30 Thread Clint Tredway
What happens if you go to the gateway url in a browser? You should get a blank page. That means the gateway is working. You also, don't need the stop()that will kill your movie's timeline. HTH, Clint Ryan Mitchell wrote: Hello I'm playing with flash remoting to a cfc for the first

Re: OT: flash remoting help

2003-12-30 Thread Ryan Mitchell
Yeah I do get a blank page... I want the stop there to stop my movie :O) On 30/12/03 2:13 pm, Clint Tredway [EMAIL PROTECTED] wrote: What happens if you go to the gateway url in a browser? You should get a blank page. That means the gateway is working. You also, don't need the

Re: OT: flash remoting help

2003-12-30 Thread Clint Tredway
The stop is what is stopping your remoting call... How are you calling your function? Also, sometimes they way you are setting your gateway, Flash doesn't create the connection properly.. try this: if(inited == null) { inited = true; var conn =

Re: OT: flash remoting help

2003-12-30 Thread Ryan Mitchell
Nope, no joy im afraid. Seems to me like theres a problem once it hits the gateway... Like the path is wrong or something, cos the cfc is never being run, or not that I can see anyway! Thanks for your help! On 30/12/03 2:29 pm, Clint Tredway [EMAIL PROTECTED] wrote: The stop is what is

RE: flash remoting help

2003-12-30 Thread chris kief
(); } // invoke the function insertIt(); chris From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 3:02 AM To: CF-Talk Subject: OT: flash remoting help Hello I'm playing with flash remoting to a cfc for the first time, and having a few

RE: OT: flash remoting help

2003-12-30 Thread chris kief
: Re: OT: flash remoting help The stop is what is stopping your remoting call... How are you calling your function? Also, sometimes they way you are setting your gateway, Flash doesn't create the connection properly.. try this: if(inited == null) {     inited = true;     var conn

RE: OT: flash remoting help

2003-12-30 Thread Clint Tredway
when I put in a stop it stops everything... Clint Tredway www.digital12studios.com Original Message: +AD4-From: +ACI-chris kief+ACI- +ADw-chris+AEA-riseinteractive.com+AD4- +AD4-To: CF-Talk +ADw-cf-talk+AEA-houseoffusion.com+AD4- +AD4-Subject: RE: OT: flash remoting help +AD4-Date: Tue, 30 Dec

RE: OT: flash remoting help

2003-12-30 Thread chris kief
where the stop is placed will always execute. chris From: Clint Tredway [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 6:20 PM To: CF-Talk Subject: RE: OT: flash remoting help when I put in a stop it stops everything... Clint Tredway