public override void Play(){
if (_startFrame == _endFrame) {
GotoFrame(_startFrame);
return;
}
Stop ();
GotoFrame (_startFrame);
MovieImpAction movieAction = new MovieImpAction (this, _startFrame, _endFrame);
if (_loop) {
_action = new CCRepeatForever(movieAction);
} else {
_action = movieAction;
}
_view.runAction (_action);
}
public override void Play(MovieCallback callback){