Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: Page Flip Animation and Next Prev Button - AS2 option

Cow Forums : Adobe Flash
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Page Flip Animation and Next Prev Button - AS2 option
by Graham Quince on May 12, 2009 at 11:46:02 am

This is possible, but complicated. If you want to import your video into flash then have flash control the start and stop and page t jump to buttons, there's the main way to do it, but it will use up a lot of filesize.

1) Create a movie clip on your timeline.
2) Inside that movieclip, import your video to the stage. You should now get lots of keyframes.
3) Create a new layer, on the first frame put this code:

function Movement() {
if (this._currentframe > myframe){
prevFrame();
Movement();
}else if (this._currentframe < myframe){
nextFrame();
Movement();
}else{
stop();
}
}

4) On another new layer, create your buttons. and use this code:
on (Release){
myframe=20;
Movement();
}

5) Just make a note of each "opened page" frame number and use keyframes to change your buttons accordingly.

Graham


www.YouTube.com/ShiveringCactus - Free FX for amateur films


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]