How to Access Flex 3 VideoDisplay CuePoint Parameters

Unfortunately when adding cuePoint event listener to mx:VideoDisplay component in Adobe Flex 3 you only receive name, time and type of the Cue Point. Here is a dirty workaround to access the parameters from the metadata.