Hmm, in the code I wrote the “start”
event generally fired right around the time things were ready to go. Even if I
called play(someNon0Time) start would fire when the buffer had reached the
point that I was ready to play (I think).
The instance is very buried in the code
and not really meant to be exposed. I don’t have any reliable way of
telling you what to look for.
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005
2:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] NetStream
instance in Media Components
Is there a instance of NetStream or
PlayerNetStream in the Media
Components? If not does the Media Components
create some instance of
the NetStream or PlayerNetStream some where else?
The closest thing to FCS and Flex is:
http://coenraets.com/viewarticle.jsp?articleId=90
In his LiveMediaDisplay class he calls:
mx.controls.streamingmedia.PlayerNetStream.prototype.play
= function (s)
{
super.setBufferTime(1);
super.play(s);
}
I know this is not calling an instance but
overiding the play method
of PlayerNetStream. But where is the
instance? super has to be
referencing a instance some where right?
What I am doing right now is I have a Media
Component (both Playback
and the Display/Controller) that loads a FCS
streaming flv by
setMedia, with a url like
rtmp://fcsserver/app/instance/some.flv. It
loads the flv just fine, but the buffering is
causing me troubles. As
the "start" event on the Media Component
doesn't relate to the
buffering. Basically I am looking for an
event that really means the
flv is ready to play, as I am trying to sync some
swf's to it.
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.