To get the sprite, just "canvas.sprite" ought to work, although the cross platform API to get the sprite is canvas.getDisplayObject()
On Sat, Mar 20, 2010 at 5:21 PM, Lucas Lain <[email protected]> wrote: > Hello everybody, > > does anyone know how to add a sprite to an openlaszlo canvas or view? > > I wrote/modified the attached class to visualize the sound spectrum. > > This line is the one supposed to do the trick: > > canvas.content.sprite.addChild(this._gr); > > > Best! > > > -- > Lucas > -- Henry Minsky Software Architect [email protected]
