|
#1
|
|||
|
|||
|
I've tried the example code to no avail.
I'm using Flash Builder 4, and I continue to get a blank screen when compiling the example. Code:
The code in the example is:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
private var player:*;
private function loaderReadyHandler(event:Event):void
{
player = ModuleLoader(event.target).child;
player.addEventListener("ready", playerReadyHandler);
player.addEventListener("errorEvent", playerErrorHandler);
}
private function playerReadyHandler(event:Event):void
{
player.devKey = 'Iputmydevkeyhere';
player.channel = 'livestreamapi43';
player.play();
}
private function playerErrorHandler(event:Event):void
{
var e:Object = Object(event);
trace('Player error: [' + e.code + '] ' + e.message);
}
]]>
</mx:Script>
<mx:ModuleLoader
url="http://cdn.livestream.com/chromelessPlayer/v11/ChromelessPlayer.swf"
width="100%"
height="100%"
ready="loaderReadyHandler(event)" />
</mx:Application>
But this appears to have no affect. Any ideas? You can see what happens by clicking my hosted issue here: http://breezegetaways.com/test/inova...lexsample.html Last edited by bc992164; 16th July 2010 at 11:03. Reason: Left out a few lines |
|
#2
|
|||
|
|||
|
Our flex module currently doesn't support flex 4. We are in the process of rolling out a new version of the API that will fix this issue though.
Thanks |
|
#3
|
|||
|
|||
|
The new version of our module is available. Please have a look at:
http://www.livestream.com/userguide/...lex_Developers Thanks |
|
#4
|
|||
|
|||
|
Any chance of getting all the trace actions removed from the module!?
Also the player.stop() method doesn't seem to stop everything (still loads of traces after stop() method is called). The only way i can clear it completely is with a uloadAndStopAll() call which seems pretty extreme! Thanks! |
|
#5
|
|||
|
|||
|
Hello,
Yes we're in the process of cleaning up the traces from the module. The stop() function is currently use to stop playback only. We keep some background activity for instance to allow you to retrieve the current viewer count or the live status even when the channel is not playing. Best |
![]() |
| Tags |
| api, chromless, flex, player |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|