From: Ewan M. <mr...@mr...> - 2006-08-26 15:07:55
|
Hello, I've updated the NSMovieView.as Looping playback works and the correct aspect ratio of the movie is maintained. Could somebody check it and put it in the repository, thanks. Using the code below m_video = (new NSMovie()).initWithContentsOfURL("../../../video/ 0-1-3-360_TheGame.flv"); m_videoView = new NSMovieView(); m_videoView.initWithFrame(frame); m_videoView.showControllerAdjustingSize(false,true); m_videoView.gotoBeginning(this); m_videoView.setMovie(m_video); m_videoView.start(); I expected the movie to start playing. It doesn't because the NSMovie.netStreamHanleStatus function pauses the video the first time it is called. Is this the desired behaviour? If it is what is the suggested way to start a movie with no controller (some sort of notification?). Also when the video is first loaded it is full of 'decompression' artifacts (see game0.jpg). They are not in the video file. When I play back the video using the code I originally wrote for this program before porting it to actionstep no such degradation of the video was apparent and when the video loops it is no longer there after the first loop (see game1.jpg). Does anybody have any idea what could be causing this? Cheers, Ewan |