Hey Irv,
the channel(6) syntax is correct since makescripted takes over the whole
sprite channel, with the new DOM that's how you access it, sounds are
accessed by _sound.channel(1) or just sound(1)
Rob
On Fri, 24 Feb 2006 10:41:18 -0800, Irv Kalb <[EMAIL PROTECTED]> wrote:
I'll bet that the problem is in the single line that you showed us:
channel(6).makeScriptedSprite(member("video.mpg")),point(499, 257))
The syntax for makeScriptedSprite is:
spriteChannelObjRef.makeScriptedSprite(memberObjRef, loc)
So, try replacing your line with:
sprite(6).makeScriptedSprite(member("video.mpg")),point(499, 257))
The word "channel" refers to a sound channel, so I'm guessing that your
code is trying to go into sound channel 6 and trying to make it a
scripted sprite - which fails miserably.
If that does't do it, show us the 5 lines of code in the handler in the
parent script.
Irv
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]