I am using Flash Professional CS6 ( Air for android)
Everything is set at Air for android settings.The app opens up at my phone show some text that is on the stage but the player does not show.
This is the code I am using:
flash.system.Security.allowDomain("*");
stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
stage.align = flash.display.StageAlign.TOP_LEFT;
var loader = new flash.display.Loader();
function loaded(e){
addChild(loader);
loader.content.api.play_live("HERE I PUT MY CHANNEL");
}
loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, loaded);
loader.load(new flash.net.URLRequest("http://www.justin.tv/widgets/live_api_player.swf?video_height=650&video_width=480&consumer_key=HERE I PUT MY CONSUMER KEY"));
What am I doing wrong?