I think its a style.
You might need myLabel.setStyle( 'right', 10 );
Bjorn
On 12/04/2007, at 9:22 AM, dorkie dork from dorktown wrote:
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.