Remember that an MXML object with an id becomes a member property of the
class in Actionscript. Actionscript identifiers cannot contain the "-"
character. If this were allowed by the compiler, the only way to access the
property from Actionscript would need to be with bracket syntax:

this["complex-id"]

- Josh

On Nov 30, 2016 3:23 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote:

> Hi,
>
> I'm finding while recreating MDL example code that we don't like ids with
> "-"
> I think we could allow. At least I don't know of a reason we should not do
> it.
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Reply via email to