# Scalled ? Movie Clip

**URL:** <https://forum.kirupa.com/t/scalled-movie-clip/319357>\
**Category:** flash\
**Created:** [February 17, 2011, 12:30pm UTC](https://forum.kirupa.com/t/scalled-movie-clip/319357 "2011-02-17T12:30:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![przemp](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@przemp](https://forum.kirupa.com/u/przemp)\
**Post date:** [February 17, 2011, 12:30pm UTC](https://forum.kirupa.com/t/scalled-movie-clip/319357/1 "2011-02-17T12:30:44Z")

</div>

Hi!

I w got one .as file with main class that inherits from MovieClip  
when I add another MovieClip object into this main class (or even Bitmap, textfield) everything looks scaled (but when i take .width it seems ok ?)  
And what more - when i place new movieclip with addchild and it’s property .x = 0 it is about 10 - 15 from left of all movie ?

I use “handwritten” code and flex 4.01 mxmlc.exe to compile it.  
Any suggestion?

Well after 5 days I found it… near…  
I added [SWF(width=“504”, height=“335”, frameRate=“18”)] before main class and it works - but what if I want to width and height to be variables?
