I’m trying to get this ( http://code.google.com/p/lassiestudio/ ) AS3 Engine to run with Adobe Air for Android. When I compile the Game Demo that comes with the engine in Flash or Regular adobeAIR it works fine but when I set it to air for android it loads but I get the following in the console when trying to pick up the coconut as it attempts to add it to the inventory.
[SWF] sheep_f10.swf - 611871 bytes after decompression
[SWF] lib/ui.swf - 22151 bytes after decompression
[SWF] lib/menu.swf - 99229 bytes after decompression
[SWF] lib/demo_lib.swf - 426889 bytes after decompression
ArgumentError: Error #2109: Frame label not found in scene .
at flash.display::MovieClip/gotoAndStop()
at com.lassie.player.ui::InventorySlot/load()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\ui\InventorySlot.as:105]
at com.lassie.player.ui::Inventory/_setDisplay()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\ui\Inventory.as:284]
at com.lassie.player.ui::Inventory/_onUpdateDisplay()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\ui\Inventory.as:336]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.lassie.player.model::DataModel/update()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\model\DataModel.as:91]
at com.lassie.player.model::InventoryCollection/addItems()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\model\InventoryCollection.as:198]
at InventoryControl/_run()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\InventoryControl.as:51]
at com.lassie.player.control::Command/call()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Command.as:44]
at com.lassie.player.control::Process/_run()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Process.as:239]
at com.lassie.player.control::Process/_onCommandComplete()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Process.as:375]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.lassie.player.control::Command/_complete()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Command.as:86]
at LayerControl/_run()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\LayerControl.as:80]
at com.lassie.player.control::Command/call()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Command.as:44]
at com.lassie.player.control::Process/_run()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Process.as:239]
at com.lassie.player.control::Process/_onCommandComplete()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Process.as:375]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.lassie.player.control::Command/_complete()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\Command.as:86]
at LayerSpriteControl/_onAnimComplete()[C:\Users\xvishon\Downloads\android Dev\Lassie-android\app\www\projects\demo\com\lassie\player\control\LayerSpriteControl.as:225]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at demo_lib_fla::mc_10/frame15()
I don’t know enough about AS3 to understand why it works on other outputs and what is different about the Android setting that would cause this error. I think it has something to do with labels on frames but I’m not sure where they should be or if they need to be added with code. Can anyone help me solve this problem?