Jump to content

Problem In Using Swfobject Generator


san_crazy
 Share

Recommended Posts

Hi friends,I have downloaded swfobject generator 2.1 today and having some problem using this.suppose I have the flash movie(one which I want to embed in webpage) inside a directory<root directory>/external/css/flash_movie.swfthen what should be the value of base parameter in <object> tag.

Link to comment
Share on other sites

Adobe says you should merely modify their example for best results. See the article...http://kb.adobe.com/selfservice/viewConten...ernalId=tn_4150Here is their example.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"WIDTH="550" HEIGHT="400" id="myMovieName"><PARAM NAME=movie VALUE="myFlashMovie.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>

Link to comment
Share on other sites

Since <embed> is deprecated was never part of the HTML specification to begin with, I recommend this way:

<object type="application/x-shockwave-flash" data="file.swf" style="width: 500px; height: 440px;"><param name="movie" value="file.swf">You need Flash Player installed to run this application</object>

Edited by Ingolme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...