Create Flash.java

Flash events handler