使用 PDF 文件的 Flex/Flash Flipbook

发布于 2025-01-02 05:32:38 字数 154 浏览 1 评论 0原文

我想在 Flex/Flash 中创建 Flipbook。通常它是通过 XML 创建的,并且 XML 具有一些图像或 swf 列表,它作为活动簿中的页面加载。但我想直接从 PDF 文件创建此功能。开发人员只需提供 PDF 文件名/路径,翻页书就会自动生成。

你能帮我做同样的事吗?

I want to create Flipbook in flex/Flash. Normally its created via XML and XML has some image or swf list it is loading as page in flipbook. But I want to create this functionality directly from the PDF file. Just developer need to give only PDF file name/path flip book will generate automatically.

Can you help me for the same?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

路弥 2025-01-09 05:32:38

PDF 文件的处理通常非常复杂,不断扩展的功能集使得为 as3 编写一个可以加载和显示任意 PDF 文件的库实际上是不可行的。

大多数翻页书应用程序执行此操作的方式是在服务器端或使用复杂的 PDF 渲染引擎在创作环境中将 pdf 页面渲染为图像(或在某些情况下为具有矢量特征的图像)。然后,图像由 Flash/Flex 应用程序加载并显示,仅将翻页书的交互部分留给客户端。

PDF files are generally very complex to work with, the ever-expanding set of features makes it practically infeasible to write a library for as3 that would load and display any arbitrary PDF file.

The way most flipbook applications go about this is to render the pdf pages to images (or in some cases images with vector features) server-side or in an author environment using sophisticated PDF rendering engines. The images are then loaded and displayed by the Flash/Flex application leaving only the interaction part of the flip book to the client-side.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文