[Laszlo-dev] incompatible overriding swf9/10
Gioacchino
gmazzurco89 at gmail.com
Thu Nov 12 09:09:40 PST 2009
specifying returns swf8 go crazy, but swf9/10 now work fine at moment i solved
using <when runtime="swf8">........</when> but is not a good solution
openlaszlo should be fixed about this
On Tuesday 10 November 2009 23:22:35 P T Withington 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
>
More information about the Laszlo-dev
mailing list