Thanks Colin,

I changed the exitFrame to read:

if the movieTime of sprite 3 < the duration of sprite 3 then

and all works perfectly.

Sometimes you can't see the forrest for the trees!

George

> >Script error: Property not found
> >if the movieTime of sprite 3 < the duration of member "Skimmer" then
> >#duration
> >
> >The script is exactly the same in all frames except for the member names
> >which is the same as the member in the frame.
> 
> 
> I think this may be the same problem someone else had recently with a 
> sound member. They had two members with the same name, and the first 
> one wasn't a sound. Check to make sure you don't have another member 
> with the same name. Or change your exitframe script to test against 
> the duration of the member of sprite 3, instead of using the cast 
> member's name directly.
> 
> About your enterframe script, you seem to be setting the stagecolor 
> and the movierate. Neither are needed every frame, and setting the 
> movierate to 1 could even cause cases where the movie plays twice 
> (because it wasn't on the last frame during the exitframe script, got 
> to the end, paused itself, and then the enterframe set it playing 
> again back at frame 1). In any case, I suspect you want to do those 
> things on beginsprite, not enterframe. That way they only happen once.
> 
> 
> 
> 
> [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!]
> 
> 


[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