Create imageEvents.as