Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Thanked 0 Times in 0 Posts

    Show Corner Of A Page

    Hi All,

    I want to achieve a similar affect to the attached file, but not so complicated... All I want to have is when the user rolls over the top right hand corner of the page it peels back slightly, then I'm just going to get them to click and the page will slide open as opposed to flipping... If anyone could give me some advice on how to do this that would be great! It could definitely be done using the attached file but I'm not sure which part of the code to use...

    Thanks in advance!
    Attached Files Attached Files

  • #2
    Regular Coder
    Join Date
    Sep 2006
    Thanked 2 Times in 2 Posts
    make an animation of the page corner folding over or whatever you want, convert this to a movieclip. add it to the stage, go to properties and give it an instance name of "pageFold" then add the following code to the frame on the timeline that the movieclip is in (DO NOT ADD IT TO THE MOVIECLIP):

    MovieClip.prototype.hitMe = function() {
    if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
    } else {

    pageFold.onEnterFrame = function(){


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts