FlippingBook
Premium Page Flip Component
Version 1-8-8
USER MANUAL
Introduction
Premium Page Flip is a component for Macromedia Flash MX, Flash MX 2004 and Flash 8, enabling
the creation of online/offline catalogues with real flipping effect. Using this Flash component, which is
approved by the Macromedia team, you can easily create, modify and integrate catalogues with your
Flash projects in no time at all.
Pages may also be represented by such external resources as interactive movies, images and library
symbols as well. All this allows efficient application of the component not only for creating online
applications but also for offline projects which are uploaded to CD or DVD media.
You can control the component using ActionScript and create even more powerful applications. You
can use XML to cofigure your component. This option allows updating your books without
recompiling your movies.
You don’t need to have advanced Flash or programming skills to use this component. No matter what
your qualification is this component will be your reliable tool to tackle a variety of tasks.
This user guide contains all the information required to create powerful and professional Flash
applications with flipping effect. Here you will find complete reference information on the component
parameters and API. You will learn how to create XML component configuration files and use them to
solve the most challenging tasks.
Contents
Introduction ..........................................................................................................................................2
Contents ................................................................................................................................................3
System Requirements...........................................................................................................................6
Component Installation........................................................................................................................7
Quick Start............................................................................................................................................. 8
Project Folder Preparation.................................................................................................................. 8
Creating SWF File..............................................................................................................................8
Component Settings.......................................................................................................................... 9
Using XML Settings File.................................................................................................................... 12
Component Parameters ...................................................................................................................... 14
Book Pages ........................................................................................................................................ 14
Scale Page Content............................................................................................................................. 15
First Page Number .............................................................................................................................. 15
Always Opened................................................................................................................................... 15
Autoflip Area Size................................................................................................................................ 15
Flip on Click........................................................................................................................................ 15
Static Shadows Depth.......................................................................................................................... 15
Dynamic Shadows Depth..................................................................................................................... 15
Page Moving Speed............................................................................................................................. 15
Page Closing Speed............................................................................................................................. 15
GotoPage Speed ................................................................................................................................. 15
Flip Sound.......................................................................................................................................... 16
Page Background Color........................................................................................................................ 16
Load Pages on Demand....................................................................................................................... 16
Cache Pages....................................................................................................................................... 16
External XML File ................................................................................................................................ 16
Cache Size.......................................................................................................................................... 16
Preloader Type ................................................................................................................................... 16
User Preloader ID ............................................................................................................................... 16
XML File Parameters ........................................................................................................................... 17
pages................................................................................................................................................. 18
width................................................................................................................................................. 18
height................................................................................................................................................ 18
scaleContent....................................................................................................................................... 18
firstPage ............................................................................................................................................ 18
alwaysOpened.................................................................................................................................... 19
autoFlip.............................................................................................................................................. 19
flipOnClick.......................................................................................................................................... 19
staticShadowsDepth............................................................................................................................ 19
dynamicShadowsDepth........................................................................................................................ 19
moveSpeed ........................................................................................................................................ 19
closeSpeed......................................................................................................................................... 19
gotoSpeed.......................................................................................................................................... 20
flipSound............................................................................................................................................ 20
pageBack ........................................................................................................................................... 20
loadOnDemand................................................................................................................................... 20
cachePages ........................................................................................................................................ 20
cacheSize........................................................................................................................................... 20
preloaderType .................................................................................................................................... 20
userPreloaderId.................................................................................................................................. 21
ActionScript API.................................................................................................................................. 22
Component Properties .................................................................................................................... 23
autoFlipProp................................................................................................................................... 23
flipOnClickProp................................................................................................................................ 23
moveSpeedProp.............................................................................................................................. 23
closeSpeedProp .............................................................................................................................. 23
gotoSpeedProp ............................................................................................................................... 23
alwaysOpenedProp.......................................................................................................................... 24
width ............................................................................................................................................. 24
height............................................................................................................................................ 24
totalPages...................................................................................................................................... 24
leftPageNumber.............................................................................................................................. 24
rightPageNumber............................................................................................................................ 25
enabledProp ................................................................................................................................... 25
progress......................................................................................................................................... 25
Component Methods ....................................................................................................................... 25
flipCorner....................................................................................................................................... 25
gotoPage........................................................................................................................................ 26
flipGotoPage................................................................................................................................... 26
directGotoPage ............................................................................................................................... 26
flipForward..................................................................................................................................... 26
flipBack.......................................................................................................................................... 26
setSize........................................................................................................................................... 27
getPageLink.................................................................................................................................... 27
isPageVisible................................................................................................................................... 27
isPageLoaded ................................................................................................................................. 27
getPageURL.................................................................................................................................... 27
getPageParams............................................................................................................................... 28
isLeftPage ...................................................................................................................................... 28
isRightPage .................................................................................................................................... 28
Component Events .......................................................................................................................... 28
onClick........................................................................................................................................... 28
onPutPage...................................................................................................................................... 29
onStartFlip...................................................................................................................................... 29
onFlipBack...................................................................................................................................... 29
onLastPage..................................................................................................................................... 29
onFirstPage .................................................................................................................................... 30
onEndGoto ..................................................................................................................................... 30
onPageLoad.................................................................................................................................... 30
onInit............................................................................................................................................. 30
onXMLComplete.............................................................................................................................. 30
Internal Page Events....................................................................................................................... 31
onInit............................................................................................................................................. 31
onOpen.......................................................................................................................................... 31
onClose.......................................................................................................................................... 31
Page Properties............................................................................................................................... 31
params........................................................................................................................................... 31
isExternal....................................................................................................................................... 32
book.............................................................................................................................................. 32
URL ............................................................................................................................................... 32
pageNumber................................................................................................................................... 32
loaded............................................................................................................................................ 32
visible ............................................................................................................................................ 33
width ............................................................................................................................................. 33
height............................................................................................................................................ 33
isLeftPage ...................................................................................................................................... 33
isRightPage .................................................................................................................................... 33
progress......................................................................................................................................... 33
How To?............................................................................................................................................... 35
Use Component API............................................................................................................................ 35
Set External XML File Parameter Using ActionScript................................................................................ 38
Set Page List using ActionScript............................................................................................................ 39
Make Custom Preloader....................................................................................................................... 41
Curl First Page Corner Automatically..................................................................................................... 45
Change Book Orientation to Portrait...................................................................................................... 46
Add Buttons/Links (Creating Table of Contents)..................................................................................... 47
Flip Pages Automatically...................................................................................................................... 48
Print Pages......................................................................................................................................... 49
Create Navigation Panel....................................................................................................................... 50
Use Pages from Movie Library.............................................................................................................. 51
Flippingbook component FAQ............................................................................................................. 53
General ............................................................................................................................................ 53
How does Flash Component differ from Flash Object?........................................................................ 53
What is the maximum size and number of pages?.............................................................................. 53
Can I use PDF files with your component/object?............................................................................... 53
Can I use sound and video on the pages?......................................................................................... 53
Can I use contents and links on pages?............................................................................................. 53
Is it possible to use XML files that are created on-the-fly with my PHP/ASP/CFM/…script? ..................... 53
Do I need to have a programming knowledge to be able to use your component?................................ 54
Purchasing....................................................................................................................................... 54
When and how can I get the component?......................................................................................... 54
Can I pay for my order using PayPal? ............................................................................................... 54
What do I get? What comes with the product? .................................................................................. 54
Compatibility................................................................................................................................... 54
Which Flash versions does your component support? ......................................................................... 54
Which Flash Player versions does your component support? ............................................................... 54
Troubleshooting .............................................................................................................................. 54
I receive an error notice when installing the MXP file.......................................................................... 54
My pictures fail to load. The paths are correct ................................................................................... 54
My images load, but with distorted colors.......................................................................................... 55
My SWF files load, but they are distorted .......................................................................................... 55
When flipping, texts on my pages disappear and then appear again.................................................... 55
Everything works when testing the movie in Flash, but the pages fail load on the site........................... 55
In Microsoft Internet Explorer I first need to click on the book to make it work..................................... 55
The buttons on my page do not work. Every time I press the button the page starts to flip................... 55
I try to call up the component methods, as detailed in your documentation, but nothing happens.......... 56
Licensing.......................................................................................................................................... 56
Do I have to purchase a separate license for each site/application/presentation, in which I use your
component?.................................................................................................................................... 56
Can I use your component to create offline applications and presentations?......................................... 56
Can I transfer the component to my work colleagues?........................................................................ 56
The client demands the FLA file from me, with the component. Can I give it to him?............................ 56
Can I use the component for commercial / free templates?................................................................. 56
Support & Updates.......................................................................................................................... 57
I am experiencing problems with your product .................................................................................. 57
Will I receive product updates? ........................................................................................................ 57
Component Package Contents............................................................................................................ 58
Support................................................................................................................................................ 59
Disclaimer and license agreement...................................................................................................... 60