1 person found this helpful
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'
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 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