flex 3 场景截图
我想拍摄 Flex 场景的快照并将其保存为图像。它喜欢打印屏幕按钮并将其粘贴到绘画并保存,
会有一个按钮将其保存到桌面,按下它时,flex会将场景的屏幕截图保存到桌面,我在网上搜索但找不到工作代码
i want to snapshot of the flex scene and save it as a image. It likes printscreen button and paste it to paint and save
there will a button save it to desktop and when pressed it, flex will save the screenshot of scene to the desktop, i searched on the net but couldn't find a working code
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来有一种方法可以做到这一点,但它需要一些服务器端工作。基本上,数据被发送到服务器,服务器保存它。
由于您希望用户获得屏幕截图,因此您可能想要做的是在服务器上创建文件,然后让它打开一个网页,他们可以在其中下载并保存它。
更多信息在这里 http://www.boyzoid.com/blog/index.cfm/2007/9/17/Doing-screenshots-in-Flex-and-sending-them-to-ColdFusion
It looks like there is a way to do it, but it requires some serverside work. Basically the data is sent to the server and the server saves it.
What you would probably want to do since you want the user to have the screenshot is create the files on the server then have it open a web page where they can download and save it.
more information is here http://www.boyzoid.com/blog/index.cfm/2007/9/17/Doing-screenshots-in-Flex-and-sending-them-to-ColdFusion