Chaotic Horde

Flash Applications and Games Development

Today,  

Hi, This might be an minuscule problem, but i really cudn’t locate an answer!

I am making an flv player using NetConnection/NetStream concept. As the video plays i’m wanted to show the elapsed time of the flv in a textfield. Now i’m not able to locate the particular event or a method which gets fired continuously till the video is playing.

A similar thing can be achieved by using FLVPlayback component, playheadUpdate event.

Code:

this.c_mcVideoPlayer.addEventListener("playheadUpdate", Delegate.create(this, onPlayheadUpdate));

function onPlayheadUpdate(evt:Object)
{
//do the task.
}


How can i do the same using NetStream ?


(Link)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Furl
  • StumbleUpon

Posted in Flash Application and Games Development |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.