ahhh... thank you!

On 11 Apr 2007 18:09:41 -0700, Gordon Smith <[EMAIL PROTECTED]> wrote:

   That's correct.

- Gordon

 ------------------------------
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Bjorn Schultheiss
*Sent:* Wednesday, April 11, 2007 4:28 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders]Where is the right property?

 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.co! ntrols: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.





Reply via email to