Yeah, its just the .fla file that is an example from the wiki:
Of course, the URL reference has my own API key in it, but the
following is what I am using in an FLA and attempting to test it out
to start building something.
// You must allow
justin.tv; for simplicity of developing against
localhost as well I've allowed *
flash.system.Security.allowDomain("*");
// You must use these settings; otherwise our player will go crazy.
You should be using these settings anyway because they're better.
stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
stage.align = flash.display.StageAlign.TOP_LEFT;
// Create the loader!
var loader = new flash.display.Loader();
trace("loader created");
// Handler for when you've loaded the swf
function loaded(e){
// Add the loader to the stage
addChild(loader);
// Access the API!
loader.content.api.play_live("apidemo");
}
// When we're done loading, trigger the callback
loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE,
loaded);
// Load the player at 640x480 size (video will be automatically
leterrboxed properly)
loader.load(new flash.net.URLRequest("
http://www.justin.tv/widgets/
jtv_api.swf?video_height=480&video_width=640&consumer_key=My_KEY"));