Yup, you are correct - as you probably can guess, I haven't used this
feature yet.
Sounds like something else in his parent script.
Irv
At 2:07 PM -0500 2/24/06, Rob Romanek wrote:
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 [email protected] (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]
--
Multimedia Wrangler.
[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
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]