Premium Flash Template
Version 1.0 User Guide
Website
WebsiteWebsite
Website
http://www.flashden.net/user/lydian?ref=lydian
2
Premium Flash Template v1.0 http://www.flashden.net/user/lydian?ref=lydian
DESCRIPTION
DESCRIPTIONDESCRIPTION
DESCRIPTION
The Premium Flash Template
Premium Flash TemplatePremium Flash Template
Premium Flash Template is a fully configurable and easy to use web template with a lot of
great features. You can create attractive functional pages just with a few mouse clicks. The
Premium Flash Template
Premium Flash TemplatePremium Flash Template
Premium Flash Template supports deep linking, which means that you can link to any specific
part of the website. Deep linking also lets you use the browser’s back and forward buttons. You
don’t need to download any other 3
rd
party frameworks to achieve deep linking. It’s built-in and
ready to use. It works even for the gallery photos, try it out for yourself and see.
The Premium Flash Template
Premium Flash Template Premium Flash Template
Premium Flash Template has 6
66
6
different page modules and each can be reused multiple
times. These modules are;
Banner Page
Standart Page
News Page
Portfolio Page
Photo Gallery Page
Contact Page
FEATURES AT A GLANCE
FEATURES AT A GLANCEFEATURES AT A GLANCE
FEATURES AT A GLANCE
Allows you to use the same modules multiple times. No duplication needed. Everything
is managed through XML files.
Fully supports deep linking (No external framework needed)
Has an easy to use integrated photo gallery. (Can be used several times under different
menus)
Manage pages through XML, create hidden pages and share your deep links.
Includes rotating news line component in the main page to announce the latest news.
Includes an mp3 player with a real equalizer.
Compact file size (187kb for the whole website)
Allows you to use the external background files.
Smart page caching system.
Comes with a single SWF file (You don’t need to maintain multiple SWF files)
Has 6 different modules (Banner page, standart page, photo gallery, news page,
portfolio page, contact page)
You can load external SWF files.
Has a PHP based dynamic contact form.
Developed using the latest flash technology AS3.
No timeline code is used so you don’t have to spend hours to find the code in the
timeline. There are fully commented external AS3 class files.
Change content, colors, etc through XML.
Comes with a help file covering each topic in detail.
3
Premium Flash Template v1.0 http://www.flashden.net/user/lydian?ref=lydian
GETTING STARTED
GETTING STARTEDGETTING STARTED
GETTING STARTED
This website template will only work on a web server. You might have problems if you
try to run it locally. This is a must for all deep linking templates.
HOW TO CHANGE THE TEMPLATE LOGO?
HOW TO CHANGE THE TEMPLATE LOGO?HOW TO CHANGE THE TEMPLATE LOGO?
HOW TO CHANGE THE TEMPLATE LOGO?
• Copy your logo to the images
imagesimages
images directory.
• Open config.xml
config.xmlconfig.xml
config.xml file with your favorite text editor. (You can find this file under the xml
xmlxml
xml
directory)
• Find logoURL
logoURLlogoURL
logoURL parameter and enter the url
urlurl
url of your logo. (Such as “images/mylogo.png”)
• Save the file and exit.
HOW TO CHANGE THE MP3 FILE?
HOW TO CHANGE THE MP3 FILE?HOW TO CHANGE THE MP3 FILE?
HOW TO CHANGE THE MP3 FILE?
• Copy your mp3 file to the mp3
mp3mp3
mp3 directory.
• Open config.xml
config.xmlconfig.xml
config.xml file with your favorite text editor. (You can find this file under xml
xmlxml
xml
folder)
• Find mp3URL
mp3URLmp3URL
mp3URL parameter and enter the url of your mp3. (Such as “mp3/mysong.mp3”)
• Save the file and exit.
HOW TO MANAGE MENU ITEMS AND PAGES?
HOW TO MANAGE MENU ITEMS AND PAGES?HOW TO MANAGE MENU ITEMS AND PAGES?
HOW TO MANAGE MENU ITEMS AND PAGES?
• You need to edit main.xml
main.xmlmain.xml
main.xml to create new menu items.
• You can find main.xml
main.xmlmain.xml
main.xml under the xml
xmlxml
xml directory.
• Open it with your favorite text editor and add/remove xml nodes.
• Each menu item represents a new page in the template.
• Every menu item starts with a <content>
<content><content>
<content> tag.
• Each menu item should have UNIQUE names. (Keep this in mind not to have problems)
• See the XML structure below to understand how menu items work.
<?xml version="1.0" encoding="utf-8"?>
<main>
<content name="HOME" type="BannerPage" xml="xml/homepage.xml" showInMainMenu="true"/>
<content name="PHOTOGRAPHS" type="PhotoGallery" xml="xml/gallery.xml" showInMainMenu="true"/>
<content name="NEWS" type="NewsPage" xml="xml/news.xml" showInMainMenu="true"/>
<content name="PORTFOLIO" type="PortfolioPage" xml="xml/portfolio.xml" showInMainMenu="true"/>
<content name="ABOUT US" type="StandartPage" xml="xml/about.xml" showInMainMenu="true"/>
<content name="EXTERNAL SWF" type="SWF" link="images/sample.swf" showInMainMenu="true"/>
<content name="CONTACT" type="ContactPage" xml="xml/contact.xml" showInMainMenu="true"/>
<content name="BLOG" type="Link" link="http://www.myblog.com" showInMainMenu="true" target="_blank"/>
<content name="HIDDEN CONTENT" type="StandartPage" xml="xml/mypage.xml" showInMainMenu="false"/>
</main>
4
Premium Flash Template v1.0 http://www.flashden.net/user/lydian?ref=lydian
A list of available attribut
A list of available attributA list of available attribut
A list of available attributes and their meanings:
es and their meanings:es and their meanings:
es and their meanings:
name
namename
name
Enter the name of the menu i
tem as you want it to
appear on the menu.
type
typetype
type
Type of the
menu item. (See available menu item types
below.)
xml
xmlxml
xml
URL of the XML file for the
menu item
.
(This is not
necessary for the SWF
SWFSWF
SWF and Link
LinkLink
Link type)
showInMainMenu
showInMainMenushowInMainMenu
showInMainMenu
Indicates whether this menu item is shown in the main
menu or not. If you set this parameter to “false
falsefalse
false” it won’t
be shown in the main menu. You can reach a hidden page
by using the following address structure;
http://www.youraddress.com/#/menu_item_name
link
linklink
link
This attribute is only used for outgoing links and external
swf files. It should hold the URL of the swf file or the
address of the website that you want link to. The website
address should start with http://
http://http://
http://
target
targettarget
target
Target browser window to launch the given URL. You
should only use this if your menu item type is a L
LL
Link
inkink
ink.
Possible values are _blank
_blank_blank
_blank and _self.
_self._self.
_self.
Note:
Note:Note:
Note: Each menu item name should be unique. Using the same name for different menu items
might cause linking problems.
What are the available
What are the available What are the available
What are the available menu item
menu itemmenu item
menu item
types?
types?types?
types?
• BannerPage :
BannerPage : BannerPage :
BannerPage : A banner page consists of the following elements; a body text on the left
side of the page and a banner rotator on the right side of the page. It should generally be
used as the main page, however, you can use it for any other purpose. See the HOME
HOMEHOME
HOME
menu item in the sample template for a working example. Each banner page should have
its own XML file. See How to create a banner page? section for further information.
• StandartPage :
StandartPage : StandartPage :
StandartPage :
A standart page consists of the following elements; a body text on the
left side of the page and a small content picture on the right side of the page. It can be
used as a text holder. See the ABOUT
ABOUTABOUT
ABOUT menu item in the sample template for a working
example. Each standart page should have its own XML file. See how to create a standart
page? section for further information.
• PhotoGallery :
PhotoGallery : PhotoGallery :
PhotoGallery : You can use the PhotoGallery
PhotoGalleryPhotoGallery
PhotoGallery type to create a fully functional photo
gallery page. See the PHOTOGRAPHS
PHOTOGRAPHSPHOTOGRAPHS
PHOTOGRAPHS menu item in the sample template for a working
example. See how to create a photo gallery? section for further information.
5
Premium Flash Template v1.0 http://www.flashden.net/user/lydian?ref=lydian
• NewsPage :
NewsPage :NewsPage :
NewsPage :
A news page includes the latest news that you announce. It can be used to
list your articles or news. See NEWS menu item in the sample template for live example.
See how to create a news page section for more information.
• PortfolioPage :
PortfolioPage :PortfolioPage :
PortfolioPage :
A portfolio page includes a scrolling horizontal menu to display its
content. You can use it to create a portfolio page or a team members page etc. See
PORTFOLIO menu item in the sample template for a working example. See how to create
a portfolio page section for more information.
• Contact Page :
Contact Page :Contact Page :
Contact Page :
You can create contact pages to let your users send e-mails to your
mailbox. See CONTACT menu item in the sample template for a working example. See
how to create a contact page section for more information.
• SWF:
SWF:SWF:
SWF:
A menu item with this type will load the swf file in the link attribute to the content
holder.
• Link:
Link:Link:
Link:
A menu item with this type will open the given link. You can use this type to give
external links such as blog etc.
HOW TO CREATE A HIDDEN PAGE?
HOW TO CREATE A HIDDEN PAGE?HOW TO CREATE A HIDDEN PAGE?
HOW TO CREATE A HIDDEN PAGE?
You should set the showInMainMenu
showInMainMenushowInMainMenu
showInMainMenu parameter to “false
falsefalse
false” when creating a new menu
item.
HOW TO CREATE A BANNER PAGE
HOW TO CREATE A BANNER PAGEHOW TO CREATE A BANNER PAGE
HOW TO CREATE A BANNER PAGE?
??
?
Please follow these steps to create a banner page;
• Go to the xml
xmlxml
xml directory and create an empty text file with “xml” extension. Such
as mybannerpagename.xml
• Open this file with your favorite text editor.
• Use the XML structure below to create your banner page.
• You should use the name of the XML file that you created here, in main.xml.
Create a new menu item node with this xml file and your menu item type should
be a BannerPage
BannerPageBannerPage
BannerPage.
Note :
Note :Note :
Note :You can always use the existing XML file to create a new page easily.