FLOODFILL CAUSING BOTTLE NECK/ ERRORS.
I made a simple Color by numbers app that uses 'Flood fill'.
I tested it various browsers and it seems to slow down my CPU or infact not even work depending on the browser.
Each event that 'flood fills' adds to the CPU usage and it doesnt drop.
CHROME preview - Flood doesnt work....Cpu rises to 80/ 90% and compuer slows
FIREFOX preview - Crashes (error Script: http://localhost:50000/c2canvas_plugin.js:80)
CHROME browser(dropbox) - Flood doesnt work
OPERA EMULATOR - Flood fill works..........Cpu rises to 80/90% and computer slows
TITANIUM wrapped exe - Flood fill works.......CPU usage rises to 80/90% and computer slows.
Heres a pic using Opera emulator, showing that its working.
Any ideas what could be causing the problems?