Hi,


>All the code prior to frame 140 still did not execute . Why is that?

I can answer this now - because of the lingo pause command. I have removed it.

But may I know that  if the introduction of the movie was something like a 
presentation, i.e. it runs from the score with  no lingo , how do I make 
the movie pause at certain frames, say frame 30, 50  and 90?  I can't use 
the pause command. I use the property pendTicks as below?

Why did  my playhead stop at frame 140 and refuse to move?

I searched the archives and the director support site for some answers.

This is what I found:

1.  Could be due to a  Movie script -

  thanks Colin and Irv - for this.
All  my  scripts were behaviors, so this was not the cause.

However, I note that  for the script in  frame 139 below, the script window 
shows global.  I tried to change it to 'exit frame' but  this refused to 
work.  However, in  the PI the cast member was behavior. Which is correct?


2.   Could be due to a change in tempo -

No, my movie is at the default 30 fps throughout. Never touched it.


3. Could be due to a loop on frame 140 - a  'go  the frame script'

No, and none of the sprites on frame 140 had that line either.


4. There is no lingo  pause either on frame 140.


5. I don't think that the script that Irv wrote (which I used) is a case of 
infinite recursion:

property pEndTicks
on beginSprite me
pEndTicks = the ticks + (2*60) -- two seconds from now
end
on endSprite me
if the ticks < pEndTicks then
go to the frame
end if
end

Having eliminated all known possibilities, the playback head still stops.

  I have removed everything.

But I have a sound file which contains some speech at frame 143. That's why 
I inserted Irv's script at frame 140.

At frame 139, I have this script to soften the introductory music and fade 
it away.

on exitFrame me
   if sprite(27).volume > 0 then
    sprite(27).volume = sprite(27).volume - 1
    go the frame
  else
   go  to marker ("firstmarker")
   end if
end

Is this code not acceptable? And 'firstmarker' contains the code in frame 
140 (the ticks)  But the playhead stops at 'firstmarker'.

May I have your input please? I hope I am not  being  obtuse?


Thank you

Noelle








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

Reply via email to