MyBB Community Forums

Full Version: How to add a swf file to my homepage?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm wanting to add a swf file to my homepage before you click to go to the forum.

I've really got no idea how to go about it.

I have my forum installed in a forum folder and i have a index.php file which is used for the home page so i need to add the cose here for the flash intro.

Could anyone tell me what to do and what code i need please?

A friend designed the flash intro for me and sent the swf file.

Thank you.
This is something that I'm not sure you could do with mybb, but you can still do it.
Install mybb to another directory like '/forums' or '/mybb'.
Then have the flash redirect to that directory at the end or when you click on a link in the video.
Rename your existing index.php to index2.php, then put your flash stuff in index.html
DennisTT Wrote:Rename your existing index.php to index2.php, then put your flash stuff in index.html

What code will i need i've do a few searches on here and can't really see what i need to put.

Thank you.
If you're looking for the code to put flash into HTML, look at this:
http://www.w3schools.com/flash/flash_inhtml.asp

Your new index.php can be just plain HTML (show the swf and a link to index2.php), you don't need any PHP