I need to know how to do somtin wit Flash...

  • looky_man1
  • Born
  • Born
  • looky_man1
  • Posts: 1

Post 3+ Months Ago

Hi I am new to Flash Mx and dont really know how tto put the swf file to a website. Im tryin to use http://www.graphic.net this message all ways pops up.


File cannot be saved because the file name contains invalid characters
  • Stephan
  • Born
  • Born
  • Stephan
  • Posts: 3
  • Loc: UK - Scotland

Post 3+ Months Ago

Create a new html file in notpad etc and paste the following

Code: [ Select ]
<head>

<TITLE>********Page Title Here*******</TITLE>


<META NAME="DESCRIPTION" CONTENT="******Name Here
*********">

<META NAME="KEYWORDS" CONTENT="***Site Description Here***">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</HEAD>

<body bgcolor="#333333" text="0" link="0" vlink="0" alink="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="739" border="0" cellspacing="0" cellpadding="0" height="100%" align="center">
 <tr>
  <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="778" height="548">
    <param name=movie value="***YOUR-MAIN-SWF-FILE-HERE**.swf">
    <param name=quality value=high>
    <embed src="Stephan.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="850" height="750">
    </embed>
   </object></td>
 </tr>
</table>
</body>

<script language="JavaScript">
<!--

function SymError()
{
 return true;
}

window.onerror = SymError;

//-->
</script>

<script language="JavaScript">
<!--

function SymError()
{
 return true;
}

window.onerror = SymError;

//-->
</script>

<script language="JavaScript"><!--
  self.moveTo(0,0)
  self.resizeTo(screen.availWidth,screen.availHeight)
//--></script>
  1. <head>
  2. <TITLE>********Page Title Here*******</TITLE>
  3. <META NAME="DESCRIPTION" CONTENT="******Name Here
  4. *********">
  5. <META NAME="KEYWORDS" CONTENT="***Site Description Here***">
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  7. </HEAD>
  8. <body bgcolor="#333333" text="0" link="0" vlink="0" alink="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  9. <table width="739" border="0" cellspacing="0" cellpadding="0" height="100%" align="center">
  10.  <tr>
  11.   <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="778" height="548">
  12.     <param name=movie value="***YOUR-MAIN-SWF-FILE-HERE**.swf">
  13.     <param name=quality value=high>
  14.     <embed src="Stephan.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="850" height="750">
  15.     </embed>
  16.    </object></td>
  17.  </tr>
  18. </table>
  19. </body>
  20. <script language="JavaScript">
  21. <!--
  22. function SymError()
  23. {
  24.  return true;
  25. }
  26. window.onerror = SymError;
  27. //-->
  28. </script>
  29. <script language="JavaScript">
  30. <!--
  31. function SymError()
  32. {
  33.  return true;
  34. }
  35. window.onerror = SymError;
  36. //-->
  37. </script>
  38. <script language="JavaScript"><!--
  39.   self.moveTo(0,0)
  40.   self.resizeTo(screen.availWidth,screen.availHeight)
  41. //--></script>

**************************************

Put your file name here in the above code----------->
Code: [ Select ]
<param name=movie value="***YOUR-MAIN-SWF-FILE-HERE**.swf">

in the above

then name this file index.html

Hope this ok , I am new too this too
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

I fixed it Stephen. In the future at OZZU when you post code, you need to use the bbCode buttons and surround your "code" with them. Otherwise it will most often screw up the post because the script attempts to parse the code as you saw originally.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

To add an answer to the question at hand, when you "publish" your Flash it should generate an HTML file. Then, simply copy and paste the content to your site.
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

actually, the only part of what Stephen posted that you need is:
Code: [ Select ]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="778" height="548">
    <param name=movie valueyourMovie.swf">
    <param name=quality value=high>
    <embed src="yourMovie.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="250">
    </embed>
   </object>
  1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="778" height="548">
  2.     <param name=movie valueyourMovie.swf">
  3.     <param name=quality value=high>
  4.     <embed src="yourMovie.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="250">
  5.     </embed>
  6.    </object>

as he said, simply change out "yourMovie.swf" for your own file name.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 9 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.