Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding SWISH MOVIE IN HTML 2

Status
Not open for further replies.

obtain

MIS
Dec 4, 2001
28
US
Hi guys!
I am trying to incorporate a swish movie into an html page.
the movie is saved at the same location as all else on the page. Why do I get a white blank patch in place of the movie?
Below is my html code for embedding it.

Thanks lots!
succeed

Code:
<html>
<head>
  <title>Flash Animation1</title>
</head>
<BODY BGCOLOR=&quot;#000000&quot; TEXT=&quot;#99ff99&quot; >
<CENTER><OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0&quot;[/URL] ID=Untitled WIDTH=600 HEIGHT=600>
<PARAM NAME=&quot;MOVIE&quot; VALUE=&quot;flsh1.swi&quot;>
<PARAM NAME=&quot;PLAY&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;LOOP&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;QUALITY&quot; VALUE=&quot;high&quot;>
<EMBED src=&quot;flsh1.swi&quot; loop=&quot;true&quot; quality=&quot;high&quot;  
WIDTH=351 HEIGHT=391 TYPE=&quot;application/x-shockwave-flash&quot; 
PLUGINSPAGE=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;>[/URL]
</EMBED>
</OBJECT>
<a href=&quot;f2.html&quot;><img src=&quot;beginblack.gif&quot; width=&quot;100&quot; height=&quot;60&quot; alt=&quot;&quot; border=&quot;0&quot; align=&quot;&quot;></a>
</CENTER>
</body>
</html>
 
Well for one it looks as though you need to chang flsh1.swi to flsh1.swf. even though it is a swish movie it still plays inside the flash player.
 
Hi FreshJava,
I tried that but it didn't change anything..
obtain
 
Never used Swish...So!

But why are so many users suddendly referring to the Flash 4 player?
codebase=&quot;
Why are your dimensions not the same in the <embed> and <object> tags?

A link we can check out ourselves?

Regards,
new.gif
 
Hi Oldnewbie,
I used the Coffecup Html editor to insert it and it used flash 4,that's how come I have it that way.
Sorry abt the different dimesions..oversight..i've corrected it though i still have a blank page.
link: babza.150m.com/f1.html

Current corrected source code:
Code:
html>
<head>
  <title>Flash Animation1</title>
</head>
<BODY BGCOLOR=&quot;#000000&quot; TEXT=&quot;#99ff99&quot; >
<CENTER><OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0&quot;[/URL] ID=Untitled WIDTH=351 HEIGHT=391>
<PARAM NAME=&quot;MOVIE&quot; VALUE=&quot;flsh1.swi&quot;>
<PARAM NAME=&quot;PLAY&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;LOOP&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;QUALITY&quot; VALUE=&quot;high&quot;>
<EMBED src=&quot;flsh1.swi&quot; loop=&quot;true&quot; quality=&quot;high&quot;  
WIDTH=351 HEIGHT=391 TYPE=&quot;application/x-shockwave-flash&quot; 
PLUGINSPAGE=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;>[/URL]
</EMBED>
</OBJECT><br>
<a href=&quot;f2.html&quot;><img src=&quot;beginblack.gif&quot; width=&quot;100&quot; height=&quot;60&quot; alt=&quot;&quot; border=&quot;0&quot; align=&quot;&quot;></a>
</CENTER>
</body>
</html>
 
Is there anything I should have done in Swish short of simply saving it after creation?

Thanks all!
obtain
 
As I said, never used Swish, but it seems you can't embed the .swi file, in FrontPage at least, so it must be the same in any other html editor.

According to this...
...Guess you would need to export your file from Swish in the .swf format (if that's possible! - must be!), and then embed the .swf. It might even be necessary to have the .swi on the server also, although it's not directly used when playing it through the Flash player!

Hope this helps!
new.gif
 
Hi oldnewbie,
That's exactly what i have done now.I have both .swi and a .swf(which is a resaved version of the.swi-saved it in Swish as .swf)..but i didn't go through what you just suggested FreshJava, so I'll go back and resave it that way and try it out.

Thanks for your help!
obtain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top