Creating an automated page-turn tecnique in Flash

Hi,
I am wanting to create a flash movie that uses a page turning technique, similar to http://www.yokohama.com.au (with the nice 3D look, pages curl on mouse-over).

It would also be good if the pages would turn automatically every 5 seconds if the user wasn't clicking/mousing over the flash.

I have seen a few tutorials on how to accomplish a more basic version of this > http://www.actionscripts.org/showMovie.php?id=459 but they don't have the same nice effect as the one on the Yokohama site.


Any ideas how to do accomplish this?

Thanks in advance
mkofahlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

julianopolitoCommented:
Sorry , but I could not find the page turning swf you've mencioned in yokohama site. Have a direct link so I can see exactly the kind of effect you expect?
0
mkofahlAuthor Commented:
Ok, sorry.

The main image at the top is the flash. If you mouse over the corners, they'll lift up slightly. I know it's not very obvious, that's why I thought it would be good to have the pages turn automatically, too.

Here's a direct link to the flash > http://www.yokohama.com.au/swf/banner_home.swf


0
julianopolitoCommented:
have you tried using this component?

http://www.pageflip.hu/

This is pretty good, and you do not have to reinvent the wheels....
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

julianopolitoCommented:
and for the timed page turns just create a simple timer function to call next page every 5 seconds.
0
julianopolitoCommented:
I was taking a look at the code for the component I sent you the link and remembered there is a startAutoFlip method, which starts auto turning the pages. Example:

startAutoFlip(5);

will auto turn pages each 5 seconds.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mkofahlAuthor Commented:
Great! That's prefect...

Do you know how to make it disable the autoflip when the mouse is over/dragging the page?
At the moment, if it tries to autoflip while your mousing over a page corner, it plays the page noise and then stops working? Does this make sense?

Any ideas?


Thanks for the reply.
0
julianopolitoCommented:
you can use the variabl "canflip" i think
0
mkofahlAuthor Commented:
Do you mean create a variable so that "canflip" is set to false when mouseover the page corners?

I'm not sure how to do this.
Any ideas?
0
julianopolitoCommented:
sorry, my mistake, I think I wrote something I did before, not something that exists in flexbook by default. You could prevent mousing over the book.

book.addEventListener(MouseEvent.MOUSE_OVER,preventOver);

function preventOver(e:MouseEvent):void{
      e.preventDefault();
}


see if that helps. I'll think of options.
0
julianopolitoCommented:
sorry I posted in the wrong place . here is your answer:

canflip = false

in the same place you put the

startAutoFlip(5);



0
mkofahlAuthor Commented:
Sorry for the late reply.

I tried the canflip, but it disables the auto-pageturn totally. Whereas I only want it to be disabled when mousing-over the corners... (I never tried book.addEventListener where was I meant to put this?)

I understand this isn't part of my original question, so I will award the 300 points if you cannot help further, but if we can get this last bit working, i'll up it to 500 points.

Thanks again
0
julianopolitoCommented:
Hi . Please desconsider the book.addEventListener , I was answering another question about page flips, for flex, and just went to the wrong post. I'll take a look to see If I can get you a solution for this.
0
mkofahlAuthor Commented:
Are you able to work this last bit out for 500pts?

If not, no problens- I'll give you the 300pts.

thanks
0
julianopolitoCommented:
hi. I can try to look that for you , but these days I'm really busy, and my time is a little short. if you are not in a hurry....

thanks
0
mkofahlAuthor Commented:
Sure thing.
Next week or two would be great.


I keep getting these emails from EE saying "you have open questions" but I guess I just have to ignore them :p

0
mkofahlAuthor Commented:
Thanks for your help with solving this issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.