flash.external.ExternalInterface with string instead of xml

DLL Edition of the F-IN-BOX
Posts: 1
Joined: Thu May 26, 2011 1:05 pm

flash.external.ExternalInterface with string instead of xml

Postby gigon » Thu May 26, 2011 1:16 pm

hi, I embedded f-in-box in our NPAPI browser plugin.
Now I need my actionScript to call javascript methods on the web page
where I embed my plugin, via f-in-box::ExternalInterface.
But the SFPCFlashCallInfoStruct contains the request serialized as XML (and expects a reply serialized as xml).

I would like to get SFPCFlashCallInfoStruct::request in plain string format,
so I can pass it directly to javascript:eval( request ),
and also return FPCSetReturnValue as string to actionScript.

Is there a way to do so (setting a different mime type on the call)?


Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg

Postby Softanics » Thu May 26, 2011 8:03 pm


This format is used by Flash to pass data, it can't be changed. So it seems that you have to decode it (for example, using MSXML COM library).

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 2 guests