Page 1 of 1
Python Scripting for AS
Posted: Thu Jun 28, 2012 12:20 am
by InfoCentral
I just noticed that Papagayo is written in Python and it integrates nicely with AS. So is it possible to write scripts in Python for AS?

Re: Python Scripting for AS
Posted: Thu Jun 28, 2012 4:30 am
by slowtiger
Uhm, AS only reads a text file created by Papagayo. That's all. No Python works within AS, it's all LUA.
Re: Python Scripting for AS
Posted: Thu Jun 28, 2012 7:52 pm
by Rudiger
SlowTiger is right about Papagayo, but you could try this:
http://labix.org/lunatic-python/
Not sure how useful it would be though as probably all of the useful things you can do in Python are probably not supported by the AS scripting interface anyway.
Re: Python Scripting for AS
Posted: Fri Jun 29, 2012 2:03 am
by hayasidist
bearing in mind that the .anme files are just text files then python could be used to do "script"-like things outside AS - e.g. delete all keyframes between frames a and b; insert keyframes to give a parabolic trajectory to layer x between frames a and b; unload all keyframes in switch layer z to a .dat; create a .anme from this .svg ... of course you'll need to figure out the .anme file format (which has a nasty habit of changing between releases)