# loadMovie, to fit to window wo/ showing boarder

**URL:** https://forum.kirupa.com/t/loadmovie-to-fit-to-window-wo-showing-boarder/233775
**Category:** flash
**Created:** [July 26, 2007, 7:56pm UTC](https://forum.kirupa.com/t/loadmovie-to-fit-to-window-wo-showing-boarder/233775 "2007-07-26T19:56:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GrndMasterFlash](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)
#### Post date: [July 26, 2007, 7:56pm UTC](https://forum.kirupa.com/t/loadmovie-to-fit-to-window-wo-showing-boarder/233775/1 "2007-07-26T19:56:32Z")

</div>

[LEFT]here is a weird problem, that has me stumped, it seems like it should be easy, but i just can’t seem to figure it out…  
here goes

i am working with a team of animators who make cartoon music videos, the videos range in size from 980x1280, to 1400x1600, i then take these videos and load them to a movie clip in my “video room” .swf,

the code to load the movies is

on (release) {  
\_root.screen.loadMovie(“video/dvd\_avideo.swf”, this);  
}

the code to resize the vidoes goes as such

onClipEvent (load) {  
\_root.screen.\_width = 320;  
\_root.screen.\_height = 240;  
}

now the video resize just fine, the problem is the entire area of the video shows, even the items that are located outside of the stage,

i don’t know why the vidoe is showing items located off of stage?

is there a way to crop the videos out so only there stage area shows when called into my .swf

+h@|||\<$ in advance:q:

[/LEFT]
