|
I'm get this Error #2006 when I try and resume a video on pause.
Anyone seen this before? public function resume():void{ if(rFlex.playBtn.label == "Pause"){ rFlex.msgs.text = "Video Paused "; stream.togglePause() myTimer.stop(); rFlex.rewindBtn.enabled=false; rFlex.playBtn.label = "Play" }else{ rFlex.playBtn.label = "Pause" rFlex.msgs.text = "Now Playing: " + rFlex.videoListContainer.selectedItem.valueOf().label myTimer.start(); stream.togglePause() rFlex.rewindBtn.enabled=true; rFlex.closeBtn.enabled=true; } } Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt() at mx.containers.utilityClasses::CanvasLayout/updateDisplayList() at mx.containers::Canvas/mx.containers:Canvas::updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.core::Container/validateDisplayList() at mx.managers::LayoutManager/::validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() --
Whether you think that you can, or that you can't, you are usually right. - Henry Ford |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
