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:
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
Post a Comment