Thank you for purchasing our file.
If you have upgraded to version 1.2.6 from a previous version, please take a look at the XML file. The structure is a little different.
Table of Contents:
-
Included - a list of all the essential files and folders along with a short description for each one.
- How to use and modify the file:
- Start up
- Background
- Top navigation
- Alert messages
- Contact form
- Tell a friend
- Slide show
- Music
- Copyright footer
- Arrows
- Pre loading
- Website title
- XML path
- PDF generator
- Flip Book settings:
- Basic setup
- Alerts
- Shadows
- Music
- Table of content
- Thumbnails
- Adding and removing pages
- Good to know:
- XML structure
- Recompiling your file
- Using swiss as pages
- Embedding special characters
- Content pages
Included:
-
org - the folder containing the set of classes called AlivePDF used to generate PDF files from the Flip Book
-
preview.fla - the main file including the Flip Book and all the user interfaces
-
index.html - the wrapper HTML file
-
setup.xml - an XML file that lets you setup your Flip Books and all their features
-
fonts - a folder containing the MyriadPro.swf file for the fonts that are used in the content page of the book
-
pageContent.css - a CSS file for the styles used on the content page of the book
-
logo.jpg - a massiveProCreation logo used on the content page to preview the loading of the images
- video - a folder with the videos used in the preview and source files
- asual - a folder containing a set of classes called SWFAddress required for deep linking to work
- greensock - a folder containing TweenMax, the tweening engine used for this item
- massiveProCreation - a sub folder of com, containing:
-
events - a folder containing the CustomEvents class used to call custom events
-
FlipBook.as - a class containing Flip Book's engine and is the necessary class for Flip Book to work
-
MainAS.as - a class containing all the UI events that also loads the background, sound and the Flip Book
- sound - a folder containing the SoundControl.as class to control sound in the Flip Book
- ui - a folder containing all the user interface classes:
-
AddPage.as - holds the button used in the printer feature ("Add to print")
-
Alert.as - used to display the alerts on the screen
-
BookTitle.as - allows the display of the book title above each cover in the category panel
ChooseBook.as - holds the graphic button displayed in all of the scroll panels (shows all pages, printer, and categories)-
Contact.as - holds the contact form along with its engine and social icons
-
ControlPanel.as - setups all the buttons for the upper navigation panel
-
Copyright.as - used to display the footer copyright
-
GoToPage.as - used to display the small go to page panel on the bottom left side of the book
-
PageContent.as - used to display the HTML formatted text content on the page
-
Scroll.as - allows the display of a small scroll bar used for slide show delay control and volume control
-
ScrollPanel.as - holds the engine of a scroll panel that displays the preview of all the pages in the book (used for showing all pages, printer, and categories)
-
TableOfContent.as - represents the table of content module implemented in the flip book
- ToolTip.as - used to display tool tips on the screen
- utils - contains three classes: the Reflect.as class that is used to create the reflection for each page in the preview, the XMLLoader.as class that allows loading of the XML file, and the VideoPlayer.as class that represents a simple Video Player component
flipbook - This folder contains the Flip Book classes, along with the UI classes: -
com - a folder containing all the classes necessary for this Flip Book to work:
-
pages - contains images and SWFs for the gallery
-
contact_parse.php - contains the php function sending the e-mail. Place this on your server to enable your contact form.
-
tell_parse.php - contains the php function sending the e-mail. Place this on your server to enable your tell a friend form.
-
create.php - used to generate PDFs for the book
Main Features:
-
XML driven:
- flip books assets (images & SWFs)
- background – image or solid color
- buttons and UI background colors and alpha
- width and height of each book. You can also set the width and height to 0 and then the Flip Book will be automatically scaled to fit the browser!
- bit map smoothing
- alpha of each shadow
- tool tips (enabled /disabled) and alert texts
- all texts
- table of contents
- specifies the URL for each page. Clicking that page redirects to the specific URL.
- contact form and social icons (enable/disable the icons)
- enable / disable double click to turn the page
- slides show (auto play)
- music (path to sound file and auto play), separate mp3 for each book (new)
- ability to disable each of the features from the upper navigation menu
-
multiple books (categories)
-
deep linking - Each page and book have its separate URL. Also, the back / next arrows in the browser work! (new)
-
setup one image to display on both pages. You don't have to crop it! (Just change one parameter in XML file.)
-
video support (FLV play back), livebox for video playback included (new)
-
content pag - Format your content from XML file with CSS!
-
page number
-
SWF resize (enable / disable) -The SWF will be sized to fit the page or will be centered on the page.
-
full screen option
-
zoom option - You can disable the zoom for each book separately. Also you can provide bigger images to be loaded when user zooms the page (new).
- double click to zoom (new)
- contact form with social icons
-
slide show with dynamic delay
-
drag function for each book's corners
-
full book preview - Easily go through all pages.
-
size to fit background - The background image will fit the screen to fill it.
-
improved see all pages panel with a scroll bar (new)
-
All of the control buttons in upper panel are XML driven PNGs (new).
-
SWF and image support
-
cool tool tips and alerts
-
unlimited pages and categories
-
selected pages
printing
-
downloading a flip book as a PDF option. You can prepare the PDF by your self and link it to the download PDF button or turn on the automatic PDF generation. That way the user can choose the pages to see in the PDF.
-
aesthetic transparent design
-
creative icons
- advanced shading
- smooth transitions and animations
-
classy pre loading
-
ActionScript 3.0
Detailed Features Overview:
Each feature can be disabled in the XML. For example, if the print option is not needed, you can easily disable it in the XML file.
-
Books/Categories – This feature is automatically enabled when there is more than one Flip Book. For each of the Flip Books there is a title filed which specifies the title of the book. The categories panel is scrollable so it can contain an unlimited number of books.
- View all pages – This feature enables the user to easily view all the pages that are in the Flip Book, allowing the user to choose any page for viewing.
-
Zoom – The zoom option enables the user to zoom the flip book. After zooming, the alert is displayed (text for the alert is XML driven).
-
Printer – The print option lets the user print selected pages. After clicking print the image from the Flip Book, the pages are sent to the printer.
-
Download PDF – The user can download Flip Book as a PDF (The PDF is driven from an URL so the PDF has to be prepared manually.)
-
Slideshow –The slides how has the dynamic speed control. Also, there is the ability to set it to auto play when the book starts.
-
Music – The sound controls are Stop/Pause (mp3 linked from URL) and dynamic volume control. Also there is an option to set the auto play of music.
-
Contact Form – Text and alert messages are easily set in the contact form. Also, you can disable or enable the social icons in the Contact Form. (This form uses PHP. It doesn't work on FlashDen server, but it will work on any other server.).
How to use and modify this file:
To modify the basic settings of this product, open the setup.xml file. There you can customize all of the application features. Remember to save the file after making changes; otherwise, you will not see any changes. The XML file is a setting file for the application, so any changes you make to the file will be reflected in the application. Upon opening, Flip Book reads the data inside the XML file and builds the application the way it is described in the XML file.In start tag you can specify the book to open first. If you choose none, the application will start from a "choose book" screen. If you have less than two books, the application will automatically start from displaying the only book.
<start book="none"/>
Background settings has 3 attributes:
<background src="background.jpg" type="image" resize="false"/>
-
src - Here you input the path to your background image or the hexadecimal color value for a solid background (0x000000 - for black)
-
type - You can choose between two types or background: image or solid.
-
resize - This attribute is a boolean value (true or false). It specifies if your background (only when you use image as a background) will be resized to fit the user's screen resolution or not.
The Control Panel section contains 11 different button settings. In the main buttons tag there is an attribute called toolTips. This is a boolean attribute which specifies if the tool tip should be shown after the user rolls over the button. Each of the buttons (books, page, printer, etc.) contains common attributes like:
-
toolTip - specifies text that will be displayed when user hovers the specific button
-
state - state attribute can be set to disabled or enabled. If you don't need some of the options, you can disable them. That way the buttons will not be shown in the upper bar and will not be available for use.
-
icon - specifies the path to the icon that will be displayed as a button
Button differences and attributes' descriptions:
-
books - This node doesn't have the state attribute like all the others because when there is one book, it will be automatically disabled. In addition, the books node has an attribute called description which specifies the text that will be displayed at the top of "Choose Book" panel.
-
pages - Contains two additional attributes: description and cancelText. Both of them define the text that will be displayed in the upper part of Show all pages panel.
-
printer - Contains 3 additional attributes : description, cancelText, and selectAll. All of those attributes specify the text that will be displayed on each of those buttons.
-
zoom - no additional attributes
-
PDF - Contains the same parameters as printer node.
-
tableOfContent - no additional parameters
-
contact - no additional parameters
-
Slideshow - no additional parameters.
-
full - no additional parameters
-
other - Represents the background color and background alpha for other buttons in this application. For example, when you go to the print panel, there is a Go Back button; or when you hover the "slide show" button, the scroll bar shows up to control its speed. The attributes of the other node specify the look of those buttons.
<buttons toolTips="enabled"> <books toolTip="Show books" description="Choose a book" icon="icons/books.png"/> <pages toolTip="Show all pages" description="Select page you wish to see" cancelText="Go back" state="enabled" icon="icons/pages.png"/> <printer toolTip="Print pages" description="Print your selection" cancelText="Go back" state="enabled" icon="icons/printer.png"/> <zoom toolTip="Zoom in" state="enabled" icon="icons/zoom.png"/> <pdf toolTip="Download pdf version" description="Generate PDF" cancelText="Go back" state="enabled" icon="icons/pdf.png"/> <tableOfContent toolTip="View table of content" state="enabled" icon="icons/toc.png"/> <contact toolTip="Contact me" state="enabled" icon="icons/contact.png"/> <slideshow toolTip="Start/Stop slideshow" state="enabled" icon="icons/slideshow.png"/> <music toolTip="Play/Stop music" state="enabled" icon="icons/sound.png"/> <full toolTip="Toggle full screen" state="enabled" icon="icons/full.png"/> <other bgColor="0xCCCCCC" bgAlpha="0.3"/> </buttons>
NOTE: The XML file must have a data tag at the beginning and /data at the end of the file. In other words all of the informations in the XML file must be wrapped in the data tags!
When you want an alert message, you need to look for the alert tag in the XML file. Each alert message can be edited from the XML as you can see in the following XML example. Each alert has two parameters:
-
delay - specifies how long the alert will be shown; time is represented in milliseconds (1000 = 1 second)
-
src - specifies text that will be shown on the screen, for example, "Printing started"
<printer> <alert delay="2000"> <started src="Printing started"/> <canceled src="Printing canceled"/> </alert> </printer> <zoom> <alert delay="2000"> <zoomIn src="Click the screen to zoom out"/> </alert> </zoom>
The contact section has many settings. At first it may look complicated, but it's really easy. The main contact tag contains two attributes:
-
email - Here you should input your e-mail address. The e-mail sent from your flip book will be sent to that e-mail.
-
url - specifies the URL the user will be redirected to after clicking the icon
-
target - Choose between two targets: _self - an URL will open in the same window or _blank - the URL will open in a new window. There is also a third one called _frame).
-
toolTip -specifies the message to display in the tool tip
-
state - As covered previously, the state (enabled/disabled) specifies if the icon will be shown.
-
title - This attribute specifies the title that is displayed at the top of contact form.
-
content - Below the title there is a place for a few lines of text where you can put your other contact info like telephone, address, etc.
-
name - first input field label
-
email - second input field label
-
message - third input field
label
-
send - right button
label
-
clear - left button label
<contact email="gajkuba@gmail.com" toolTips="enabled"> <icons> <twitter url="http://flashden.net/user/mpc" target="_blank" toolTip="Follow me on Twitter" state="enabled"/> <facebook url="http://flashden.net/user/mpc" target="_blank" toolTip="Follow me on Facebook" state="enabled"/> <website url="http://flashden.net/user/mpc" target="_blank" toolTip="Visit my blog" state="enabled"/> </icons> <text> <title src="Contact massiveProCreation"/> <content> <![CDATA[ email: xyz@xyz.xyz, phone: 111-222-333]]> </content> <name src="Name"/> <email src="Email"/> <message src="Message"/> <send src="Send"/> <clear src="Clear"/> </text> <alert delay="2000"> <name src="Please input your name"/> <email src="Please input your email"/> <emailError src="Your email address is wrong!"/> <message src="You haven't wrote any message"/> <send src="This option doesn't work in..."/> </alert> </contact>
Tell a friend is a useful feature that allows the user to send a page link to a friend. For example, if the user likes a whole page or only a single video in the book, it can be e-mailed to a friend. Also, the link will be automatically added to the message. Tell a friend settings are similar to those from the contact form. The main tellAFriend tag contains one attribute:
-
toolTip - As in any other module, it gives the ability to disable / enable tool tips for this section.
-
text - This node contains 6 sub nodes which define the info displayed in the tell a friend form:
- title - specifies the title that is displayed at the top of tell a friend form
- yourEmail - first input field label
- email - second input field label
- message - third input field label
- send - right button label
- clear - left button label
<tellAFriend toolTips="enabled"> <text> <title src="Send link to a friend"/> <yourEmail src="Your Email"/> <email src="Friends Email"/> <message src="Message"/> <send src="Send"/> <clear src="Clear"/> </text> <alert delay="2000"> <yourEmail src="Please input your email"/> <email src="Please input friends email"/> <emailError src="Your email address is wrong!"/> <message src="You haven't wrote any message"/> <send src="Your email was sent"/> </alert> </tellAFriend>
If you want to setup a slide show to auto play, find the slideshow tag that contains the autoplay attributes. This attribute is a true / false parameter that specifies if the slides should auto play.
<slideshow autoPlay="false"> <alert delay="2000"> <on src="Slideshow started"/> <off src="Slideshow stoped"/> </alert> </slideshow>
In the setup part of XML the music tag is for setting up the alert messages for music events.
<music> <alert delay="2000"> <on src="Loading please wait, music will start playing in a second."/> <off src="Music stoped"/> </alert> </music>If you want to know how to edit those settings, please see the Alert messages section. The most important settings are placed inside each flip book. Flipbook tags have a child tag called music. Each of those music tags contains 3 attributes:
-
src - specifies the path to the mp3 file that will be played
-
autoplay - a boolean value; specifies if the music will be auto played
-
loop - a boolean value; specifies if the music should be automatically looped when the song stops playing
The music settings are placed inside flipbook tags because then you are able to specify separate songs for each of the books.
<music src="sound.mp3" autoPlay="false" loop="true"/>
Copyright tag contains three attributes:
-
url - specifies what URL will be called after clicking on the footer
-
target - Choose between two targets: _self - an URL will be opened in the same window or _blank - the URL will be opened in new window. (There is also a third one called _frame.)
<copyrights src="Copyright (C) 2010, massiveProCreation" url="http://activeden.net/user/mpc?ref=mpc" target="_blank"/>
The last node in the setup tag is called other. There you will find an arrows tag that allows you to enable or disable the arrows that are shown on either sides of the flip book. Simply change the state attribute.
<other> <arrows state="enabled"/> </other>
You may want to change the information that is displayed under the pre loader while the application is loading. There are five messages that can be displayed. Four of them are set through XML in the preloading node and the fifth (for loading XML) is set in the index.html file in the flashvars section. The code is so clear it doesn't need any further explanation.
<preloading> <background src="LOADING BACKGROUND"/> <covers src="LOADING COVERS"/> <book src="LOADING BOOK"/> <photo src="LOADING BIGGER PHOTO"/> </preloading>
var flashvars = { xmlPath: 'setup.xml', preloaderMessage: 'LOADING XML', title: 'XML Flip Book / AS3 v 1.2' };
If you want to change the website title that is displayed in the upper browser bar, you need to open index.html, go to the flashvars section, and change the value of the title attribute.
var flashvars = { xmlPath: 'setup.xml', preloaderMessage: 'LOADING XML', title: 'XML Flip Book / AS3 v 1.2' };
If you want to change the path to the XML file (or name of the XML file), you need to open index.html, go to the flashvars section, and change the value of the xmlPath attribute. (The default name of XML file is setup.xml. It is placed in the main folder so we can just write "setup.xml")
var flashvars = { xmlPath: 'setup.xml', preloaderMessage: 'LOADING XML', title: 'XML Flip Book / AS3 v 1.2' };
You can either link the "Download pdf" button to the PDF file previously generated by you or give the user the ability to generate a PDF. that way the user can only include the pages that are interesting for them. Inside the PDF tag you will find setup and alert tags. The setup tag has 3 attributes:
-
method - If you set the method to "generate", then you will give the user the ability to generate a PDF. If you want to link this to a PDF created by you, set the value of this to "link".
- type - If you have chosen the generate method, here you specify the page dimensions for publishing the PDF. You can choose between A5, A4, or A3.
- url - If you have chosen the link method, specify the path to the PDF file in the attribute URL.
If you don't know how to setup the alert tag, please see the "Alert messages" section.
<pdf> <setup method="link" type="A5"/> <alert delay="2000"> <generate src="Please wait while pdf is generating, you will be prompted with a 'save us' window."/> </alert> </pdf>
NOTICE: Remember to compile your FLA file after applying changes inside the FLA file. You don't have to re-compile after making changes to the XML file! To re-compile your file, go to Control>Test Movie.
Flip Book settings:
If you haven't read the How to use and modify this file, section please do.
Setting up your Flip Books is the most important part because here you will setup the content of your book/books. Remember that each flipbook tag placed in in the XML will represent one book. For example, if you want to have only one book on your website, you need to remove the other two from XML. Each Flip Book has 15 basic parameters that need to be setup:
-
width - If you want your flip book to have static dimension, fill this field with a pixel value (for example, 700) that will be the width of your Flip Book. Remember that the value also includes the width of a border around the book. However, if you want your flip book to fit the browser size, (When the browser is resized, the book will also resize.) place '0' (zero) as a value for this attribute.
-
height - If you want your flip book to have static dimension, fill this field with a pixel value (for example, 500) that will be the height of your Flip Book. Remember that the value also includes the height of a border around the book. However, if you want your flip book to fit the browser size, (When the browser is resized, the book will be also resized) place '0' (zero) as a value for this attribute.
-
proportion - This attribute only applies when you have chosen the resizable version of the book (width and height = 0). It specifies the proportion of the book; so for example when you enter 0.7, that means that the height will be equal to 0.7 of the book width. However, when you choose to use a static size for the book (for example, 700 x 500), you can leave this attribute blank.
-
border - a pixel value that specifies the thickness of the border around the book
-
middleBorder - a pixel value that specifies the thickness of the border (line) between the pages
-
borderColor - the hexadecimal value that specifies the color of the border
- borderAlpha - a 0 - 1 value which specifies the alpha (transparency) of the border
-
pdf - If you have chosen to generate a PDF version of your book by yourself for users to download, here is where you place the link to the PDF. However, if you want the PDF to be automatically generated or you have disabled the PDF functionality from your application, you can leave this blank.
-
title - represents the title of your book to be displayed in the URL and on the "choose book" screen if you have more then one book
-
bitmapSmoothing - a boolean value that specifies if the bit map smoothing is enabled or disabled (default setting is true). If you want to know more about bitmapSmoothing read this.
-
doubleClick - a boolean value that specifies if a user is able to turn the page by double clicking on its corner
-
resizeSwf - a boolean value that specifies if the SWF file will be resized to fill the page
-
resizeContent - a boolean value that specifies if the content page will be resized to fill the full size of a page
-
resizeTableOfContent - a boolean value that specifies if the table of content will be resized to fill the full size of a pag.
-
zoom - a boolean value that specifies if the zoom functionality is enabled for the book. If you want zoom to work, be sure to also enable it in the buttons settings at the beginning of the setup.xml.
<flipbook width="700" height="500" proportion="0" boarder="5" middleBoarder="0.5" boarderColor="0x000000" boarderAlpha="1" pdf="http://www.google.com/pdf_version.pdf" title="Features Book" bitmapSmoothing="true" doubleClick="true" resizeSwf="true" resizeContent="false" resizeTableOfContent="false" zoom="false"> <!-- Here goes the content of a book --> </flipbook>
Next in the flipboook tag there are Alerts settings. If you want to setup the alert messages displayed by the Flip Book, go to the alert node; and there you will find six different messages. If you need more information about setting up the Alerts, read this section.
<alert> <loadingNext src="Please wait while the new page loads."/> <loading src="Please wait while the page loads."/> <pageNumber src="There are only 18 pages"/> <video> <enlarge src="Double Click to enlarge the video"/> <close src="Double Click to close the video"/> <preloading src="LOADING VIDEO"/> </video> </alert>
There are 4 shadows in the flip book. Each has its alpha value (0 - 1) represented by the src attribute in each node. If you don't know which shadow is which, you can look them up on the above image. If you want to disable some of the shadows, set the chosen shadow's value to 0.
<shadows> <inner src="1"/> <curveGlow src="1"/> <pageShadow src="1"/> <innerPageShadow src="1"/> </shadows>
Each flip book has its own sound settings. The music tag contains 3 attributes:
-
src - path to the sound file
-
autoPlay - boolean value; if set to true, the sound file will start to play by itself
-
loop - boolean value; if set to true, the sound file will be looped at the end
<music src="sound.mp3" autoPlay="false" loop="true"/>
TableOfContent node has only one attribute called number. This attribute specifies the page to display as the table of contents. Clicking the table of contents button in the upper UI will redirect the user to this page.
<tableOfContent number="2"/>
The thumbnails node specifies the border parameters of the displayed small page previews. (for example, in the "show all pages" panel) The Border node contains two attributes:
-
thickness - specifies the thickness of the border around each thumbnail (in pixels)
-
color - specifies the color of the boarder (hexadecimal)
<thumbnails> <boarder thickness="5" color="0x111111"/> </thumbnails>
The most important part of customizing your book is adding and removing pages. Each page is represented by a page node. Each page node has a number of attributes. (Remember that the number of pages has to be even and that you need to have at least 4 pages - covers + two pages in the middle.) You can use different file formats as pages: graphic formats (JPG, PNG, ECT) and SWF files.
-
src - Each page needs to have this attribute specified. It describes the page source - the path to the page file (image or SWF).
-
type - This attribute specifies the page type. There are four types of pages. If you want a standard single page, you can leave this attribute blank or don't include it at all:
- double - If you choose double, your page will be interpreted as double which mean that the image applied in the src attribute will be displayed on both pages. This is a great way to display landscape photos. You don't have to crop the photo and edit them. You can simply embed them into FlipBbook with a line of code. (You can only use images as double pages).
- video - If you choose this page type, it will display a video file (flv format). The video player will be automatically added to the page. When video type is applied, one more attribute need specifying. This is called videoSrc. This attribute specifies the path to the video file that will be displayed on the page. Also if you want to make sure your video will display correctly please specify three more attributes duration - video length in seconds, width - the width of the video (in pixels), height - height of the video (in pixels). Why it is important to specify those items? Because sometimes the flv files are not properly endoded and this may couse a video player error.
- table - If you have chosen this page type, it will be used as the Table of contents for the book. Pages of this type needs a few more attributes:
-
bgColor - specifies the color of the table of content button (hexadecimal)
-
bgAlpha - specifies the alpha of the table of content button (0 - 1)
-
textColor - specifies the text color of the table of content button (hexadecimal)
-
src - specifies the text that will be displayed on the button
-
number - specifies the page number that the user will see after clicking the button
- content - This type of page displays HTML formatted text. If you want to display some text on the page, you don't have to make those pages in Photoshop (or other graphic program). You can simply select an image and add the text in the XML file. This type of page needs two some additional attributes:
-
width - specifies the width of your text field
- height - specifies the height of your text field
Text that you would like to display has to be embedded inside the page tags (see example below) and also inside the < ![CDATA[ TEXT GOES HERE ]] > (remove the spaces from the opening and closing tags).
<page src="pages/cover.jpg" /> <page src="pages/table1.jpg"/> <page src="pages/table2.jpg" type="table" bgColor="0xCCCCCC" bgAlpha="0.3" textColor="0x000000"> <list src="Table of Content"/> <list src="Cover" number="1"/> <list src="Content page" number="4"/> <list src="Video support" number="6"/> <list src="Amaizing Features" number="8"/> <list src="Page Printing" number="10"/> <list src="Great Design" number="12"/> <list src="Swf support" number="14"/> <list src="XML Driven" number="16"/> <list src="Back Cover" number="18"/> </page> <page src="pages/content1.jpg"/> <page src="pages/content2.jpg" type="content" width="300" height="400"> <![CDATA[<img src="logo.png" align="left" /> <p>Welcome this is page with XML Driven content. <b>With deeplinking every page has it's own unique url so you can easily <a href="http://mpcreation.pl/flipbook/update1.2/#/Book%201/12"> link to any spread you want!</a> <font color="#00FF00"> (new feature)</font></b> To format the text you can use bacis html tags like: <li><font size="13">Font size,</font></li> <li><font color="#00FF00">Font color,</font></li> <li><b>Bold,</b></li> <li><i>Italic,</i></li> <li><u>Underline,</u></li> <li>Image,</li> <li>Link: view my <a href="http://activeden.net/user/mpc?ref=mpc"> ActiveDen profile.</a></li> </li></p>]]> </page> <page src="pages/video1.jpg"/> <page src="pages/video2.jpg" type="video" videoSrc="videos/zanimotion.flv"/> <page src="pages/2_3.jpg" type="double" /> <page src="pages/4_5.jpg" type="double"/> <page src="pages/6_7.jpg" type="double"/> <page src="pages/8.jpg"/> <page src="pages/9.swf"/> <page src="pages/10_11.jpg" type="double"/> <page src="pages/bcover.jpg" /> </flipbook>
Good to know
The XML file requires a data tag at the beginning and a /data tag at the end file's end. In other words all the information in the XML file has to be wrapped in the data tags.
Remember to compile your FLA file after you apply any changes inside that file. You don't have to recompile after you have done any changes to the XML file! To compile your file go to Control>Test Movie.
If you have trouble with the position of your SWF files, make sure that they have a background. It can be transparent. For example, if your SWF has 300x200 pixels and it doesn't position right on the page, open the source of your SWF, create a movie clip with 300x200 color fill, set its alpha to 0, and place it at 0,0 point so the movie clip covers the whole stage. Make sure your movie clip is on the lowest layer so it doesn't cover any of your active objects. Also make sure that your SWF is ActionScript 3.0 and publish with Flash Player 9.0+. Additionally, it is better when nothing goes off stage in your SWF.
First, open the preview.fla file with Flash IDE. Then open the library panel (Window>Library) form. There you have to choose the movie clip in which you want to display the special characters. For example, if you want to do this for the Content Page module, you have to find the contentPage movie clip and double click it. Inside, you will find a Text Field. Select the Text Field and then choose "characters embedding..." from the properties panel. The embedding panel will pop up. Specify the characters to embed, and then click OK. When you finish embedding your characters, re-compile the file by clicking ctrl/cmd+enter. If you need more information, please watch this video tutorial.
Make sure that your page content is between < ![CDATA[ tag and ]] >. If you want the text to be displayed properly, make sure your text is also inside the < p > and < / p > tag. See the example (remove the spaces from the tags).