because flash would need php as well. so you would rather program the UI in flash, the rest in php.