No, there is no way to do this. However, attributes are primarily intended for use by attached properties, which you can use in markup.
On Jul 26, 2011, at 9:47 AM, SYSE | Edvin wrote: > I want to set an attribute on certain elements I've declared in a BXML file: > > Instead of doing: > > label.setAttribute(MyEnum.MyEnumValue, "myValue"); > > in Java-code, I would like to set the attribute from BXML: > > <Label ... > > <Attribute key="" value=""/> > </Label> > > Is this possible?
