[Flashcoders] Unknown error optimizing byte code.

2011-04-27 Thread lists-09

I am starting to see this error more and more when testing apps:

  Line 15005: Unknown error optimizing byte code.
This is in a fully updated Flash CS5 Professional, and occurs when working with 
either AIR or Flash apps. No other compile errors; and the app does not load.
Moving past my love of tools that report ‘unknown errors’ within their own 
processing – it does not seem that this has been resolved anywhere in my 
searches.
The only temp solution is to get out of Flash and reload the app, which allows 
a number of more compiles, before the error pops up again.
Anyone else seeing this error occur?
Any thoughts on solutions?
File, Publish Settings, Flash tab, [x] Compress movie has no bearing.
Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Unknown error optimizing byte code.

2011-04-27 Thread Cédric Muller
Hi,
It happened to me once with a big project: Flash would break during compilation 
and throw this error.

What worked for me: 
I kept removing classes from my project until Flash would compile the file 
correctly.
Then, I worked around the way I was using some classes (that were central to 
the project) by trimming them into multiple classes. Sometimes, this happens 
because Flash keeps importing a class that is used across the whole project. 
All in all, it was a misconception of the project that led me to this error. 
Try to think about the central (major) classes you use in your project and try 
to know exactly what these are doing: maybe there is a cross reference 
somewhere.

Another solution would to .swc a part of your classes, which means that these 
wouldn't be 'compiled' during compilation time ,hence releasing a lot of memory 
for Flash.
Another solution would to use Flex and give more memory to its compiler 
(there's a command out there, Google knows it).

hth,
Cedric

 
 I am starting to see this error more and more when testing apps:
 
  Line 15005: Unknown error optimizing byte code.
 This is in a fully updated Flash CS5 Professional, and occurs when working 
 with either AIR or Flash apps. No other compile errors; and the app does not 
 load.
 Moving past my love of tools that report ‘unknown errors’ within their own 
 processing – it does not seem that this has been resolved anywhere in my 
 searches.
 The only temp solution is to get out of Flash and reload the app, which 
 allows a number of more compiles, before the error pops up again.
 Anyone else seeing this error occur?
 Any thoughts on solutions?
 File, Publish Settings, Flash tab, [x] Compress movie has no bearing.
 Thanks
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Unknown error optimizing byte code.

2011-04-27 Thread Cédric Muller
You could also try searching google with 'White screen of death' or 'WSOD'. 
This leads to some technical insight. I think Keith Peters was the first to 
experience this /thing/.

Cedric

 
 I am starting to see this error more and more when testing apps:
 
  Line 15005: Unknown error optimizing byte code.
 This is in a fully updated Flash CS5 Professional, and occurs when working 
 with either AIR or Flash apps. No other compile errors; and the app does not 
 load.
 Moving past my love of tools that report ‘unknown errors’ within their own 
 processing – it does not seem that this has been resolved anywhere in my 
 searches.
 The only temp solution is to get out of Flash and reload the app, which 
 allows a number of more compiles, before the error pops up again.
 Anyone else seeing this error occur?
 Any thoughts on solutions?
 File, Publish Settings, Flash tab, [x] Compress movie has no bearing.
 Thanks
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Unknown error optimizing byte code.

2011-04-27 Thread lists-09
Thanks Cedric – good suggestions.

I did see that there were Flex (and Java) command line options to free memory; 
but I’m locked into FLASH for this one.  I fear a hard upper limit coming to 
hit me.  I’m surprised that others don’t get this more; as my app isn’t all 
that big.

Thanks again.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders