Found this link... Scroll down for XML socket servers
http://www.tupps.com/flash/faq/xml-v1-0-0.html#6a



-----Original Message-----
From: Tim Blair [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 17, 2003 1:10 PM
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Remoting...


Just thinking through my own question...

> Alternatively, is there a way around it?  Say having flash
> call the CFC straight away (once) and the CFC will wait until 
> an update has occurred, then return the new data to Flash, 
> whereupon Flash will update and call the CFC again, which 
> will wait etc etc etc...

How about creating an instance of a java class on the CFC call and storing
that in a global scope somewhere, which does nothing but wait() until an
update has occurred, whereupon CF will call a method on that java object to
break out of the wait statement, so the initial CFC call will then complete
etc...

Would that work?  I sure there must be an easier way...

Tim.


-------------------------------------------------------
OUR NEW SITE IS NOW LIVE
Visit our new website at http://www.rawnet.com/ and
race around the beautiful Bracknell streets at http://xmas.rawnet.com/
-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
This message may contain information which is legally privileged and/or
confidential.  If you are not the intended recipient, you are hereby
notified that any unauthorised disclosure, copying, distribution or use of
this information is strictly prohibited. Such notification notwithstanding,
any comments, opinions, information or conclusions expressed in this message
are those of the originator, not of rawnet limited, unless otherwise
explicitly and independently indicated by an authorised representative of
rawnet limited.
-------------------------------------------------------




> -----Original Message-----
> From: Tim Blair [mailto:[EMAIL PROTECTED]
> Sent: 17 March 2003 13:02
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Remoting...
> 
> 
> Evening all,
> 
> When you make a call to createGatewayConnection() from within
> the Action Script, what happens?  What I mean is, does Flash 
> make a call to the CFC purely to check if it exists and then 
> discards anything, or does it hold a reference to the new instance?
> 
> What we'd like to do is PUSH data to the flash component,
> rather than PULL it from the server...  We could set up a 
> timer on the component to re-cal la function in a CFC every x 
> seconds, but what we'd rather do is
> (somehow) have the CFC inform flash that an update has happened.
> 
> As far as I can work out, it's not possible.  Am I right in
> this thinking?
> 
> Alternatively, is there a way around it?  Say having flash
> call the CFC straight away (once) and the CFC will wait until 
> an update has occurred, then return the new data to Flash, 
> whereupon Flash will update and call the CFC again, which 
> will wait etc etc etc...
> 
> Pah, what a thing to be doing on a Monday.
> 
> Cheers,
> 
> Tim.
> 
> 
> -------------------------------------------------------
> OUR NEW SITE IS NOW LIVE
> Visit our new website at http://www.rawnet.com/ and
> race around the beautiful Bracknell streets at http://xmas.rawnet.com/
> -------------------------------------------------------
> Tim Blair
> Web Application Engineer, Rawnet Limited
> Direct Phone : +44 (0) 1344 393 441
> Switchboard : +44 (0) 1344 393 040
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the intended 
> recipient, you are hereby notified that any unauthorised 
> disclosure, copying, distribution or use of this information 
> is strictly prohibited. Such notification notwithstanding, 
> any comments, opinions, information or conclusions expressed 
> in this message are those of the originator, not of rawnet 
> limited, unless otherwise explicitly and independently 
> indicated by an authorised representative of rawnet limited.
> -------------------------------------------------------
> 
> 
> 
> 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For human
help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to