Hi all.. this is a really stupid question, but I can't find out why it doesn't work... I'll type some pseudo code here:

<canvas>
        <attribute name="someAttr" type="boolean" value="false" />
        <method name="init">
                super.init();
Debug.write("someAttr value before an attempt to change", getAttribute("someAttr"));
                setAttribute("someAttr", true);
Debug.write("someAttr value after attempt to change", getAttribute("someAttr"));
        </method>
</canvas>

Well... No matter what combination of accessing the var I've tried, i can't change the original value... What am i doing wrong?

Thanks!

Reply via email to