Oh, I put addSubview  on LzView in the schema, but LzLayout extends LzNode,
and defines its own addSubview method.
So i need to put it on LzLayout in the schema.

Sigh, I guess we'll be finding some more of these for a while cuz I did this
manually.

On undefined, Henry Minsky <[EMAIL PROTECTED]> wrote:

> It looks like it is. I'm wondering if I have code that is only checking
> the immediate superclass for the existence of
> an attribute instead of all the way up the chain or something. Time for
> some print statements..
>
>
> On undefined, P T Withington <[EMAIL PROTECTED]> wrote:
>
> > You're sure LzNode#addSubview is in the schema?
> >
> > On 2008-03-28, at 16:40 EDT, Henry Minsky wrote:
> > > Hmm, the new code to check for overrides is failing to catch this
> > > case where
> > > simplelayout overrides the LzView addSubview method.
> > >
> > > I better put some tracing in to see why it doesn't identify this as
> > > a method
> > > of a superclasss...
> > >
> > >
> > > Compiling: hello-layout.lzx to hello-layout.lzr=swf9.swf
> > > writing script to /tmp/lzx-script.js
> > > Executing compiler: (cd /tmp/lzswf9/lzgen55753; /Users/hqm/flex3/bin/
> > > mxmlc
> > > -compiler.show-actionscript-warnings=false
> > > -compiler.source-path+=/tmp/lzswf9/lzgen55753 -debug=true -output
> > > /tmp/lzswf9/lzgen55753/app.swf -default-size 800 600
> > > -library-path+=/Users/hqm/openlaszlo/trunk4/lps/includes/lfc/LFC9.swc
> > > /tmp/lzswf9/lzgen55753/LzApplication.as)
> > > compiler output:
> > > Loading configuration file
> > > /Users/hqm/openlaszlo/adobe/trunk/frameworks/flex-config.xml
> > >
> > > ERRORS:
> > > Compiler error: at [/tmp/lzswf9/lzgen55753/$lzc
> > > $class_simplelayout.as: 38]:
> > > Error: Overriding a function that is not marked for override.
> > >
> > > function addSubview (newsub) {
> > >         ^
> > >
> > > FAIL: compiler returned 1
> > > Done executing compiler
> > > Intermediate file /tmp/lzswf9/lzgen55753/app.swf: does not exist
> > > Compilation errors occurred:
> > >
> > > --
> > > Henry Minsky
> > > Software Architect
> > > [EMAIL PROTECTED]
> >
> >
>
>
> --
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>
>


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to