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
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
: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
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
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
[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
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
= 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
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
: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
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
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
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
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
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
: 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
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
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,
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
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
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
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
: 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
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
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
-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
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
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
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
: 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
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
);
// 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
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:
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
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
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
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 =
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
();
}
// 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
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
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
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
42 matches
Mail list logo