Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi -to-Flash Communication

Status
Not open for further replies.

ajbufort

Programmer
Apr 4, 2004
50
US
Hello All,

I have a theory about how Delphi-to-Flash communications can be implemented. I would appreciate any feedback on the viability of the theory, or perhaps more importantly, whether or not there is an easier way to go about this communication.

Premises:

- Flash can talk to JavaScript via getURL - FACT.
- JavaScript can talk to Flash via the DOM - FACT.
(see
- Delphi can get access to JavaScript via Microsoft Script Control through OLE - FACT.
(see 'Script Runner v.1.00' @
THEREFORE:

- Flash can communicate to Delphi by setting flags in JS, with Delphi executing a continuous thread to watch out for those flags via its access to JS.
- Delphi can communicate to Flash in the same manner, by setting JS flags, with Flash watching out for their values.
 
You are trying to comunicate thru a TWebBrowser object or you are directly embbeding a Flash ActiveX object in a Delphi form?

buho (A).
 
Hi buho,

I have an exe (built with Delphi) that I am launching from the Flash movie via a getUrl aimed at the user's local machine. Once it is launched, I want it to be able to communicate to Flash, and vice-versa. So no TWebBrowser and no ActiveX are involved.

-Tony
 
You are launching a Flash which, in time, loads a Delphi program?

Lemme think about, you lost me here :).

buho (A).

PD: I have some pale ideas about talking with Flash embbeding it in a Delphi form or loading it in a TWebBrowser in the usual way. Only pale ideas, as I've said; never got the time (or the need) to actually work on it. But I'm interested.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top