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.
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.