# Find Stage Width of External Swf?

**URL:** <https://forum.kirupa.com/t/find-stage-width-of-external-swf/239969>\
**Category:** flash\
**Created:** [September 27, 2007, 7:10pm UTC](https://forum.kirupa.com/t/find-stage-width-of-external-swf/239969 "2007-09-27T19:10:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![YoungNastyMan](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@YoungNastyMan](https://forum.kirupa.com/u/YoungNastyMan)\
**Post date:** [September 27, 2007, 7:10pm UTC](https://forum.kirupa.com/t/find-stage-width-of-external-swf/239969/1 "2007-09-27T19:10:34Z")

</div>

Hello, I’m having troubles finding the stage width of external swfs I’m loading into my main swf.

Basically, I’m making a web page with a main swf that loads external swfs into it (it only displays one external swf at a time into the holder\_mc). I have a dragbar\_mc that hovers above the external swf (once it’s loaded) - the user can move the external swf around by clicking and dragging the drag bar.

[LIST]  
[\*]My problem is that I can’t figure out how to make the drag bar always the same width as the external swf’s stage.[/LIST]I’ve been using the following code, but it doesn’t actually give me the stage width, just the width of all the items combined:

```auto
dragbar_mc._width = holder_mc._width;

```

Any help would be seriously appreciated.
