[Laszlo-dev] why does the compiler give an error if I ask for the nodeType of a data node in as3
André Bargull
a.bargull at intensis.de
Sat Jul 19 06:55:05 PDT 2008
This is covered by LPP-5840.
> 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
> hminsky at laszlosystems.com <http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>
More information about the Laszlo-dev
mailing list