[quoted text, click to view] > could u guys suggest me some site where i can find booklet flip sample . i have found some sample work here, but i dont know how to do it . here is the sample work
>
http://www.actionscripts.org/showMovie.php?id=459 >
There is not much to do for you , just some library modification.
The file is the easiest you will find if you seek good quality page turn.
Rest will be more time consuming to build , usually frame by frame animation
not actually turn using actionscript.
I check that file carefully and with all due respect , the scripting is neat but
the download source is hell of a mess , especially for new user.
So here , please download filet version and follow instruction on how to modify it :
http://www.flashfugitive.com/fd/page.swf download
http://www.flashfugitive.com/fd/page.fla Now please, pay attention because I won't be able to help you much more . I have lots of work to follow up today.
If you open the file , you will see black square on stage , right click it - EDIT IN PLACE
Click on the first frame and hit F9 to enter frame action . Now , there is nothing for you to add beside two
thing only . Scroll down the action editor and look for my comments lines near the bottom , line 220 and 232.
You will find :
var pageWi = 300;
var PageHi = 300;
which define the pages size , than you will find :
var maxPages = 6;
which define the number of pages the book going to have.
Remember that book cover and the back , you must ALWAYS use even numbers . 2,4,6,8,10 etc...
Now , close the action editor , go back to stage or simply Shift F2 and click on the SCENE.
It will take you back to stage.
Now the book pages.
Open library CTRL L , you will find print1/print2/print3/print4..... etc...
Each movie clip represent one page, must be as many movie clips as you define pages.
The sample I uploaded uses var maxPages = 6; that's why we have 6 movie clips.
If you happen to add page , make sure you give it linkage name , right click any of the movie clips
and go to linkage , you will notice they all have it . If you add new page , right click - linkage , check the
Export for ActionScript and give it ID name , make sure it follow the naming convention , print(number)
Last thing is position of the pages. If you open library CTRL L , pick any of the pages and right click - EDIT
You will notice the page is position exactly at the center point. To Center something properly open the
ALIGN panel option , CTRL K , press the button TOP STAGE and from the top ALIGN buttons click the Align Horizontal
Center and second button from the second set of button next to it ,Align Vertical Center.
Than to make sure the pages are exactly the same size as in action script , CTRL ALT I and you will see the W and H
of the image .
Pretty much it ,
have fun
Regards
urami_*
<lsym>
There's no place like 127.0.0.1