At 05:49 AM 12/21/00, FUZZ FX wrote:
>its a flash movie which imported i imported into
>director and its on the first sprite channel on the
>following channels  i have my menue and levels for my
>game. If i dont put the above script the movie doesnt
>finish and carries on to the next sprite. what else
>can i do to finish the movie before it goes to the
>next?

I'm a bit confused by the terms you're using, "carries on to the next 
sprite" doesn't mean anything to me. I get the feeling you're mixing up the 
terms for frame, sprite, and channel. Correct me if I'm wrong, but I think 
this is what you're describing:

On a given frame, you have a Flash movie in sprite channel 1. You want 
Director to wait on this frame until the Flash movie finishes, then go to 
the next frame.

If so, then try this as a frame script:

property pFrameCount
on beginSprite me
   pFrameCount = sprite(1).member.frameCount
end

on exitFrame me
   if sprite(1).frame < pFrameCount then
     go the frame
   end if
end

If you want it to go to a specific marker label when the Flash movie 
finishes, modify the exitFrame handler.

on exitFrame me
   if sprite(1).frame < pFrameCount then
     go the frame
   else
     go to "Menu Screen"
   end if
end



--
Mark A. Boyd
Keep-On-Learnin' :)


[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!]

Reply via email to