Problems publishing flash files to html

  • general_gawish
  • Novice
  • Novice
  • general_gawish
  • Posts: 18

Post 3+ Months Ago

Hi all,
I'm nearly new to flash designing, i've been facing problems while exporting flash files to html, first off in the html version the design is not in the area expected as i made in the Stage, i wished it be centered and at the top but in the published version i find it left aligned and a little space in the top which is not the Background colour of the stage. How can I fix this, should i first import the flash in dreamweaver or there's a solution to export it from flash to appear in the right way.

Waiting for your reply,
thanks in advance,,
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Belk Media Group
  • Graphic Monk
  • Professor
  • User avatar
  • Posts: 778
  • Loc: In the heart of California, Fresno.

Post 3+ Months Ago

yes, you are going to have to make some adjustments to the HTML and/or CSS in order to position the swf the way you want it.
  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Posts: 275

Post 3+ Months Ago

try this code.

Code: [ Select ]
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>test</title>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="400" id="test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="test.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="test.swf" loop="false" menu="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="550" height="400" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center>
</body>
</html>
  1. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>test</title>
  5. </head>
  6. <body bgcolor="#ffffff" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
  7. <!--url's used in the movie-->
  8. <!--text used in the movie-->
  9. <!-- saved from url=(0013)about:internet -->
  10. <center>
  11. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="400" id="test" align="middle">
  12. <param name="allowScriptAccess" value="sameDomain" />
  13. <param name="movie" value="test.swf" />
  14. <param name="loop" value="false" />
  15. <param name="menu" value="false" />
  16. <param name="quality" value="high" />
  17. <param name="wmode" value="transparent" />
  18. <param name="bgcolor" value="#ffffff" />
  19. <embed src="test.swf" loop="false" menu="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="550" height="400" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  20. </object>
  21. </center>
  22. </body>
  23. </html>


after exporting from the flash u need to edit that html on "notepad" or "dreamweaver"
or any third party software.

:)

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.