HI there,
i am having some problem with positioning a movieclip on stage…here is the code
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…
<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…