Skip to main content
Participant
December 11, 2015
Question

Errors when updating AIR SDK in Flash Pro CS6

  • December 11, 2015
  • 2 replies
  • 439 views

So I've been developing an app in AIR 3.4 (I know... so old right?) for quite some time now and still cant update to even 20 because of this. I've downloaded the latest SDK and linked it with the CS6 menu: Help>Manage AIR SDK. Of course then I select the "publish target" to AIR v20. Then when I compile, I get a whole bunch of runtime errors from my code referring the stage (ie: stage.stageHeight)... This is killing me!!

Error #1009: Cannot access a property or method of a null object reference.

at Main()

TypeError: Error #1009: Cannot access a property or method of a null object reference.

  at Main/startOrientationChange()

Line 255 in Main.as: stage.autoOrients = true;

Line 1991 in Main.as: stage.addEventListener(Event.RESIZE, orientationChanged);

And a blank app with what looks like the default Preloader SWF...

Any help is appreciated!

-Nick

This topic has been closed for replies.

2 replies

Participant
December 16, 2015

So nobody knows what's wrong?... i find that hard to believe.

Participant
December 14, 2015

Anybody?....