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.
In ActionScript, you set style properties with myImage.setStyle("left", 10);
Remember, left, right, etc. only work when using absolute layout, and don't work in VBox, HBox, etc.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services
That's what I thought, but it doesn't appear to be having any effect. Must be something else going on. I'll keep looking. Thanks.