I
I
ixon2014-08-13 12:38:45
PHP
ixon, 2014-08-13 12:38:45

How to call a function in a flash application through a browser?

There is some swf file launched from the browser, there is no access to the sources, but some function is known that needs to be called. How can I do this using a browser. Is there any plugin for flash debugging?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Skogorev, 2014-08-13
@EnterSandman

Decompile
Sothink SWF Decompiler to the rescue

D
Dmitry, 2014-08-13
@CTAKAH4uK

If a function is added to the ExternalInterface, then it can be called from outside of
Flash :

function callMe(name:String):String 
{ 
    return "busy signal"; 
} 
ExternalInterface.addCallback("myFunction", callMe);

Page
<script language="JavaScript"> 
    // callResult gets the value "busy signal" 
    var callResult = flashObject.myFunction("my name"); 
</script> 
... 
<object id="flashObject"...> 
    ... 
    <embed name="flashObject".../> 
</object>

help.adobe.com/ru_RU/as3/dev/WS5b3ccc516d4fbf351e6...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question