# FLV video size wrong when loading in Flash?

**URL:** <https://forum.kirupa.com/t/flv-video-size-wrong-when-loading-in-flash/234069>\
**Category:** flash\
**Created:** [July 30, 2007, 11:10am UTC](https://forum.kirupa.com/t/flv-video-size-wrong-when-loading-in-flash/234069 "2007-07-30T11:10:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvoets](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wvoets/32/3904_2.png) [@wvoets](https://forum.kirupa.com/u/wvoets)\
**Post date:** [July 30, 2007, 11:10am UTC](https://forum.kirupa.com/t/flv-video-size-wrong-when-loading-in-flash/234069/1 "2007-07-30T11:10:51Z")

</div>

Hey All!

I’m having trouble with an FLV file I’m trying to play.  
I’ve encoded the file with Flash Video Encoder.  
Resized it to 100x130px.

When i load it in Flash with the following code. It plays, but…  
The size isn’t right… It plays at approximatly twice the size it should be.

> var videoConnection:NetConnection = new NetConnection();  
> videoConnection.connect(null);  
> var videoStream:NetStream = new NetStream(videoConnection);  
> videoStream.play(“video1.flv”);  
> var video:Video = new Video();  
> video.attachNetStream(videoStream);  
> addChild(video);

Any thoughts on what I’m doing wrong?  
Many thanks in advance! Cheers, Wim
