polaric Posted June 4, 2011 Share Posted June 4, 2011 i embedded a swf file in my webpage. when my resolution is 1366x768 it fits on the div tag. but when i resize my resolution in 1024x768 it overlapps the div. the swf width increase. can somebody help me?. Quote Link to comment https://forums.phpfreaks.com/topic/238362-auto-adjusting-of-swf-in-a-web-page/ Share on other sites More sharing options...
arbitter Posted June 4, 2011 Share Posted June 4, 2011 Show us the code please. Quote Link to comment https://forums.phpfreaks.com/topic/238362-auto-adjusting-of-swf-in-a-web-page/#findComment-1225056 Share on other sites More sharing options...
polaric Posted June 5, 2011 Author Share Posted June 5, 2011 <div style="position: absolute; left: 188px; top:113px;" align="center"> <table height="534" border="2"> <tr> <td> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="999" height="534" id="FlashID" title="dwcc"> <param name="movie" value="home.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="8.0.35.0" /> <param name="SCALE" value="default"/> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="home.swf" width="999" height="534"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="8.0.35.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </td> </tr> </table> </div> this is the code i made. .it's a div tag within a div tag also. .please help me Quote Link to comment https://forums.phpfreaks.com/topic/238362-auto-adjusting-of-swf-in-a-web-page/#findComment-1225666 Share on other sites More sharing options...
ryanfilard Posted June 7, 2011 Share Posted June 7, 2011 It is because the div is automatically readjusting itself. Quote Link to comment https://forums.phpfreaks.com/topic/238362-auto-adjusting-of-swf-in-a-web-page/#findComment-1226188 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.