Sign up to create your own snipts, or login.

Public snipts » brandon_rowe's snipts » Custom FLV Playback in AS3

posted on Dec 07, 2009 at 1:42 p.m. EST in 
  • var video:Video = new Video();
    addChild(video);
    
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    
    var ns:NetStream = new NetStream(nc);
    ns.client = this;
    
    function onMetaData(info:Object):void
    {
    
    }
    
    video.attachNetStream(ns);
    ns.play([REPLACE]);
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.