>I am confused. TimeOut objects apparently do not entail parent-child scripts.

That's right. TimeOut objects are built in starting with D8.0.

>Sorry, but how do I tell Director where it is?

Your line from the help file is the only relevant one (new is used for a 
lot of things other than timeOut objects):

This statement creates a new timout object called intervalTimer that will 
send a timeout event to the on minuteBeep handler in the child object 
playerOne every 60 seconds:
timeout("intervalTimer").new(60000, #minuteBeep, playerOne)

playerOne in this case is a script instance.

>I put the following in a movie script. (On the top of the script window it 
>says Movie Script 4):
>
>timeOut("bideAWee").new(8000, #goNext)
>
>Actually, should I place it in my movie script?

No. That line needs to go into a script--probably a frame script--where you 
want to pause. I gave it as an example of how to create a timeOut object. I 
don't know your code, so you have to figure out where to put it.

>Do I need to keep on calling all the frames? How does Director know which 
>place I am referring to?

You could pass an argument that is the frame label you want to go to. e.g.:
timeOut("bideAWee").new(8000, #goNext("Markerx"))

Then you need to have a parameter in your goNext marker, and use that 
passed parameter in your "go to " command.

>I then used on beginSprite me instead of on EnterFrame but there was no 
>'timeOut'.

How do you know there was no timeOut. Did you trace the code in the 
debugger? What did you put in the beginSprite handler, exactly? Set a break 
point on it and see what happens.


Cordially,

Kerry Thompson


[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