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 1 | 5005: 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
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
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'
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
Copy link to clipboard
Copied
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