When Director starts, it looks for movie scripts with handlers such as:

on startMovie
on prepareMove

Usually, these are where you would put that sort of stuff.
Open up a script window, set its properties to be "Movie" script (click the 
small blue 'i' button to do this).

Put in an on startMovie handler

You can only have one of each of these in your system.

Likewise you may also be interested in the  'on stopMovie' handler.  That 
is where you can do some cleanup before going away.

- Tab

At 11:48 AM 6/2/02 -0700, Craig Taylor wrote:
>Hi List,
>
>I have a scenario where a few independent behaviors must be executed before
>the program begins (list initialization, etc.)  These behaviors must run
>without user intervention.  I am curious as to what the consesus is on the
>most efficient way of doing this is:
>
>i. Run them as independent frame scripts
>ii. Do frameScripts reside at a consistent spriteNum.  In other words, can I
>use a sendSprite call from a frame script?
>iii. Use a dummy sprite or splash screen and call all behaviors from this
>sprite
>iv. Some way I haven't thought of
>
>I hope this makes sense.  Any thoughts are appreciated.
>
>TIA,
>--Craig
>
>
>Craig Taylor
>Chief Renegade/Multimedia Developer
>
>Renegade Digital Media Inc.
>30 Summerset Drive
>Barrie, ON, L4N 9L7
>C: 416.930.5206
>T: 705.733.1996 | F: 705.733.0503
>E: [EMAIL PROTECTED]
>
>(digital).video | (interactive).multimedia | (web).solutions
>(DVD).authoring | (live_event).media_support
>
>
>[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!]

[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