Well that was the question. I knew they existed in styles, I just didn't know whether or not that was the mechanism used when you anchor stuff from MXML, and I guess now I do :)
-Josh On Feb 11, 2008 1:38 PM, dazweeja <[EMAIL PROTECTED]> wrote: > "left" and "right" are *styles* of UIComponent and all subclasses - > not *properties* - so really nothing funky happenin' here ;) > > You can use getStyle and setStyle if you want to access/change them > dynamically. > > > --- In [email protected] <flexcoders%40yahoogroups.com>, "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > Well, when I have left="20" and right="20" defined in the MXML for a > > component, it's doing something funky, as they're not properties of the > > Component objects, and I'm just trying to figure out exactly what > it's doing > > so I can replicate it in the most efficient way possible. I'm sure > there's a > > better way to express what I'm interested in than simply "anchor > system", > > but I can't really think of it :) > > > > -Josh > > > > On Feb 9, 2008 5:03 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote: > > > > > What do you mean by "anchor system"? > > > > > > Tracy > > > > > > > > > ------------------------------ > > > > > > *From:* [email protected] <flexcoders%40yahoogroups.com> > [mailto:[email protected] <flexcoders%40yahoogroups.com>] *On > > > Behalf Of *Josh McDonald > > > *Sent:* Thursday, February 07, 2008 8:54 PM > > > *To:* [email protected] <flexcoders%40yahoogroups.com> > > > *Subject:* [flexcoders] Shortcut to generate bindings for left="foo" > > > right="foo" etc? Or styles? > > > > > > > > > > > > Hi guys, > > > > > > Is there some sort of shortcut method to programmatically generate the > > > bindings to emulate the anchor system that you have access to when > you're > > > defining your GUI in MXML? If not, what exactly does the MXML->AS > compiler > > > generate? I'd like to be doing things "the right way". > > > > > > Or, is it simply done with styles? > > > > > > -Josh > > > > > > -- > > > "Good people will do good things, and bad people will do bad > things. But > > > for good people to do bad things—that takes religion." > > > > > > :: Josh 'G-Funk' McDonald > > > :: 0437 221 380 :: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > "Good people will do good things, and bad people will do bad things. > But for > > good people to do bad things—that takes religion." > > > > :: Josh 'G-Funk' McDonald > > :: 0437 221 380 :: [EMAIL PROTECTED] > > > > > -- "Good people will do good things, and bad people will do bad things. But for good people to do bad things—that takes religion." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

