Hi all,

While porting videoview.lzx to JS2 syntax I ran into this error:

TypeError: Error #1006: attachResourceToChildView is not a function.
    at 
$lzc$class_newvideoview/init()[/Users/laszlo/swf9runtime/src/$lzc$class_newv
ideoview.as:11]
    at LzNode/__LZcallInit()[/Users/laszlo/swf9runtime/src/LzNode.as:201]
    at LzNode/__LZcallInit()[/Users/laszlo/swf9runtime/src/LzNode.as:195]
    at 
LzCanvas/__LZcallInit()[/Users/laszlo/swf9runtime/src/LzCanvas.as:192]

When I looked into
http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSpr
ite.as

I didn't find the method any more. It's in SWF8 LzSprite.as:
var mc = this.owner.immediateparent.sprite.attachResourceToChildView(
resourceName, this );


Comments welcome. :)

Cheers,
Raju


Reply via email to