AS3 中的 Flash 翻页卷曲效果
我正在开发一个项目,需要使用 flash 开发翻页(卷曲)效果,如下例所示: http://www.actionscript.org/showMovie.php?id=459
我发现了很多示例,所有这些示例都使用 AS1.0/2。
由于我想为我的项目在 AS 3.0 中进行一些程序扩展,请问有人知道 AS3 flash 翻页效果的示例、导师或产品吗?
事实上,我找到了一个名为 megazine3 的免费插件(http://www.megazine3.de/home.html )来做到这一点,但它的源文件太复杂,我无法编辑和添加功能,所以有人知道任何其他方法来做到这一点吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Ruben Swieringa 有一个非常棒的开源 Flex 项目: http://www.rubenswieringa.com /code/as3/flex/Book/
它具有许多功能,如透明页面、硬封面、页面撕裂等。它使用位图转换来进行实际的翻转。
它基于一些我现在找不到的在线教程,上次我检查它是在两三年前。它的引擎要简单得多,并且使用遮罩而不是位图进行翻转。但这也允许您嵌入交互式内容(锚点、链接到其他页面、音频/视频、动画等)。我不在线托管代码,但如果您有兴趣,也许我可以分享它。
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.
为什么不采用基本的翻页 AS2 引擎并将其重写为 AS3 来满足您的要求?页面翻转代码(fla内)在这里找到 http://pageflip.hu/pageflip2/pageflip_v225_source.php 清晰且评论良好。
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.