Yanime: Now, Its Purely Code

Got this link on Friday, forgot from which of my rss feeds: Towards Open Source Flash Development

The article brings together several technologies, that basically gives you: Flash (SWF) development without using Macromedia Flash! For the mavens, this may be old news, but since I’d last touched Yanime… its new to me and better late than never!

Briefly, the article’s method uses MTASC (a fast, open source action script compiler that produces SWF files. KEWL!) as the main compiler, and Eclipse IDE (armed with 2 plugins: ASDT and Flashout) I could also develop in pure text and produce SWF apps - without ever launching Flash MX2004 :-D

And I did. The just re-written Yanime engine consists of only 1 x ActionScript file. To use a embedded yanime engine, create your own Flash file, and put the following action script:

loadMovie("yanime.swf");
var yanime = new Engine(_root);


And pump XML messages to yanime to render avatars or map:

yanime.sendXML(xml_map);
yanime.sendXML(xml_avatar);


I’ll port over those missing features (e.g. speech bubble, networking with XMLSocket) real-soon-now! Source codes and project details… For now, please download here (Update: get from SourceForge instead). Subscribe for subsequent updates!