|
TexasWebDevelopers -> RE: Flash Web Component (6/17/2008 9:27:08 PM)
|
First of all, the menu should have given you an active-x object/embed code to use, It might look something like this: <!-- URL's used in the movie--> <!-- text used in the movie--> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="400" id="yourfilename" ALIGN=""> <PARAM NAME=movie VALUE="yourfile.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="yourfile.swf" menu=false quality=high scale=exactfit bgcolor=#000000 WIDTH="550" HEIGHT="400" NAME="yourfilename" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> Simply upload your flash movie (the .swf file) and set your height, width, background color and all of your other variables in the code above. Then upload the code where you want the movie to appear. Now, the problem with this code is that it will cause a popup to appear in IE browsers that says "click to activate and use this control". We get around this by using a javascript to write the flash movie into a <div> tag. Instruction here: http://www.texaswebdevelopers.com/click-to-activate-and-use-this-control.asp
|
|
|
|