Fullscreen

Hi guys,

I am developing a video player, in that full screen mode option. I have given the following code for width and height of the video

[AS]flash.system.Capabilities.screenResolutionX
flash.system.Capabilities.screenResolutionY[/AS]

The problem is the y position and x position is not at the left top of my monitor. it is varying when I change the dimension of the file. I also tried with stage.stageHeight and stage.stageWidth etc. but no reaction.

Please help me

Thanks in advance.