very thanks this worked i don't know the returns attribute neither how to specific args type on a method in openlaszlo thanks this should be documented!
On Tuesday 10 November 2009 23:22:35 you wrote: > It is not a matter of public or not, it is that the argument (and > return type) signatures do not match. > > This bug is logged as http://jira.openlaszlo.org/jira/browse/LPP-6080 > > The following example shows how to work around your problem by > explicitly declaring the function types in your override: > > <canvas> > <class name="test" extends="view"> > <method name="setVolume" args="v:Number" returns="void"> > Debug.info("Calling %w(%w)", arguments.callee, v); > super.setVolume(v); > </method> > </class> > <test oninit="setVolume(42)" /> > </canvas> > > On 2009-11-10, at 16:38, Gioacchino wrote: > > In this post you can find this bug > > http://forum.openlaszlo.org/showthread.php?t=13954 > > > > the problem is that method like seek or setVolume are declared as > > private in > > as3 compiled view than you can't override them from openlaszlo that > > declare > > them public by default e find this problem with Raju Bitter > > > > please fix this here is my complete app http://launchpad.net/ > > olwebsuite > > > > and there is the complete file affected by this bug > > http://bazaar.launchpad.net/~gmazzurco89/olwebsuite/0.2/annotate/head%3A/ > >src/OMWAudioOutput.lib.lzx > > > > > > than there is no reason to declare seek or play as private > > method... please > > do them public >