View Full Version : Show Corner Of A Page

09-23-2006, 12:09 PM
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!

09-26-2006, 10:23 AM
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(){