At 10:00 AM +0000 3/22/01, pete carss wrote:
>On 3/21/01 3:21 PM, "Irv Kalb" <[EMAIL PROTECTED]> wrote:
>
>> Two possible suggestions:
>>
>> 1) Are you sure you are trying to set the location during the
>> "startMovie" handler - rather than the "prepareMovie" handler? At
>> prepareMovie, the sprites havent been created yet, so trying to set
>> their loc would be ineffective. So if you are not really doing it at
>> startMovie, do it there.
>>
>> 2) You say that you "grab 3 sprite channels". Is there anything in
>> these channels (e.g., a 1 pixel or 0 pixel member)? If not, you may
>> need to add a line like this:
>>
>> puppetSpite xx, TRUE
>>
>> For each channel. This will ensure that the sprites are completely
>> under your control and not the score.
>>
>> Irv
>
>Cheers Irv, I have tried both the above - good to know that I'm thinking in
>the right direction - is it possible that even after "startMovie" some
>sprites have not been set up yet?
>
When the startMovie handler runs, all the sprites have been "set up".
You can test this by putting a graphic - anything - in any sprite(s)
and attach a behavior like this:
property spriteNum
on beginsprite me
put "Hello from sprite" && spriteNum
end
And then in your startMovie:
on startMovie
put "Hello from the startMovie"
end
You will see the sprite messages first, then the startMovie message.
Have you tried putting a 0 pixel or 1 pixel cast member into the
three sprites that you are grabbing? Does that not work? Always has
for me.
Irv
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]