Você está na página 1de 2

FLASH PAGE FLIP DOCUMENTATION (Pro-PHP Version) www.FlashPageFlip.com ////////////////////////////////////////////////// INSTALLATION AND STARTING TO WORK --------------------------------1.Edit Config.

php file in the "/Pro-Php Version" folder. You can open Config.php with Notepad or another text editor software. 2.Upload all files (except for "Source" folder) to your web directory. 3.Create database of your publication via SQL file (magazine.sql) with PHP MyAdm in, Navicat or SQL-Front softwares. 4.Go to and login "yourdomain.com/yourpublication/admin" via your web browser (d efault password is "fpfadmin"). 5.Add your categories and publications from administrator panel (you can refer t o the sample publication in administrator panel). ALERTS -----* "Pages" folder must be writable for upload page files. * Most servers have a 1MB limit on each upload, check your servers config for de tails. If you try to upload larger files than you are allowed, you will get erro rs. PAGE ONVISIBLE -------------Place functions called onVisible and onInvisible in your page SWFs. function onVisible() { trace("Just turned to this page!"); } function onInvisible() { trace("Just left this page!"); } GO TO PAGE NUMBER ----------------To use the links on pages, please refer to the sample file (02.fla) in the "/Sou rce" folder. Place following code in your buttons actions. on(rollOver, dragOver){ _root.canflip=false; // flipping disabled } on(rollOut, dragOut, releaseOutside){ _root.canflip=true; // flipping enabled } on(release){ _root.canflip=true; // flipping active _root.gotoPage(8,true); // go to page (8 is page number, true is directl y go to page number, use false for flipping animation) } USE LINKS

--------To use the links on pages, please refer to the sample file (11.fla) in the "/Sou rce" folder. Place following code in your buttons actions. on(rollOver, dragOver){ _root.canflip=false; // flipping disabled } on(rollOut, dragOut, releaseOutside){ _root.canflip=true; // flipping enabled } on(release){ _root.canflip=true; // flipping enabled getURL("http://www.google.com", target="_blank"); // open link in new wi ndow } USE ANIMATIONS -------------To use the animations on pages, please refer to the sample file (09.fla) in the "/Source" folder. USE VIDEO --------To include video, please refer to the sample file (07.fla) in the "/Source" fold er. The video doesn't have to be embedded on the timeline as I've shown (dynamic ally loading an FLV or SWF would work fine too) but the key is that the video CA N'T start on the first frame. This WILL cause problems. I'd recommend using th e onVisible and onInvisible functions mentioned above to control the video playb ack. CHANGE LANGUAGE --------------To change the language of flash page flip, please edit to Lang.txt file in the " txt" folder. SUPPORT ------support@flashpageflip.com

Você também pode gostar