# Stage resize actions inside a child SWF

**URL:** <https://forum.kirupa.com/t/stage-resize-actions-inside-a-child-swf/314330>\
**Category:** flash\
**Created:** [September 24, 2010, 9:44pm UTC](https://forum.kirupa.com/t/stage-resize-actions-inside-a-child-swf/314330 "2010-09-24T21:44:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deathz](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@deathz](https://forum.kirupa.com/u/deathz)\
**Post date:** [September 24, 2010, 9:44pm UTC](https://forum.kirupa.com/t/stage-resize-actions-inside-a-child-swf/314330/1 "2010-09-24T21:44:36Z")

</div>

Hi guys,

I’ve ran into a very nasty little problem that has been buggin me for few days.

Basically I have a main (parent) swf which loads the content of the sub pages into a MovieClip called mc\_container.

Inside every child SWF I have a code to repostion and resize its contents as I need with stage.addEventListener (Event.RESIZE, relocateandresize);

But the problem is, once this SWF is embedded into the main (parent) swf, this code stops working.

Anyway to bypass this problem?

Thanks,
