I think the problem is that 'LzDataNodeMixin' as a type becomes an interface, and interfaces can have no data members. When LzDataNodeMixin is mixed into a class, you get the data elements, but none of them can be seen externally
(through the interface).

On Jul 19, 2008, at 9:20 AM, Henry Minsky wrote:

I've got this code which gets a flex compiler error when compiling in swf9:

public static function xmlrpc2jsobj (node:LzDataNodeMixin):* {
       if ( node.nodeType == LzDataElement.TEXT_NODE ){


org.openlaszlo.sc.CompilerError: line unknown: Error: Access of
possibly undefined property nodeType through a reference with static
type LzDataNodeMixin, in line: if ($1.nodeType ==
LzDataElement.TEXT_NODE) {

Why  does it not let me reference the nodeType of my 'node'? What is a
"static type"?




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com



Reply via email to