The same thing happens if you are trying to align components inside a canvas using right/left/top/bottom. In mxml it's fine but you have to use setStyle in AS. I think it just has to do with whether the property was set up as a Style or a Property in the main component. In MXML, you get to them the same way but in AS they are separate (due to the component lifecycle)
On Thu, Oct 29, 2009 at 2:36 PM, jmerrill_2001 < [email protected]> wrote: > > > Right after I posted this, I found a workaround: > > myLineSeries.setStyle('showDataEffect', 'myEffect'); > > But it still bothers me myLineSeries.showDataEffect = myEffect does not > work - isn't that a bug? This is the kind of thing that can be really > frustrating when you move back and forth between MXML and Actionscript. How > does anyone learn these little "rules" that say, showDataEffect is a style > that has to be set, not a property you can set directly. Anyone have any > insight on this? > > Jason > > >

