your are fixing the width and height of the swf as below
can you send the html link, so that i can help
If this post answers your question, please mark as such
Please note the places that have been colored pink.
Fis Forums wrote:
I have embeded my swf file in to a html file, i am getting my output in screen but there is a border which makes my swf to set in center of page and equal border in screen around the swf output
Can u help me how to make my swf file in full screen height and width as per without any border around
Here is my code :
<link rel="shortcut icon" href="<%=request.getContextPath()%>/imgs/login/favicon.ico" >
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0, 40,0"
width="1000px" HEIGHT="800px" id="Charting">
<param name=movie value="<%=request.getContextPath()%>/pages/flexreportlogin/flexreportlogin.swf" >
<PARAM NAME=quality VALUE=high>
<EMBED src="<%=request.getContextPath()%>/pages/flexreportlogin/flexreportlogin.swf" quality=high width="1000px" HEIGHT="800px"
NAME="Charting" ALIGN="" TYPE="application/x-shockwave-flash"
Change height and width at both places to 100%.
we set the full screen mode of ths swf by setting the displayState property
of stage as given below
// full-screen in AS3
stage.displayState = StageDisplayState.FULL_SCREEN; // Exit mode in AS3 stage.displayState = StageDisplayState.NORMAL;
If this post answers your question or help, please mark it as such.