# Give a width \*\*\* in procents

**URL:** <https://forum.kirupa.com/t/give-a-width-in-procents/75276>\
**Category:** Uncategorized\
**Created:** [January 7, 2005, 11:01am UTC](https://forum.kirupa.com/t/give-a-width-in-procents/75276 "2005-01-07T11:01:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pointer](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@pointer](https://forum.kirupa.com/u/pointer)\
**Post date:** [January 7, 2005, 11:01am UTC](https://forum.kirupa.com/t/give-a-width-in-procents/75276/1 "2005-01-07T11:01:33Z")

</div>

**Give a width of the mc’s or swf’s in procent.**

# Hello, i hope you guys can help me out… ive made full flash in the browser, but not total full screen. my movie prop… are: 780\*570 in the html, i used 100% for the swf, so all is flash. in the browser.

Ive made some things to give positions on my mc’s.

for center i used this:

```auto

  this._x = 0 - (Stage.width - 780)/2;
  

```

for top left i used this:

```auto

this._x = 0 - (Stage.width - 780)/2 + 20;
  this._y = 0 - (Stage.height - 570)/2 + 20;
  

```

for bottom right i used this:

```auto

  this._x = (Stage.width - this._width) - 270;
  this._y = (Stage.height - this._height)- 170;
  

```

Now i am thinking of loading 5 swf’s with and give a size to them in a loop to load them in the main fla. and give each swf a width of 20% with.

Anybody can help me out with this?

Greetz://
