I am creating an applciation in Air using SDK 4.1 which plays videos. For doing this I created a UIComponent and added Video object in UIComponent. Video file is .flv format.
Now when I make video full screen then video aspect ratio is changed. The video is stretching. I am giving video dimensions by using the code below:
myVideo = new Video( 766 , 572 );
So please guide me, how can I make video fullscreen without changing the video aspect ratio.
Any web link or source code would be appreciated for implementing the solution.