FLEX: question about MXML syntax
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-05-14T08:55:21Z
Indexed on
2010/05/14
9:34 UTC
Read the original article
Hit count: 195
hi,
I would like to know if it is the same to assign properties to my custom component in its own class, or from the parent document. Please see snippet below:
Here I assign the property bottom in my custom component class:
<?xml version="1.0"?>
<mx:LinkButton bottom="20" >
<mx:Script>
...
Here I assign the property bottom when I use the component in my main MXML file
<myComp:Brick bottom="10"/>
Am I overriding the original one ?
Thanks
© Stack Overflow or respective owner