PDA

View Full Version : Can Actionscript call/read python scripts?


superpink99
June 12th, 2009, 12:48 AM
i don't know if im asking it the right way but, what i want to say is that is actionscript capable of reading python scripts?

for example:
theres a button created in actionscript, when i click it, it tells actionscript to run an event written in python.

is this possible?

the reason for this is because i like to code in python but let actionscript do the GUI part.......

delfick
June 12th, 2009, 01:06 AM
you want pyamf

http://pyamf.org/

:)

superpink99
June 12th, 2009, 01:40 AM
hello delfick,

thanks for the site i went through it and i actually just downloaded it, do you happen to have a very simple script where the two (actionscript and python) are applied? i just want to see how it is if possible thanks..........

delfick
June 12th, 2009, 02:01 AM
http://pyamf.org/wiki/EchoTest

:)

(infact, they have quite a lot of examples nowadays http://pyamf.org/wiki/Examples)