我目前有一个 C++ 客户端,可以播放 SWF、AVI、BIK 等
它使用 DirectX9 渲染图形
我目前需要动态 SWF 文件,该文件将从 BlazeDS 服务器检索数据,并根据检索到的数据将某些文本放置在某些位置 根据
我所读到的内容,BlazeDS 与 Adobe Flex 和 Adobe 进行对话AIR 应用程序
这是否意味着我必须将当前的 C++ 客户端转换为 Flex 应用程序
抱歉,如果这看起来是一个愚蠢的问题,我只是在尝试弄清楚 Blaze 和 Flex 以及 Air 是如何组合在一起时遇到困难
I currently have a c++ client which can play SWF, AVI, BIK etc
It uses DirectX9 to render the graphics
I currently have a requirement for dynamic SWF files, which would retrieve data from a BlazeDS server and put certain text in certain places depending on the retrieved data
From what I have read, BlazeDS talks to Adobe Flex and Adobe AIR applications
Would that mean I would have to convert my current c++ client into a Flex application
Sorry if this seems like a stupid question, I'm just having trouble trying to figure out how Blaze and Flex and Air all fit together
发布评论
评论(1)
有点不清楚你在问什么,所以让我来破解一下:
假设你有一个想要与 BlazeDS 通信的 C++ 运行时,你可以编写 AMF 协议。
该协议本身是开源的,甚至可能已经有它的 C++ 实现。
根据您的问题,我假设渲染 SWF 的客户端不是 Flash 播放器。如果是这种情况,将您的 C++ 应用程序切换到 Flex 不会给您带来任何好处,因为 Flex 本身不知道如何处理 AMF —— 序列化过程是由 Flash 播放器而不是 Flex 框架处理的。
It's a litte unclear what you're asking, so let me have a crack:
Assuming that you have a c++ runtime that you want to communicate with BlazeDS, you could write a c++ implementation of the AMF protocol.
The protocol itself is open source, and there may even be c++ implementations of it out there already.
I assume from your question that the client that is rendering the SWF is not the flash player. If this is the case, switching your c++ app to Flex won't win you anything, as Flex itself doesn't know how to handle AMF -- the serialization process is handled by the flash player, rather than the flex framework.