I am trying to constrain my component 10 pixels from the right edge in ActionScript and mxml editor is telling me there is no "right" property.
This code throws the following error: myLabel.right = 10; myImage.right = 10; 1119: Access of possibly undefined property right through a reference with static type mx.controls:Image. 1119: Access of possibly undefined property right through a reference with static type mx.controls:Label. i am clueless why there is no right property in AS3 when there is clearly a right property in MXML.

