Flash Flip Page curl effect in AS3

喜你入骨 提交于 2019-12-07 20:58:53

问题


I am working on a project which needs to develop a flip-page (curl) effect using flash like the below example: http://www.actionscript.org/showMovie.php?id=459

I found many example which all of those are using AS1.0/2.

As I want some program extension in AS 3.0 for my project, does anyone know any example, tutor or product on AS3 flash flip page effects?

Indeed, I have found a free-plugin called megazine3 (http://www.megazine3.de/home.html) to do that, but its source file is too complicated which I can't edit and add features on it, so may anyone know any other way to do that?


回答1:


There's an awesome open source Flex project by Ruben Swieringa: http://www.rubenswieringa.com/code/as3/flex/Book/

It has many features like transparent pages, hard covers, page tearing etc. It uses bitmap transformations to do the actual flipping.

It is based on some online tutorial which I can't find now, last time I checked it was like 2 or 3 years ago. It's is much simpler engine and uses masks instead of bitmaps for flipping. But this also allows you to embed interactive content (anchors, linking to other pages, audio/video, animations etc.). I don't host the code online but if you're interested maybe I can share it.




回答2:


Why not to take basic page-flip AS2 engine and rewrite it to AS3 to meet your requirements? Page flip code (inside fla) found here http://pageflip.hu/pageflip2/pageflip_v225_source.php is clear and well commented.



来源:https://stackoverflow.com/questions/6463143/flash-flip-page-curl-effect-in-as3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!