# Problems with positioning a movie cip

**URL:** https://forum.kirupa.com/t/problems-with-positioning-a-movie-cip/283036
**Category:** flash
**Created:** [March 1, 2009, 9:34pm UTC](https://forum.kirupa.com/t/problems-with-positioning-a-movie-cip/283036 "2009-03-01T21:34:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DrMaxMad](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)
#### Post date: [March 1, 2009, 9:34pm UTC](https://forum.kirupa.com/t/problems-with-positioning-a-movie-cip/283036/1 "2009-03-01T21:34:56Z")

</div>

HI there,

i am having some problem with positioning a movieclip on stage…here is the code

```auto
stage.scaleMode = StageScaleMode.NO_SCALE;

disp_txt.text = stage.stageWidth +" : "+ stage.stageHeight;

clip_mc.x = stage.stageWidth;
bg_mc.x = 0;

bg_mc.width = stage.stageWidth;

```

stage size is default flash stage size…550 px X 400px…when i test it in flash authoring environment it works fine , but when i publish it in html , it seem to working very strangely…the only thing i change is the width in the embed tag…

```auto
<script language="javascript">
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '800',
			'height', '400',
			'src', 'test',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'test',
			'bgcolor', '#ffffff',
			'name', 'test',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'test',
			'salign', ''
			); //end AC code
	}
</script>

```

i have also uploaded the files…👼
