Skip to main content
Inspiring
October 25, 2012
Question

Error #1503 with AIR3.4 but not AIR3.2

  • October 25, 2012
  • 1 reply
  • 779 views

I'm working on an Android/iOS app using Adobe AIR. The app appears to work normally both inside Flash Pro and real devices except for the following test:

  1. Do Publish Preview inside Flash Pro.
  2. Close the preview window.

The error appears in the Output panel:

Error: Error #1503: A script failed to exit after 30 seconds and was terminated.

     at [*code location is a for loop inside writeExternal() of a class saved to a Shared Object*]

Test Movie terminated.

This happens with AIR3.4, but not AIR3.2. It doesn't matter how soon I close the preview window. I did a lot of code checking, tracing, etc. but still can't figure out what's wrong. Any suggestions?

This topic has been closed for replies.

1 reply

Legend
November 2, 2012

Most obvious suggestion is an infinite loop due to a null variable. Check the condition for the loop to continue and that will give you an idea what is causing it.

Though, why that would be an issue between SDKs is beyond me without seeing the code. (And possibly even then...)

G