This content has been marked as final. Show 5 replies
fix your randomSort method:
Hi, you are great, really. Your function fix the problem. I now use simple function nor more prototype method.
But the main thing is why my function or the combo can kill the flash? Would you please explain to me? My function or the combo did the problem? There are something conflicted here. Did you notice that I have a trace step in the function & I can get the trace result without calling that prototype before the flash stop responding. That's weir, huh?
both together caused the problem and i don't see a problem with your randomSort() method although destroying the original array seems like a bad idea and is one of the 2 reasons for your problem:
one, the combobox is executing your method (and every other array prototype method that exists) every time it's clicked. that looks like a bug in the combobox component.
and two, your prototype is causing a problem because it destroys the arrays that call your method.
Thank you very much. That really help me a lot.