Search code examples
flashqtnpapiqtwebkit

Can I access the form elements of a flash form from qtwebkit?


I have a qtwebkit browser with Mozilla NPAPI plugins from which I access a web page. This page contains flash forms and I need to be able to access and manipulate its elements.

Does anyone knows if this is possible and how?

PS: I don't want to use flash's ExternalInterface


Solution

  • The only way to communicate between the browser (or another plugin) and a npapi plugin is through the NPRuntime interface. Flash supports the NPRuntime interface and allows you to expose methods and properties on it using ExternalInterface; in other words, that is your only real option.

    You haven't specified why you don't like this option, but it's all you have. it's all there is.