Distance from center

I am working on the project where everything is based on the distance from the center of the stage.

First I made this fla where flash outputs the x and y distance from the center.

First problem is that I want to output distance only in positive numbers.

Any sugestions???

FLA