Redraw issues when compile for Air
I created a test file in inDesign to be used as an Air App, as I saw discussed and done on several videos on Adobe.tv. The file has 3 pages. The pages are pretty simple. Though there are some clipping paths and animation.
Here are the steps:
1.
I ported the filed to Flash, as a FLA.
2.
I opened the FLA in Flash, and added some more animation.
I added simple code so the file will go from frame to frame, (what were the pages in inDesisgn), on mouse click in the frame.
3.
If I complie it is Flash, it works.
4.
If I compile it in Air, which I want to do, when it gets to the last page, it starts to have redraw-issues.
When the user clicks on page/frame 3, (the last page), there is AS3 code, a gotoAndStop(), which normally takes the user back to frame 1. But in Air, the user gets to page one, but only sees page 3, thinking they are on page 3, as the redraw of page 1 never occurs. I tested this very carefully, by rebuilding the whole thing and removing every element and all code and starting over piece by piece to isolate the issue.
5.
The issue seems to be, if I remove all the pagespreads from inDesign, which the FLA transformed into "movieclips" in Flash, it works fine without redraw issues. If I add any of the pagespread movieclips to a frame in the Flash file, as they were when imported, the redraw issue occurs, but only when I compile in Air.
Have you heard of this before? I was wondering if there might be some settting in Air that is conflicting with the inDesign created pages which are now movieclips in Flash. I am hoping there is something that I can do to fix it, as I would like to continue to create the spreads in inDesign.
I am working on a PC in Windows Vista. I wondered if this was the issue as well. I can share the file if you want to see it, compiled in flash, and compiled in Air or the FLA.
Thanks very much,
e
