• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Issues with ADL crashing with mouselock

New Here ,
Jun 08, 2012 Jun 08, 2012

Copy link to clipboard

Copied

I'm using the latest version of the Flex SDK downloaded form the Adobe Gaming site.

I've added the SDK to my build list and the IDE is recommending the AIR 3.3 / Flash 11.3 exclusive commands just fine.

However, if I include the "stage.mouseLock" call in a project I get the following error during debug:

Main Thread (Suspended: ReferenceError: Error #1056: Cannot create property mouseLock on flash.display.Stage.)

I have the Air 3.3 runtime Beta installed as well and have confirmed the instance of the ADL is the one found in my latest SDK file

I'm on Mac using an up to date copy of Flexbuilder 4.6

Any help would be awesome.

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2012 Jun 08, 2012

Copy link to clipboard

Copied

LATEST

UPDATE:

I added to following line to my compiler instructions and it seemed to fix the issue:

-locale en_US -swf-version=15

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines