Skip to main content
Participant
May 8, 2011
Question

NativeApplication.nativeApplication.systemIdleMode

  • May 8, 2011
  • 1 reply
  • 1709 views

When I use:

NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;

I get:

Scene 1, Layer 'Layer 1', Frame 1, Line 1 1120: Access of undefined property NativeApplication.

Scene 1, Layer 'Layer 1', Frame 1, Line 1 1120: Access of undefined property SystemIdleMode.

Where is the problem?

Thank you!

This topic has been closed for replies.

1 reply

Participant
December 18, 2014

import following

import flash.desktop.NativeApplication;

import flash.desktop.SystemIdleMode;

Participant
January 22, 2015

I'm using Air 13.0 and when I go to import either of those, they're missing from the package.

The only classes that appear in flash.desktop are related to Clipboard.

Any idea why they wouldn't be there?

User Unknow
Legend
January 22, 2015

1) Do you use Flash Professional or not? Give full app version please

2) Update your AIR SDK from this page http://labs.adobe.com/downloads/air.html