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

ASC 2.0 Compiler warnings about not found definitions in SWCs?

New Here ,
Mar 13, 2013 Mar 13, 2013

Copy link to clipboard

Copied

Since using the AIR SDK 3.6 with ASC 2.0 when I try to compile one of my Flash for web projects it gives me plenty of compiler warnings about AS3 API that is compiled in additional SWCs which is part of the AIR supported API but not supported in the Flash Player. The former compiler didn't have any trouble with this. How can I disable these warnings?

Here's an excerpt of the 100s of warnings:

   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.display.NativeWindowSystemChrome depended on by com.hexagonstar.update.descriptors.ApplicationDescriptor in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.filesystem.File depended on by com.hexagonstar.update.descriptors.StateDescriptor in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.display.NativeWindowType depended on by com.hexagonstar.update.ui.UpdateUIWrapper in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.display.NativeWindowSystemChrome depended on by com.hexagonstar.update.ui.UpdateUIWrapper in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.desktop.NativeApplication depended on by com.hexagonstar.update.ui.UpdateUIWrapper in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.display.NativeWindow depended on by com.hexagonstar.update.ui.UpdateUIWrapper in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.display.NativeWindowInitOptions depended on by com.hexagonstar.update.ui.UpdateUIWrapper in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.filesystem.File depended on by com.hexagonstar.update.core.UpdaterState in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.filesystem.File depended on by com.hexagonstar.update.utils.FileUtils in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.filesystem.FileMode depended on by com.hexagonstar.update.utils.FileUtils in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found
   [mxmlc] E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc
   [mxmlc] Warning: The definition flash.filesystem.FileStream depended on by com.hexagonstar.update.utils.FileUtils in the SWC E:\Projects\Eclipse\com.hexagonstar.libs.tetragon\libs\swc\appupdater.swc could not be found

Views

997

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
Community Beginner ,
Mar 10, 2015 Mar 10, 2015

Copy link to clipboard

Copied

LATEST

Check your compc configuration for building your appupdater.swc.  Where it includes framework libraries, if it is using compiler.external-library-path, try using compiler.library-path instead.  This worked for me, though I may have a slightly different use case.

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