How to flip flash.media.Video?

I play with flash.media.Video and a camera with Actionscript, and it seems to me that the video camera is showing inverted video. Let me describe an example:

When I turn right, the video will show how I turn left. If I raised a target with a finger on my right hand, it seemed to me that I was doing this with my left.

So, how do I flip a video so that it looks like a β€œmirror”?

+3
source share
2 answers

To make a video look like a mirror, I pretty much need to ask two things:

myVideo.scaleX = -1; myVideo.x = myVideo.width + myVideo.x;

  • Thanks Christophe
+9
source

, "scaleX" -1. ​​

myVideo.scaleX = -1;
+3

Source: https://habr.com/ru/post/1703640/


All Articles