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

error in compile

Explorer ,
Nov 26, 2011 Nov 26, 2011

Copy link to clipboard

Copied

Hello,

I have a flash application built in flash cs5 and action script 3.0. When i try to compile it, it returns error.

, Line 15005: Unknown error optimizing byte code.

or

ReferenceError: Error #1065: Variable UIProperties_icon is not defined.

I have converted this to air android application. Now i am getting one of these message every time when i compile or try to make apk file.

Somebody please suggest a solution for this.

Thanks----------Amit

TOPICS
ActionScript

Views

1.1K

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

correct answers 1 Correct answer

Explorer , Nov 29, 2011 Nov 29, 2011

Hi,

Thanks Dmenneoh, I am able to generate the file after following change.

D:\Program Files\Adobe\Adobe Flash CS5\Common\First Run\ActionScript 3.0\jvm.ini file I have set -Xmx128m to -Xmx1024m.

This compile the file.

Thanks --- Amit

Votes

Translate

Translate
Guest
Nov 27, 2011 Nov 27, 2011

Copy link to clipboard

Copied

It seems this error is mostly due to large files... which doesn't really fit in with making an Android app. Is your file really large? From what I read you can try deleting aso files (control menu > delete ASO files). Otherwise you can try turning off the optimizer also - publish settings - flash tab - uncheck compress movie.

You can find out some more on this by Googling 'as3 5005 error'

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
Explorer ,
Nov 29, 2011 Nov 29, 2011

Copy link to clipboard

Copied

Hello Dmenneoh,

Thanks for your response.

I have tried with both the options and tried on google but did not any solution for the problem. My fla file is of 2 mb and it is using lots of components.

Thanks-----------------Amit

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
Explorer ,
Nov 29, 2011 Nov 29, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Thanks Dmenneoh, I am able to generate the file after following change.

D:\Program Files\Adobe\Adobe Flash CS5\Common\First Run\ActionScript 3.0\jvm.ini file I have set -Xmx128m to -Xmx1024m.

This compile the file.

Thanks --- Amit

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