Open GoogleCodeExporter opened 9 years ago
PlayState.as:
package
{
import flash.net.NetStream;
//Play State
public class PlayState implements State
{
private var videoWorks:VideoWorks;
public function PlayState(videoWorks:VideoWorks)
{
trace("--Play State--");
this.videoWorks=videoWorks;
}
public function startPlay(ns:NetStream,flv:String):void
{
trace("You're already playing");
}
public function stopPlay(ns:NetStream):void
{
ns.close();
trace("Stop playing.");
videoWorks.setState(videoWorks.getStopState());
}
}
}
Original comment by fralos...@gmail.com
on 7 Jun 2008 at 10:07
Original issue reported on code.google.com by
fralos...@gmail.com
on 5 Jun 2008 at 10:34