flash - Calling ActionScript from Python. Is that possible? -


if swf file embedded in html easy call actionscript methods via externalinterface using javascript. want use swf file outside of browser , still able access methods, want use python call actionscript. possible? there little information in internet. can use amf (pyamf) this, can i?

thanks in advance.

if want use swf in such manner outside browser investigate air or localconnection.

[edit] can use python listen externalinterface events. osflash.org has into, albeit little outdate:

http://osflash.org/ext_howto

or example python:

def externalcall(self,evt):     print "externalcall", evt.request     ret = "<object><property><string>sample data</string></property></object>"     self.movie.setreturnvalue(ret) 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -