actionscript 3 - HorizontalList crash when scroll "too" fast -


i have strange problem in flex(flash builder 4), in horizontallist crash whenever scroll fast, got idea? here's custom item renderer

package {     import flash.events.event;     import flash.events.mouseevent;     import flash.net.urlloader;     import flash.net.urlrequest;     import flash.text.stylesheet;     import flashx.textlayout.container.scrollpolicy;     import mx.containers.vbox;     import mx.controls.image;     import mx.controls.label;     import mx.core.flexglobals;      public class customitemrendervbox extends vbox     {         private var track:object = null;         private var img:image = new image();         private var lbl:label = new label();         [embed(source="gfx/noart.png")]         [bindable]         private var noart:class;           override public function set data(value:object):void         {             trace(value);         if(value.c3 != "" )         try{             addchild(img);             addchild(lbl);              horizontalscrollpolicy = scrollpolicy.off;             verticalscrollpolicy = scrollpolicy.off;             setstyle("verticalalign", "top");             setstyle("horizontalalign","left");             track = value;             trace("art: " + value.art);               if(value.art == "" || value.art =="-" )             img.source = noart; else                 img.source = value.art;  // << when remove part works fine             trace("gay");                img.height = 60;             img.scalecontent = true;             img.autoload = true;              lbl.text = value.c3;             lbl.width = 67;             lbl.height = 20;             trace("way");             img.usehandcursor = true;             img.buttonmode = true;              lbl.usehandcursor = true;             lbl.buttonmode = true;             trace("nay");             img.addeventlistener(mouseevent.click,arclick);             lbl.addeventlistener(mouseevent.click,arclick);           }catch(e:error)         {         }         }           private function arclick(event:mouseevent):void         {             flexglobals.toplevelapplication.albumsearch("/album " + track.c3);         }     } } 

i have same problem. in google chrome can see: instruction @ "0x00000000" referenced memory @ "0x00000000". memory not "written". solution: tried set cachepolicy="on" on scroller instance. should set list component (or scroller skin part)


Comments