<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 5005: Unknown error optimizing byte code</title>
	<atom:link href="http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/</link>
	<description>Flash, ActionScript and stuff...</description>
	<lastBuildDate>Sun, 25 Dec 2011 23:08:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: riderofkodo</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-36324</link>
		<dc:creator>riderofkodo</dc:creator>
		<pubDate>Sun, 14 Aug 2011 17:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-36324</guid>
		<description>I tried your two solutions, and the official solution too, but it didn&#039;t solved my problem. 

And as your information provided, I deleted some not required Library Path SWCs, and the Flash CS5 Pro stopped popping out this annoying error.

If you guys know why, i would like to know. And hope this would be another solution for someone else.</description>
		<content:encoded><![CDATA[<p>I tried your two solutions, and the official solution too, but it didn&#8217;t solved my problem. </p>
<p>And as your information provided, I deleted some not required Library Path SWCs, and the Flash CS5 Pro stopped popping out this annoying error.</p>
<p>If you guys know why, i would like to know. And hope this would be another solution for someone else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-35505</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Tue, 02 Aug 2011 09:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-35505</guid>
		<description>Hello everyone,

My FLA is 80MB Flash CS4 and I also met the same problem.
Tried all of the solutions mentioned above to no avail.

The only working solution for me is that you should update your Flash CS4. Download the updates from Adobe for Flash CS4 directly and install. That is working for me.

Hope this helps you all.</description>
		<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>My FLA is 80MB Flash CS4 and I also met the same problem.<br />
Tried all of the solutions mentioned above to no avail.</p>
<p>The only working solution for me is that you should update your Flash CS4. Download the updates from Adobe for Flash CS4 directly and install. That is working for me.</p>
<p>Hope this helps you all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flash CS5 &#8211; 5005: Unknown error optimizing byte code &#124; Gaslight Games</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-32013</link>
		<dc:creator>Flash CS5 &#8211; 5005: Unknown error optimizing byte code &#124; Gaslight Games</dc:creator>
		<pubDate>Mon, 13 Jun 2011 20:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-32013</guid>
		<description>[...] quick post, as this issue has been covered in massive amounts of detail over at negush.net but this really is a [...]</description>
		<content:encoded><![CDATA[<p>[...] quick post, as this issue has been covered in massive amounts of detail over at negush.net but this really is a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jawdy</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-32011</link>
		<dc:creator>Jawdy</dc:creator>
		<pubDate>Mon, 13 Jun 2011 20:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-32011</guid>
		<description>Thanks to everyone who put up some information about how to solve this problem!

Another CS5 user here and we hit upon this problem after using a lot of AS files (Away3D source) and then importing some SWC files (Wacom Bamboo SDK)... just threw this error.

Adding the JAVA_TOOLS_OPTIONS env variable, but with an -Xmx1024M (allowing 1GB of RAM usage) solved it for us.
Only the &quot;Delete ASO&quot; option is still available in CS5.  You can choose not to compress the movie, but no longer disable the optimizer (or at least, it&#039;s not quickly visible).

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks to everyone who put up some information about how to solve this problem!</p>
<p>Another CS5 user here and we hit upon this problem after using a lot of AS files (Away3D source) and then importing some SWC files (Wacom Bamboo SDK)&#8230; just threw this error.</p>
<p>Adding the JAVA_TOOLS_OPTIONS env variable, but with an -Xmx1024M (allowing 1GB of RAM usage) solved it for us.<br />
Only the &#8220;Delete ASO&#8221; option is still available in CS5.  You can choose not to compress the movie, but no longer disable the optimizer (or at least, it&#8217;s not quickly visible).</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-25391</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 18 Jan 2011 13:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-25391</guid>
		<description>I have experienced the &quot;Unknown error optimizing byte code&quot; message when making Flash files with lots of Actionscript.  CS5, AS3, Vista 64 bit.  

I no longer experience this error when publishing.  Here are the solutions that have worked for me.  

1.  Save file as Flash CS5 Uncompressed Document (.xfl) instead of an .fla 
2.  Set JAVA_TOOLS_OPTIONS to -Xmx256 
3.  UtilizeUILoader to externally load heavy animations or FlashEff movies.  
4.  Link AS classes for each movie as external files  

Publishing blank swf files and deactivating &quot;Compress movie&quot; didn&#039;t seem to have any effect.  

Thank you for this post!</description>
		<content:encoded><![CDATA[<p>I have experienced the &#8220;Unknown error optimizing byte code&#8221; message when making Flash files with lots of Actionscript.  CS5, AS3, Vista 64 bit.  </p>
<p>I no longer experience this error when publishing.  Here are the solutions that have worked for me.  </p>
<p>1.  Save file as Flash CS5 Uncompressed Document (.xfl) instead of an .fla<br />
2.  Set JAVA_TOOLS_OPTIONS to -Xmx256<br />
3.  UtilizeUILoader to externally load heavy animations or FlashEff movies.<br />
4.  Link AS classes for each movie as external files  </p>
<p>Publishing blank swf files and deactivating &#8220;Compress movie&#8221; didn&#8217;t seem to have any effect.  </p>
<p>Thank you for this post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: $@D</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-3/#comment-23412</link>
		<dc:creator>$@D</dc:creator>
		<pubDate>Fri, 10 Dec 2010 05:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-23412</guid>
		<description>Thanx to NEGUSH &amp; Tyler!

Got it working with -Xmx1024!
I&#039;m building an interactive 3D Enviroment with PaperVision3D and apperantly got too much actionscript in it...

Thanx again &amp; Best Regards to all!

$@D</description>
		<content:encoded><![CDATA[<p>Thanx to NEGUSH &amp; Tyler!</p>
<p>Got it working with -Xmx1024!<br />
I&#8217;m building an interactive 3D Enviroment with PaperVision3D and apperantly got too much actionscript in it&#8230;</p>
<p>Thanx again &amp; Best Regards to all!</p>
<p>$@D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: negush</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-2/#comment-22651</link>
		<dc:creator>negush</dc:creator>
		<pubDate>Thu, 25 Nov 2010 14:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-22651</guid>
		<description>@Mrgoodkato

I usually try to write my ActionScript code in a separat .as file and use it as a document class for the fla file so my code is separated from the animations and assets of the .fla file. I find it easier to maintain and debug.

Also, when working on larger projects I try to organize them into several smaller .swf files so it&#039;s easier to compile and, mainly, to work on them.

Other than this and the advices enumerated earlier, there&#039;s not much you can do. Indeed this problem is really annoying. But I find that if I organize my projects better, I don&#039;t really have this problem.</description>
		<content:encoded><![CDATA[<p>@Mrgoodkato</p>
<p>I usually try to write my ActionScript code in a separat .as file and use it as a document class for the fla file so my code is separated from the animations and assets of the .fla file. I find it easier to maintain and debug.</p>
<p>Also, when working on larger projects I try to organize them into several smaller .swf files so it&#8217;s easier to compile and, mainly, to work on them.</p>
<p>Other than this and the advices enumerated earlier, there&#8217;s not much you can do. Indeed this problem is really annoying. But I find that if I organize my projects better, I don&#8217;t really have this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrgoodkato</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-2/#comment-22631</link>
		<dc:creator>Mrgoodkato</dc:creator>
		<pubDate>Thu, 25 Nov 2010 02:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-22631</guid>
		<description>Ok, so this is my problem... I just finnished my animation in flash cs4, so I needed to make the script for the menu and all that stuff, buttons, play, pause, etc.
I was working in AS3.
When i tried to open the darn Actionscript 3 actions menu (F9) my flash just freezed and i had to close it the hard way.
I tried to open again (f9) actions panel, and again freezing...
The third time i tried F9 it went with the error: error initializing java runtime environment. you may need to reinstall flash

Ok, i started searching for advices, found some here really interesting, haven&#039;t tried all of em yet, but I tried a lot of advices, none worked, (except the one of the optimizer, just cant find the darn option)

you should check this one as well
http://www.3dbuzz.com/vbforum/showthread.php?178818-Useless-Flash-error-possible-solutions

buttom line, i just can&#039;t work in Action Script 3, not just my animation has the error, when i open any new file in AS3 the error comes out, laughing at me...
It&#039;s not just with publishing, or exporting the error appears, it appears even when i open any new AS3 file.

Do you have some advice?, I&#039;m starting to lose it T_T</description>
		<content:encoded><![CDATA[<p>Ok, so this is my problem&#8230; I just finnished my animation in flash cs4, so I needed to make the script for the menu and all that stuff, buttons, play, pause, etc.<br />
I was working in AS3.<br />
When i tried to open the darn Actionscript 3 actions menu (F9) my flash just freezed and i had to close it the hard way.<br />
I tried to open again (f9) actions panel, and again freezing&#8230;<br />
The third time i tried F9 it went with the error: error initializing java runtime environment. you may need to reinstall flash</p>
<p>Ok, i started searching for advices, found some here really interesting, haven&#8217;t tried all of em yet, but I tried a lot of advices, none worked, (except the one of the optimizer, just cant find the darn option)</p>
<p>you should check this one as well<br />
<a href="http://www.3dbuzz.com/vbforum/showthread.php?178818-Useless-Flash-error-possible-solutions" rel="nofollow">http://www.3dbuzz.com/vbforum/showthread.php?178818-Useless-Flash-error-possible-solutions</a></p>
<p>buttom line, i just can&#8217;t work in Action Script 3, not just my animation has the error, when i open any new file in AS3 the error comes out, laughing at me&#8230;<br />
It&#8217;s not just with publishing, or exporting the error appears, it appears even when i open any new AS3 file.</p>
<p>Do you have some advice?, I&#8217;m starting to lose it T_T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: negush</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-2/#comment-21277</link>
		<dc:creator>negush</dc:creator>
		<pubDate>Thu, 28 Oct 2010 13:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-21277</guid>
		<description>Thank you, Martin.

This will really help us out with this problem.</description>
		<content:encoded><![CDATA[<p>Thank you, Martin.</p>
<p>This will really help us out with this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/comment-page-2/#comment-20463</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 12 Oct 2010 20:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.negush.net/blog/?p=13#comment-20463</guid>
		<description>Ok i found a solution for all of you who are having this issue again with CS5 here:
http://www.bhootnath.in/blog/?p=73

1. Quit Flash
2. In a text editor, open the jvm.ini file from the following location:

2.1. Windows XP: System Hard Disk\Documents and Settings\\Local Settings\Application Data\Adobe\Flash CS5\\Configuration\ActionScript 3.0\jvm.ini
2.2. Windows Vista or Windows7: System Hard Disk\Users\\AppData\Local\Adobe\Flash CS5\\Configuration\ActionScript 3.0\jvm.ini

(You might need to turn on “show hidden files”winking
3. Change -Xmx128m to -Xmx256m and save the file.</description>
		<content:encoded><![CDATA[<p>Ok i found a solution for all of you who are having this issue again with CS5 here:<br />
<a href="http://www.bhootnath.in/blog/?p=73" rel="nofollow">http://www.bhootnath.in/blog/?p=73</a></p>
<p>1. Quit Flash<br />
2. In a text editor, open the jvm.ini file from the following location:</p>
<p>2.1. Windows XP: System Hard Disk\Documents and Settings\\Local Settings\Application Data\Adobe\Flash CS5\\Configuration\ActionScript 3.0\jvm.ini<br />
2.2. Windows Vista or Windows7: System Hard Disk\Users\\AppData\Local\Adobe\Flash CS5\\Configuration\ActionScript 3.0\jvm.ini</p>
<p>(You might need to turn on “show hidden files”winking<br />
3. Change -Xmx128m to -Xmx256m and save the file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

