Flash videoPlayer listens events and fully integrated with js