header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amar
Points:210
Posts:11

12/20/2010 12:47:31 AM

Title: Not able to detact video status


Hello,

I am working on video Recorder application in as3.

application is recording video, but problem is that when i am paying that recorded video in same video display..facing a problem. I am not able to get onPlayStatus.

Actually i want to activate play button if vdeo is completed. here i am not able to detact video status.

NetConnection.Play.Complere.

Help me



1
Zane
Points: 0
Posts:0
12/20/2010 3:24:43 AM



it should be "NetStream.Play.Complete" not "NetConnection.Play.Complete"



private function videoPlayStatus(event:Object):void {
switch (event.info.code) {
case "NetStream.Play.Complete":
//video complete
break;
}


2
amar
Points: 210
Posts:11
12/22/2010 11:34:20 PM



Thanks Zane, i already tried with case "NetStream.Play.Complete": but it was not working. then i tried to get using CustomClient class. now i am able to find video completion status.

but now i am facing another problem, is if my video is completed i want to show one pop window to replay it, save it etc....

it means need to call function from super class in CustomClient.

Thanks in advance


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions