Forums → Programming Forum → Using SWF Files for Website
- 6 Replies
Hi, I am sixth grader who is making a website with a bunch of games that I like on it. Keep in mind that I'm not using a website maker and I'm actually programing. I use Google App Engine for hosting. Anyways I'm wondering what the SWF files Armorgames provides are for. May I use them on my website? If so can someone show me how to embed swf files into html? Thank you for your time and thank you to whoever can help me.
Thank you sir, but whenever i link to my swf file it never shows up when i deploy my website, the page is white and there is nothing on it (there should be a game). When i look at the page source it says that the requested url for my file was not found for my server but I'm sure i linked it correctly, - thanks again.
the swf file must be in the same directory as the html file
Sorry but does the same directory mean in the same area? So do you mean my html file has to be in the same folder as the swf file? Also when I open my html files the flash game does open, but when i go on my website it doesn't load. Can you tell me why? Thank you.
yes it needs to be in the same folder, but if it doesn't work. Depending on your hosting site you might need to find the url of the game that you uploaded then change the html to point to the url instead of loading locally
<embed src="http://url.swf" width="game width" height="game height">
I agree with weirdlike. Your SWF files must be in the same directory as the html file.
You must be logged in to post a reply!
We strive to deliver the best gaming experiences... on the internet and on your mobile phone. Play thousands of free online games, get access to free mmorpg games, online rpg games, fun online flash games, and more.
We offer free flash games in many different genres: online shooting games, online puzzle games, online war games, free online car games, free online hidden object games and dozens more.
This is the best place on the web to play online games for free... play on Armor Games! No matter what game style you prefer, we've got it here.
Gaming websites, passionate bloggers, and quirky streamers are welcome to share or review our games. If you need game keys, art, trailers, screenshots or more check out our press kit website.
Game developer? Visit developers.armorgames.com to request AG developer status, find documentation on our APIs, and get access to our development environment. Let's make sweet, sweet games together.
Looking for a publishing partner that can help your app rocket to success? Contact the mobile team to learn more about how we can help!