views:

127

answers:

2

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

A: 

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.

debu
+1  A: 

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 ;-)

Amarghosh