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... 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... 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] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4