I have an application that uses webkit to play flash files on Mac. I need to know how I can get/set property(attribute) values (like scalemode) for flash using Webkit.

 

For example, if the actionscript of the flash file contains statement like:

_global.DesktopWindow.setScaleModeToNoScale(true);

 

How can I get the value of scalemode after the flash file has loaded? I can get attribute value which was set using the html embed tag.

 

Thanks for the help!

Mugdha