X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
This article has been viewed 22,215 times.
Learn more...
If you want to make your own gaming website or offer a part of your website where you let your visitors play Flash games, then you need to know how to embed Flash games into your page.
Steps
-
1Prepare the URL of the SWF( Macromedia Flash Object) you want to be embedded. You can use SWF elements from any website that you find on the web.
- If you are confused about this part then make sure you read the Capture a Flash Object from a Web Site guide. Note that your URL must ends with .swf
-
2Edit the SWF code with the game and size that you need. Edit the X,Y and Z parameters in the code below:
- X - the width of the embedded player.
- Y - the height of the embedded player.
- Z - the URL of the swf element(game) that you got while completing the first step.
<object width="X" height="Y"> <param name="movie" value="Z"> <embed src="Z" width="X" height="Y"> </embed> </object>
-
3Review the result. Once you are done your code should look like the following:
<object width="600" height="400"> <param name="movie" value="http://www.yourlinkhere.com/gamename.swf"> <embed src="http://www.yourlinkhere.com/gamename.swf" width="600" height="400"> </embed> </object>
-
4Copy and paste the code into your webpage. Connect to your server using the file manager or any ftp software like FILEZILLA or FETCH SOFTWORKS and place the code at the page where you want the embedded player to appear. The Flash player should appear at your website on the place where you pasted the code.

-Step-13.webp)













-Step-13.webp)











































