Skip to main content
Known Participant
August 29, 2011
Question

Redraw issues when compile for Air

  • August 29, 2011
  • 1 reply
  • 455 views
This is about redraw issues which occur in Flash, when I try to compile a file in Air 2.6. The initial files were built in inDesign CS5.5, saved as a FLA, and opened in Flash CS5.5.

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

This topic has been closed for replies.

1 reply

chris.campbell
Legend
August 29, 2011

Hi e,

Is this something that just started occuring against the AIR 2.7.1 runtime?  Would you mind adding this as a new bug over at bugbase.adobe.com?  Please include any sample swf's to help us reproduce exactly what you're seeing.

Thanks,

Chris

em2744Author
Known Participant
August 30, 2011

I fixed it. it was not the code. it was the use of text. This time  when exporting to an FLA from indesign, I  turned the TLF text to pixels, and now it compiles  fine. I isolated the problem by dismantling each item in the indesign  spread, and seeing when the problem occured. once I removed the type, it  had no issues. I was using hanging indents. Maybe that was the issue.  All I know is once I turned off the TLF text option, there are no  problems.It is sad to lose that feature. but at least it works, and I  would rather have my type look well formatted with hanging intents, and  correct kearning, even if i have to rasterize it first.

geez. that was fun.

chris.campbell
Legend
August 31, 2011

Thanks for letting us know how you worked around the issue.  It does sound like this should have worked, if you'd like, we'd be happy to follow up if you submit a bug report with the code that was broken.

Thanks,

Chris