# Script applied to MC's so they dont follow 100% rule

**URL:** <https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912>\
**Category:** Uncategorized\
**Created:** [October 25, 2003, 1:55am UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912 "2003-10-25T01:55:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmattx](https://avatars.discourse-cdn.com/v4/letter/x/6de8d8/32.png) [@xmattx](https://forum.kirupa.com/u/xmattx)\
**Post date:** [October 25, 2003, 1:55am UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/1 "2003-10-25T01:55:19Z")

</div>

sorry for the horrible wording. I know there is a way of telling a movie clip withen an entire .swf file not to follow the 100% window width/height that is applied. how so?

thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 11:45pm UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/2 "2003-10-25T23:45:28Z")

</div>

Hi,

Like at [http://www.hi-res.net](http://www.hi-res.net) ?

if so you could try something like this, create a movie clip that contains the contents that will be left as being resizable (lets say this is named resizable\_mc) then at the start of your movie you can use,

[AS]  
Stage.scaleMode = “noScale”;  
Stage.align = “LT”;  
this.resizable\_mc.\_width = Stage.width;  
this.resizable\_mc.\_height = Stage.height;  
this.resizable\_mc.\_x = this.resizable\_mc.\_y = 0;  
this.resizable\_mc.onResize = function() {  
this.\_width = Stage.width;  
this.\_height = Stage.height;  
};  
Stage.addListener(this.resizable\_mc);  
[/AS]

When you publish the movie at 100% by 100% the contents of this clip will resize as the stage resizes but the other content will remain the same size.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 11:50pm UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/3 "2003-10-25T23:50:21Z")

</div>

Welcome catbert303 :love:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 11:56pm UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/4 "2003-10-25T23:56:32Z")

</div>

thanks 😃  
i’ve been lurking here _way_ too long without posting anything 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2003, 11:59pm UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/5 "2003-10-25T23:59:47Z")

</div>

thanks alot 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 12:00am UTC](https://forum.kirupa.com/t/script-applied-to-mcs-so-they-dont-follow-100-rule/33912/6 "2003-10-26T00:00:20Z")

</div>

It’s about time 😉
