Website Templates

Google news
All the best bits, every day on Direct Traffic News

IT Support
Dramatically Reduce Your IT Costs. Microsoft Server support, Micorsoft PC support. Century Computing will offer a free IT consultation survey.

Home arrow Help documents arrow Embed flash file to database site
Embed flash file to database site
Embedding(inserting) flash onto your data base site.

There is no difference embedding flash onto a database site, blog site,or any regular website.
The most important part you need to be concerned about is the path,the location of the html/php page where the swf is embedded.

  1. You should always start from the location of the page in which you want to embed the swf(flash file), it's usually the index page or header page of your template or theme design.
  2. The location of your flash file is on your server.
    If you're not exactly sure where these two items are, most likely you will fail to embed your flash file.

For an example
Lets put a flash header on a joomla content management site with the template design called "personal003"

Please take a look the screenshot

content management

design for content management

joomla root folder joomla template folder

On the joomla root folder there is a folder called "template", this is the folder where you upload your template design.
For this tutorial I put the swf inside "personal3" folder.

Open the index page for the template which is located at
template >personal 003>index.php
This is the index page where you will embed the flash/swf file.
You will embed the below code

Let's take a closer look
On the second screen shot, your header.swf is resided at the same folder as your index.php
Many people will assume the movie parameter value should be
<param name="movie" value="header.swf" />
instead of
<param name="movie" value="templates/personal003/header.swf" />

This is the most common mistake people make.
In most database sites, content managements, or blogging sites the real index page is resided on the root folder/public html unless you decide to install on a diffrent directory.

So before you embed any flash file or swf on your database driven site make sure you know where your index page or your header page is located.

If you want to put a flash file on wordpress
you will need to open index.php or header.php ( depending on the theme), the location of the index page for theme

  • wp-content / themes / design name / index.php

Please take a look, the only parameter diffrent is the location of the header relation to the wordpress index page

From these 2 applications we can tell embedding a flash file on a database site can be a bit tricky, because each software file structure is diffrent. Make sure you use the right path!