An example of LWF for Unity
LWF http://gree.github.io/lwf/
LWF is an animation engine which can play animation data converted from FLASH contents in HTML5, Unity, Cocos2d-x, iOS UIKit, and more. LWF is designed to make game development easy and fun.
It means that LWF allows you to make animation using Adobe Flash for your Unity Application.
You'll see a Flash movie which is embedded on Unity.
Please take a look at LWF Presentation and LWF Production Guide.
Install LWFS https://github.com/gree/lwfs to convert Adobe Flash data into LWF data. It automatically converts in ~/Desktop/LWFS_work folder and shows the data on Web browser.
This project also enables Lua scripting of LWF with KopiLua.
Define LWF_USE_LUA in Assets/smcs.rsp.
Load Lua script and pass luaState to luaState argument of LWFObject.Load method.
var script = Resources.Load(Lua_script_filename) as TextAsset;
L = new Lua();
L.DoString(script.text);
Load(lwfPath, luaState:L.luaState);
You can also write Lua script in Flash actionscript panel like LWF for HTML5 Embedded JavaScript.
For instance,
/* lua
self:gotoAndPlay("run")
*/
on (press) { /* lua
self.cat:gotoAndPlay("jump")
*/ }
TBU