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