When I compile the "menu_example.lzx" in examples/components/ I get this
error about a function being declared with override
that does not need it:

Compiling: menu_example.lzx to menu_example.lzr=swf9.swf
Executing compiler: (cd /tmp/lzswf9/lzgen49358; /Users/hqm/flex3/bin/mxmlc
-compiler.show-actionscript-warnings=false
-compiler.source-path+=/tmp/lzswf9/lzgen49358 -debug=true -output
/tmp/lzswf9/lzgen49358/app.swf -default-size 600 480
-library-path+=/Users/hqm/openlaszlo/trunk5/lps/includes/lfc/LFC9.swc
/tmp/lzswf9/lzgen49358/LzApplication.as)
compiler output:
Loading configuration file
/Users/hqm/openlaszlo/adobe/trunk/frameworks/flex-config.xml
Encountered too many errors!

ERRORS:
[/tmp/lzswf9/lzgen49358/$lzc$class_baseform.as: 5] line 15: Error: Method
marked override must override another method.

The method in the .as file is

override function $lzc$set_changed (changed) {
this.setChanged(changed)
}

And the baseform class defined a setter as follows:

        <attribute name="changed" value="false"
                   setter="this.setChanged(changed)" />


For some reason the compiler thinks that there is an existing setter for the
"changed" attribute so that
it must declare an override for it, when there really is not.


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to