Of the screen? No, at least not any way that I am aware.
You can determine the center of your flex application:
private function findCenter() : void
{
var centerX:int = Application.application.width/2;
var centerY:int = Application.application.height/2;
Alert.show( String( centerX ) + " x " + String( centerY ) );
}
Hope this helps!
~ Bart
--- In [email protected], "timgerr" <tgallag...@...> wrote:
>
> I have to use layout="absolute" in my flex app, is there a way to find the x
> and y values of the middle of the screen?
>
> Thanks,
> timgerr
>