videodisplay

Flex - does anyone have an example of the use of the VideoDisplay control events

て烟熏妆下的殇ゞ 提交于 2019-12-24 19:30:02
问题 The Flex 3 docs are fairly basic. Can someone post a more complete example that uses the control's events? I'm still trying to get my head around ActionScript events. 回答1: You could find an interesting article concerning stateChange & playheadUpdate events on http://blog.flexexamples.com/2008/01/01/determining-a-videodisplay-controls-current-playback-state-using-the-state-property-and-statechange-event/ For a more complex example, take a look at the FXVideo component source code (in main unit

How to capture a streaming video display and save it to disk in Flex Builder 3?

耗尽温柔 提交于 2019-12-11 23:48:34
问题 I've been looking for a solution to my problem for a while and didn't get the answer. I have a page with a VideoDisplay object and a "Take screenshot" button. I would like to get the screenshot from the streaming video and save it but I'm getting an error: Security sandbox violation: BitmapData.draw: http://xxx/xxx.swf cannot access rtmp://xxx/xx/xx/. No policy files granted access. The domain of the website from which I'm capturing the image and the rtmp is the same. I'm using ImageSnapshot