Hi, I'm new to Flex/Flash/ActionScript, please don't get angry if my questions are too dumb.
I'm trying to create a flex application which displays slideshows with PDF/PPT files as the source, the PDF/PPT files are stored in a SQL database, and the application needs to run online.
Similar to these:
http://flexpaper.devaldi.com/http://www.slideshare.net/I'm searching for a simple solution. If it can be built using only flex then it's the best. But it doesn't seem to be that simple.
This is what I think that might work:
Every time the application requests for a slide, use a webmethod which runs a windows batch file, which will execute a 3rd party program (SWFTools) to convert PDF to SWF file which contains each page per frame (I don't know if there is a program which can convert both PDF and PPT to SWF, prolly I will have to convert PPT to PDF, then to SWF), this should be done on server-side. But I don't know how to grab that generated swf file and return as the webmethod's result. Then, when the webmethod returns the swf file, the flex application will display it in a mx:SWFLoader component, and we can use "gotoAndStop()" method to change the current page.
Please tell me how to make it to work, or if there is a better solution.
Thanks for your time!