Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[AS2] Is there any documentation on how to communicate with flash using the invoke XML?

Community Beginner ,
Jul 21, 2018 Jul 21, 2018

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?

TOPICS
ActionScript
654
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jul 21, 2018 Jul 21, 2018
Translate
Community Expert ,
Jul 21, 2018 Jul 21, 2018

this is the best vbscript injection article imo, JavaScript and VBScript Injection in ActionScript 3

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 21, 2018 Jul 21, 2018

I don't think this is what I need, thanks anyway though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 21, 2018 Jul 21, 2018
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines