Copy link to clipboard
Copied
I'm trying to communicate with flash using Visual Basic. In my flash I have this:
ExternalInterface.addCallback("testFuncArray ", this, testFuncArray);
ExternalInterface.addCallback("testFuncString ", this, testFuncString );
function testFuncArray (_params) {
fscommand('_array', _params.length);
}
function testFuncString (_param) {
fscommand('_string', _param);
}
And in my Visual Basic I have this
xWin.CallFunction("<invoke name=""testFuncString"" returntype=""xml""><arguments><string>bleep</string></arguments></invoke>")
xWin.CallFunction("<invoke name=""testFuncArray"" returntype=""xml""><arguments><array><string>bleep</string></array></arguments></invoke>")
Invoking testFuncString works, but invoking testFuncArray causes an error, and I am 95% sure it is just because I have the XML for it wrong. I was wondering if anyone has any documentation for how this XML works?
Nvm I found what I was looking for Adobe Flash Platform * Using the ExternalInterface class
Copy link to clipboard
Copied
this is the best vbscript injection article imo, JavaScript and VBScript Injection in ActionScript 3
Copy link to clipboard
Copied
I don't think this is what I need, thanks anyway though.
Copy link to clipboard
Copied
Nvm I found what I was looking for Adobe Flash Platform * Using the ExternalInterface class
Find more inspiration, events, and resources on the new Adobe Community
Explore Now