Flash: Is it possible to access ExternalInterface methods?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
VladimirRkv
Posts: 2
Joined: Mon Jul 21, 2014 2:22 pm

Flash: Is it possible to access ExternalInterface methods?

Post by VladimirRkv » Mon Jul 21, 2014 2:28 pm

Hi
I have a web-page with the Flash object on it. This Flash has several methods available via ExternalInterface.
Is there any way to call these methods using Ranorex?

Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Flash: Is it possible to access ExternalInterface methods?

Post by Support Team » Wed Jul 23, 2014 4:30 pm

Hi VladimirRkv,

Yes, it should be possible using our ExecuteScript() method.

For example:
webDocument.ExecuteScript("$('myFlashObject').myMethod()")
or if $('myFlashObject') does not work:
webDocument.ExecuteScript("document.getElementById().myMethod()")
Regards,
Bernhard

VladimirRkv
Posts: 2
Joined: Mon Jul 21, 2014 2:22 pm

Re: Flash: Is it possible to access ExternalInterface methods?

Post by VladimirRkv » Mon Aug 11, 2014 3:16 pm

Hi Bernhard.

Thank you very much for your help!
We did it! 8) It works! :D

Regards,
Vladimir