2 Replies Latest reply on Feb 16, 2010 9:26 AM by jsd99

    Modifying right/left/top/bottom property

    jsd99 Level 3

      I have an mx:Image control that has a right="20" property.  I want to modify this property on the fly, but I can't do it.  There doesn't seem to be any way to access it from ActionScript.  Am I missing something?


      The reason I want to do this is I have a canvas that I use the mx:Move effect on, and if the image has a right property, it looks really terrible when the canvas moves.  (I'm sliding it "off screen").  The image kind of sticks to the side and looks jumpy and nasty when the effect plays.  I need to somehow un-anchor the image from the right side before starting the effect.