Title: ? - call application.foo.bar() from within flash
you need to set up a facade CFC or CFM page that'll act as a dispatcher of sorts for the application-scoped CFC.  It should call methods on the CFC and return the results, or perhaps even return a reference to the CFC, although I'd think carefully about that for security reasons.
 
barneyb

---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Suyer, Ed [PRD Non-J&J]
Sent: Thursday, June 19, 2003 11:14 AM
To: '[EMAIL PROTECTED]'
Subject: [CFCDev] ? - call application.foo.bar() from within flash


Does anyone know if it's possible to:

1. create a cfc object in application scope i.e. application.foo
2. then access a method of that cfc from within Flash i.e.
        NetServices.setDefaultGatewayUrl("http://localhost/flashservices/gateway");
        gatewayConnnection = NetServices.createGatewayConnection();
        foo = gatewayConnnection.getService(??, this);
        foo.bar();

Another alternative I was thinking of was to write a .cfm page that sets Flash.Results to application.foo.bar().

Any thoughts?  OT?

Reply via email to