AS3: Possible to read ppt file?

拥有回忆 提交于 2019-12-10 11:57:54

问题


Is it possible to get the content of a ppt file with as3? Possibliy similar to loading and reading an xml?


回答1:


Technically speaking, yes. You can load a PPT file to your SWF using a URLLoader whose dataFormat is set to URLLoaderDataFormat.BINARY and write code to parse it based on the PPT binary file format released by Microsoft. In practice, I'd say that's not going to be an easy task.

Consider open sourcing your ActionScript API for parsing PPT once you're done with it ;-)




回答2:


There's certainly no quick solution, like the XML and XMLList classes for XML, and so whilst it may be possible in theory if you write your own classes to read in the no-doubt far more complex PPT format, in practice it isn't.



来源:https://stackoverflow.com/questions/2880406/as3-possible-to-read-ppt-file

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