# Set width and height of FLV using attachMovie

**URL:** <https://forum.kirupa.com/t/set-width-and-height-of-flv-using-attachmovie/207254>\
**Category:** Uncategorized\
**Created:** [November 16, 2006, 12:03am UTC](https://forum.kirupa.com/t/set-width-and-height-of-flv-using-attachmovie/207254 "2006-11-16T00:03:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kredd](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@kredd](https://forum.kirupa.com/u/kredd)\
**Post date:** [November 16, 2006, 12:03am UTC](https://forum.kirupa.com/t/set-width-and-height-of-flv-using-attachmovie/207254/1 "2006-11-16T00:03:11Z")

</div>

i exported a video at 324x240 as a FLV file and imported into flash. i’m using the code below to load it. it loads fine but it’s huge. it looks like its about 500x500 or something.

i would assume the flv would load using it’s exported dimensions but it loads with wacked out dimensions regardless of what i specificy or even if don’t specify any at all.

```auto
 
onClipEvent(load){
import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10, {_width:324, _height:240, _x:0.0, _y:0.0});
my_FLVPlybk.skin = "http://www.fhu.edu/campusmap/ClearOverPlaySeekMute.swf"
my_FLVPlybk.contentPath = "http://www.fhu.edu/campusmap/ropes_course.flv";
}

```

any ideas? thanks
