I'm new to effects and I'm running into a bit of a problem. I want to make an object shrink by a certain amount while rotating it 90 degrees. This works fine if I do it in sequence, but not if I do it in parallel.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="white" > <mx:Button label="parallel" click="parallel.play()"/> <mx:Button x="100" label="sequence" click="sequence.play()"/> <mx:Button x="200" label="reset" click="p.x=200; p.y=200; p.rotation=0; p.scaleX=1; p.scaleY=1"/> <mx:Panel id="p" width="100" height="100" x="200" y="200"/> <mx:Parallel id="parallel" target="{p}" duration="200"> <mx:Zoom zoomHeightTo="0.5" zoomWidthTo="0.5"/> <mx:Rotate angleFrom="0" angleTo="90"/> </mx:Parallel> <mx:Sequence id="sequence" target="{p}" duration="200"> <mx:Zoom zoomHeightTo="0.5" zoomWidthTo="0.5"/> <mx:Rotate angleFrom="0" angleTo="90"/> </mx:Sequence> </mx:Application> You should probably run this in a window at least 1200 pixels wide by 800 if you really want to see where the panel winds up. I think it has something to do with it the effects getting confused because the point they thought they were working on has moved. But I can't quite figure out what to do to keep it from going haywire. Any ideas? -- Jason

