Skip to main content
Participant
May 8, 2011
공지사항

NativeApplication.nativeApplication.systemIdleMode

  • May 8, 2011
  • 1 답변
  • 1715 조회

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!

이 주제는 답변이 닫혔습니다.

1 답변

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