Fabricio Guedes Bissoli wrote:
>> Is there a command to pause a filmLoop?
>> I am using the tell command to control filmLoops,
>> but how can I make a pause without use the
>> "tell <sprite> to go X"?
Remember -- "tell" is undocumented and therefore you use it at your own
risk. That said, I believe this will work in D8:
-- pause and resume behavior for filmLoop sprites
-- call the mPauseLoop method to "pause" the loop
-- call the mResumeLoop method to resume it
-- untested Lingo composed in e-mail!
property spriteNum, pflgPaused, pintPauseFrame
on beginSprite
pflgPaused = false
end
on enterFrame
if not pflgPaused then exit
tell sprite spriteNum
go pintPauseFrame
end tell
end
on mPauseLoop me
pflgPaused = true
tell sprite spriteNum
pintPauseFrame = the frame
end tell
end
on mResumeLoop me
pflgPaused = false
end
-------------------------------
Good luck
-- Mark
Mark MacKenzie | http://encarta.com | 425-703-4377
[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!]