ketan
ketan

Reputation: 19351

Rotate video object in actionscript 2.0

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.

Upvotes: 0

Views: 533

Answers (1)

akmozo
akmozo

Reputation: 9839

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.

Upvotes: 1

Related Questions