Simulation of visual prosthesis using actionscript, flex as a framework.