|
From: Scott H. <sc...@af...> - 2006-09-09 13:13:44
|
Sorry, send the code over. I'll have a look at it tomorrow.
And you could always revert back to a previous version if it used to
work for you.
Scott
On 07/09/06, Ewan McDougall <mr...@mr...> wrote:
> Hello,
>
> I've updated my actionstep library to use the modified NSMovie and
> NSMovieView classes. Now my video resizes itself to the wrong size.
> It maintains its aspect ratio but is about 2 times too small.
>
>
> public function initWithFramePosActive(
> frame:NSRect,
> redPos:Number,
> blackPos:Number):
> GameBoardVideoView {
>
> super.initWithFrame(frame);
> ...
>
> NSNotificationCenter.defaultCenter().addObserverSelectorNameObject(
> this,
> "movieInitialized",
> NSMovie.ASMovieDidInitialize,
> null);
>
> m_video = (new NSMovie()).initWithContentsOfURL("../../../video/
> 002f3t360_TheGame.flv");
>
> m_videoView = (new NSMovieView()).initWithFrame(new NSRect
> (0,0,frame.size.width,frame.size.height));
>
> m_videoView.showControllerAdjustingSize(false,true);
> m_videoView.setDrawsBackground(false);
>
> ...
>
> return this;
>
> }
>
> private function movieInitialized(ntf:NSNotification):Void
> {
> m_videoView.setMovie(m_video);
> m_videoView.gotoBeginning(this);
> m_videoView.start();
> }
>
> Any ideas would be much appreciated. I can supply all the source code
> for the project if required (will be release GNU GPL anyway).
>
> Cheers,
>
> Ewan
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> actionstep-core mailing list
> act...@li...
> https://lists.sourceforge.net/lists/listinfo/actionstep-core
>
|