03-05-2012 12:17 AM
I am desperately trying to get this problem fixed as it's a make or break situation for my prototype.
I've created a sample eBook using Adobe InDesign, and I tried exporting it as a SWF file to load in my flex mobile project, but the performance on the playbook is very slow and lags a lot, and I can't get any additional functinality to work such as page transitions, zoom, search, etc.
I've uploaded a link to a sample project that has the code for the view that loads the PDF using Stageview.. please anyone if you can help me then I would greatly apprecaite it.
This is about 4 months of work and will be a big problem if I cant get the PDF to load.
Thanks in advance
Please see link to project:
Solved! Go to Solution.
03-05-2012 01:08 AM
03-05-2012 07:02 AM
Thanks for your reply Peter.
Loading the PDF in the Adobe Reader app is not an option for me as the user will be prompted to another application and I want to view the PDF within my app.
Do you have any links that describe how to write your own PDF viewer in flex mobile?
I am just picking up flex on the go, so all I'll appreciate anything I can get.
Thanks once again
03-05-2012 08:18 AM
03-05-2012 08:26 AM
03-05-2012 10:45 AM
03-05-2012 10:52 AM
Ah, QNXStageWebView. Following this link: http://renaun.com/blog/2010/12/using-playbooks-qnx
03-05-2012 11:24 AM
Thanks a lot for al the advice and clarifcations
The reason I can't export as HTML is that InDesign basically converts the document into JPG and all the interactivity is lost in the HTML file (multimedia content, pictures.. etc). The entire format is also mixed up and the results are really bad.
The only decent html version is when I export as SWF file, it also generates an HTML file which is in the corrent format. But I think that's just the SWF file playing in the HTML browser.
The SWF file also loads in the Flex project, but the only issue I have is with page transition (it lags a lot!!)
And in this case, I will not be able to use any of my functionality (page navigation, zoom, search, etc)
So I am still confused now as to which direction I should adopt...
I can't use the PDF format, and the only html version I can use is the one that is exported along with the SWF File.. but if I use this format I am not sure how I can pass java script to the SWF file (not sure if it even recognizes JS)....