I'm making my first mobile application on Flash/AS3 for both iOS and Android platforms. It's been months now that I'm working on the project, and as a final step, I'm making a help document to explain to the fellow users how to use the application. The problem is: The HELP document is an 8 pages long WORD document (also saved in PDF and HTML format), and I dicovered that displaying a local document (embedded within the app), with finger-scrolling enabled, is a harder task than I thought it would be!!
So far, my researches lead to the following solutions (without a 100% satisfaction though):
I. USING StageWebView or StageWebViewBridge:
I tried StageWebViewBridge on AIR Desktop, it works, and the hyperlinks inside the document work too. But the display of some characters/letters in HTML file are distorted, and pictures are hard to display.. On android, displaying a local file simply didn't work. On AIR iOS, I haven't tried it yet.
Also, I haven't figured out how to launch a PDF file using these classes.
Displaying local files on iOS and Android using these classes is a nightmare.
II. USING "scrolling" classes:
These classes enables the finger-scrolling of a movieClip containing text and pictures.
a. Free
a1/ airmobile scroll controller: https://github.com/freshplanet/Air-Mobile-ScrollController
I gave this one a try, and what happenned was interesting: First this class works, I created a MovieClip with a textField inside of it, I pasted my text, and with the help of this class, I was able to display the movieClip on screen and scroll it. BUT, creating such a big movieClip (remember: 8 Pages!) created some unexpected issues. The compiling time became oddly long, and my PC freezes for a few seconds during the compiling step. The app starts now with a blank screen with 5 blinking tiny dots, and you'll have to wait for a few seconds before you can use the app. Clearly, the idea of adding to the project library a huge MovieClip with such long text made the app development a nightmare.
Not to mention that pasting my text inside a movieclip textField makes me lose my text formating, my hyperlinks etc..
a2/ Erichlotto AIRScroll:
I haven't tried it yet, but I guess I will still have the issues related to a hugely-dimensioned movieClip in my library.
a3/ TouchScrolling:
I haven't tried it yet, but I guess I will still have the issues related to a hugely-dimensioned movieClip in my library.
b. With Charge
b1. Creative FLash Scroller
I haven't tried it yet, but I guess I will still have the issues related to a hugely-dimensioned movieClip in my library.
b2. AIR AS3 Touch Scroll
I haven't tried it yet, but I guess I will still have the issues related to a hugely-dimensioned movieClip in my library.
It is somehow frustrating that such an easy and common task (displaying a scrollable local document, in-app embedded for offline use) took me a few days of research (and without a definitive way to solve it).
I'm ready to settle with a class that makes a movieclip scrollable, but without the gigantic movieClip height.
Any ideas?
Thank you!