Login | Register | FAQ
Anonymous

How do I put a SWF file in a web page?

+ Post a reply

3 posts Page 1 of 1


How do I put a SWF file in a web page?

by dexterrocksthehouse » Tue Apr 12, 2011 1:33 am

Hello, everyone. My name is dexterrocksthehouse, and I'm not new. I've been using this website for a year, but I haven't signed up until now.
And I've been wondering,
How do I put a SWF file in a web page?
I recently made a game in Game Maker and converted it to SWF. I want my visitors to be able to play it. How would I put this on my website?
It would be very helpful if you could tell me.
User avatar

dexterrocksthehouse

  • Posts: 5
  • Joined: Tue Apr 12, 2011 1:25 am

Re: How do I put a SWF file in a web page?

by HTML.net » Tue Apr 12, 2011 8:08 am

Hello dexterrocksthehouser,

Welcome as registered user :)

You can embed a SWF file in your HTML file like this:

<object width="300" height="300">
<param name="movie" value="flashmovie.swf">
<embed src="flashmovie.swf" width="300" height="300">
</embed>
</object>

- Andreas, HTML.net
User avatar

HTML.net
Site Admin

  • Posts: 1186
  • Joined: Sat Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: How do I put a SWF file in a web page?

by dexterrocksthehouse » Tue Apr 12, 2011 8:50 pm

HTML.net wrote:Hello dexterrocksthehouser,

Welcome as registered user :)

You can embed a SWF file in your HTML file like this:

<object width="300" height="300">
<param name="movie" value="flashmovie.swf">
<embed src="flashmovie.swf" width="300" height="300">
</embed>
</object>

- Andreas, HTML.net


Thank you so much! I've always wanted to do that! ;D
User avatar

dexterrocksthehouse

  • Posts: 5
  • Joined: Tue Apr 12, 2011 1:25 am


+ Post a reply

Page 1 of 1