Hi steve it seems there is an incompatibiliity problem with togglepaused
with latest changes in red5, using pause and resume works, i use As3 in
flex. No exceptions doing it like this.
public function pause(event:Event):void
{
//ns.togglePause();
if (videoState.isPlaying)
{
if (!videoState.isPaused && controls.pauseBtn.enabled)
{
ns.pause();
videoState.isPaused = true;
showPreloadBar("Paused");
} else {
ns.resume();
videoState.isPaused = false;
showPreloadBar("");
}
}
}
Dan Rossi wrote:
Steven Gong wrote:
On 12/11/06, *Dan Rossi* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Steven Gong wrote:
What's togglePause() used for? I am using an swf built from mtasc.
Changes the state of a pause internally
http://livedocs.macromedia.com/flex/2/langref/flash/net/NetStream.html#togglePause()
its basically doing pause(true) , pause(false).
As much as id like to use mtasc and swfmill, the swfmill wasnt the
best experience to get an application going compared to flex :\
Flex 2 platform is a mixture of mtasc, swfmill and actionstep if i
remember correctly, much prefer open source, and the mac beta is slow,
and buggy and the local debugger it interfaces with the movie is slow
to load, sometimes doesnt load even though the movie already has, not
too familiar with the other debugger meantioned here , hard to have
flex builder, eclipse , red5 and debugging flash movies on the same
machine :D
------------------------------------------------------------------------
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org