It seems to happen when I create an instance of a class that contains an
attribute named "data". The following code gives the error:
<canvas>
<class name="TestNode" extends="node">
<attribute name="data" value="null"/>
</class>
<handler name="oninit" args="IGNORE_THIS_ARG">
new lz.TestNode();
</handler>
</canvas>
Whereas if I pass canvas in as the parent in the constructor the error
goes away like so:
<canvas>
<class name="TestNode" extends="node">
<attribute name="data" value="null"/>
</class>
<handler name="oninit" args="IGNORE_THIS_ARG">
new lz.TestNode(canvas);
</handler>
</canvas>
The problem is only there if the data attribute is present.
Lorien
On Tue, Dec 16, 2008 at 2:58 PM , Henry Minsky wrote:
That may be a warning that isn't really needed, it might have been put
it to debug
while bringing up the LFC in swf9. I think maybe we can remove the
warning from
the LFC, but if you can, send me a small
test case to check what is happening, please do.
On Tue, Dec 16, 2008 at 5:29 PM, Lorien Henry-Wilkins
<[email protected]> wrote:
Hi guys,
There are cases in our LZX that we create new instances without
passing in a
parent argument - for example "new lz.datarequest()". I believe this
is
causing an issue in 4.2 - we are seeing a bunch of debugger errors
that say
"searchParents got null immediateparent". Is this no longer
supported? What
do you recommend as an alternative?
Thanks,
Lorien
--
Henry Minsky
Software Architect
[email protected]