Hey Alexander that's a pretty annoying bug! I hope adobe do something about it soon. have you found you've had to do it elsewhere in Lite?
Rob On Wed, Oct 7, 2009 at 2:11 PM, katopz <[email protected]> wrote: > Hey Alexander > thx for nice finding bug of the week!, i'll chk that again for work around > :) > cheers! > > 2009/10/7 Alexander <[email protected]> > > >> We had a very annoying crash which was very hard to track down (the >> flash player crashed once every 10 times we ran our application), we >> finally ended up in BasicRenderer.as line 121 and 127. >> >> It basically comes down to this: >> _faceStore.length = 0; >> _faceStore.length = _mesh._vertices.length / 3; >> >> We found that _faceStore contained illegal values (flash player memory >> garbage) and not the value 0! This caused the drawGraphicsData >> function to crash the player. >> >> I've reported the bug at Adobe: >> https://bugs.adobe.com/jira/browse/FP-2898 >> >> Our current workaround is to recreate the _faceStore using a fixed set >> of values (ie. _faceStore = new Vector.<int>(_mesh._vertices.length / >> 3, true); >> >> Cheers, >> Alexander > > > > > -- > katopz > http://www.sleepydesign.com > > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
