stream = new NetStream(connection);
stream.client = new CustomClient(this);
and then CustomClient Class
class CustomClient
{
import kremsa.CustomVideo;
private var _video:CustomVideo;
public function CustomClient(video:CustomVideo)
{
_video = video;
}
public function onMetaData(info:Object,... args):void {
trace("metadata: duration=" + info.duration + " width=" + info.width + " height=" + info.height + " framerate=" + info.framerate);
_video.duration = info.duration;
}
public function onCuePoint(info:Object):void {
trace("cuepoint: time=" + info.time + " name=" + info.name + " type=" + info.type);
}
public function onTransition(info:Object,... args):void {
trace("onTransition: time=" + info.time + " name=" + info.name + " type=" + info.type);
}
}
I just need to have ... args because I'm parsing google video and there are 63 input parameters :)
Hope this helps...search for client property
Franto
On 7/25/06, John Grden <
[EMAIL PROTECTED]> wrote:
I did a search on the archives and through gmail/google and can't seem to find the info
any clues, much appreciated
--
John Grden
--
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Franto
http://blog.franto.com
http://www.flashcoders.sk __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] VideoPlayer.metadataReceived - were'd it go? John Grden
- Re: [flexcoders] VideoPlayer.metadataReceived - were'd it ... franto
Reply via email to