Rotate video object in actionscript 2.0

510 views Asked by At

I have Video player in adobe flash with actionscript 2.0. I got video from server side which has angle of -90 degree.
Now i want to rotate video to 90 degree which property is have to use for that.

I tried following:

myVideoPlayer.rotation = 90;

But, did not get success.

1

There are 1 answers

2
akmozo On BEST ANSWER

To rotate an object on AS2, we use object._rotation ( rotation with an underscore ), so your code should be :

myVideoPlayer._rotation = 90;

Hope that can help.