Hi,

> What does your attempt to use the pattern look like?

if (getBeadByType(IFormatBead) == null) {
        var klass:* = ValuesManager.valuesImpl.getValue(this, "iFormatBead");
        var bead:IBead = new klass() as IBead;
        if (bead) {
                addBead(bead);
        }
}

>  Did you apply the pattern inside addedToParent()?

Yes

>  Did you apply the pattern after super.addedToParent()?

Before as that’s what the existing code did, but from what Peter written it 
seems that super call needs to be after.

Thanks,
Justin

Reply via email to