On 12/14/16, 1:30 PM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>Hi All,
>
>While I was moving forward with implementation of MdlColor bead I have
>found
>that UIBase class could have a bug on JS sight.
>
>When we want to remove bead method responsible for that is removing bead
>from:
>
>COMPILE::SWF
>private var _beads:Vector.<IBead>;
>
>but do not touch public field:
>public var beads:Array;
>
>Is it a bug that removeBead do not actually remove it from beads Array ?

IMO, it isn't a bug.  The beads property is mainly for MXML as a place to
hang beads.  Other beads are added programmatically and never appear in
that Array, so searching it on remove would be wasteful.

-Alex

Reply via email to