Hi everyone, I'm new here and this is my 1st post but I can tell this is going to be a great forum to be associated with and can't wait to be involved more. I am a complete newbie and I'm wanting to install a swf file on my site but can't seem to crack it so I was wanting to ask if someone could so kindly take a look and possibly advise? Also... This is a game BTW. If you take a look at my site here: (masked so my URL does not show up here in the SERP's) http://goo.gl/KswLQ you'll see a section of code (which I really don't know what any of it means) that looks like this: Okay... Well the problem is that nothing is displaying on the webpage and I uploaded the file maxDirtBike1withoutMTEx.swf to my "Support Files" folder of my server but nothing except the big gaping hole shows up on my webpage... If anyone could provide some help or suggestions on this I'd certainly be appreciative. Thanks a bunch in advance
There's no problem with your code, you should put the flash file in a folder, ex: "index/", then put the folder in the same director with the html file, so replace "maxDirtBike1withoutMTEx.swf" with "index/maxDirtBike1withoutMTEx.swf". I did it (with your code): http://www.mediafire.com/download.php?ae4btt3xbncmkg5
index/ wouldn't be needed if the .swf file and the page that the code is on are both in the same folder (i.e. the index folder). But as nguyen said, your code is correct. Also, you said you're not sure what the code means. It's pretty simple, just check the tags on it. <object width: This is simply the width, in pixels, of the games display on your site. height: Same as above, except for height. <param name: This is the name of the parameter, which is movie. Most games take a "movie" param. value: conventionally this is exactly the same as the src name, or the name of the file on the server. <embed src: This tells the script where to find the actual file to display. the width and height are there in case the game isn't the same dimensions as your object, so that it stretches it to fit. Tags being preceded with a / (i.e. </embed>) simply stop that bit of code from happening anymore. It's like the last page of a chapter in a book, and the next page will start a new chapter, and won't have a /.
You may take a look at this step by step guide, it will teach you how to Embed the FLV/SWF to HTML page Hope it helps
It's just a piece of cake. Just check the path of the SWF if it is right, and check the SWF file on your web server if it is in the right directory.