Click to See Complete Forum and Search --> : Question about Flash files
Dark Dragon
05-25-2003, 06:51 AM
Okay...I made a simple rollover button in Flash and exported it as a .swf file as I assume I should do...but how do I insert it into my web page?
I am using Dreamweaver and when I select "insert Flash Button" I get a set of pre-made buttons...if I try "Insert Image" then it won't work when in preview mode...I also tried one of the "Insert Media" things but it is not a movie.
So how do I insert my own rollover button then?
Thanks.
Dark Dragon
05-25-2003, 06:42 PM
Aww..c'mon....some of you are answering complex questions on JavaScript and CSS but no one knows the answer to this one?
Or is my question too stupid or beneath you guys to even answer?:p
Hey, BW. All right, below is the code. The parts in red are the parts that you need to change.
<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="129" height="85">
<PARAM name="movie" value="file.swf">
<PARAM name="quality" value="high">
<PARAM name="menu" value="true">
<EMBED src="file.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="129" height="85">
</EMBED>
</OBJECT>
Special note: The smiley face above should be replaced with a colon followed by a capital "D."
Dark Dragon
05-25-2003, 07:22 PM
My god Jona...I just want to know how to place my rollover swf button on my page using Dreamweaver....I am not placing a movie...it is a simple rollover button that will eventually link to another page...all I want to do is put it in my web page using dreamweaver but the menu for inserting rollover buttons only gives me options on pre-made buttons....
But I shall try this too...thanks Jona
That code works fine, though--for any Flash file. You can also just use this (but it's probably not completely valid HTML 4.01):
<object src="file.swf"></object>
<!--OR-->
<embed src="file.swf"></embed>
Dark Dragon
05-25-2003, 07:26 PM
Okay..I am gonna copy and paste your code into notepad so I can then compare the two to see what is going on then...thanks again Jona