At 22:16 +0800 04/30/2002, noelle cheng wrote:
>>>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?
>>
>>That would be one way to do it, sure -- you'd then be able to have
>>the playback hold on a given frame for a few seconds.
>
>Is there any other way to do it?
Probably. Never rally looked into it in depth. ;)
>>What script window shows 'global'?
>
>Control +O on a PC opens the script window. I�m sorry but I do not
>know the mac equivalent.
ctrl-shift-u Win, cmd-shift-u Mac -- opens the first movie script in
a Cast. Opens a blank movie script window if there isn't one already.
Handy.
> The window where all scripts are written to.
>I thought there was only one script window in the director program.
>You mean there are more?
There can be as many as you want. You can click the "+" icon in the
script's window frame to create a new window of that same script
type. This is pretty convenient -- you can put your startMovie,
stopMovie and prepareMovie scripts into one window, for instance, and
other movie script handlers into another, thus breaking down your
scripts by type.
>>What do you mean 'refused to work'?
>
>On the script window, top left hand corner, below the arrows and the
>plus sign, there is a drop down menu which is a go to handler
>window. I notice that Director sometimes takes the first words of
>the script e.g. like startMovie. Global appears though I tried to
>reset it to exit frame but it didn�t do so.
It only refers to 'global' when the insertion point is in an area
traditionally used to declare global variables. That's just a
navigation assistant -- you can use it to jump quickly to a given
handler, but you can't set it to anything, and it's not meant to
describe the type of script at all.
>There are also scripts attached to cast members (which is not
>recommended by Macromedia as you wrote on pages 96 -97)
Mmm, well, I believe they'd be happier if people would stop using
Cast member scripts, yes. ;)
>You write that every script save for frame scripts and scripts
>attached to sprites (i.e. behaviors) is a movie script. And they
>are considered global scripts.
The other exception is the parent script type. You can change a
script's type using the popup in the PI.
>In the script window, the word in the go to handler window is
>global, but in the PI it is considered a behavior. In the PI under
>script, there is the word� link script as�
>
>Movie
>Behavior
>Parent
>
>I chose behavior so why does the script window (control +O) display
>the word global?
Aha, yes -- don't take the popup text too literally. Again it's
referring to a space in the script window where global variables are
generally declared. It's not meant to describe the type of script.
Movie scripts are not *officially* referred to as global, as far as I
know, but their scope is, and so they can be called that from time to
time.
>�You can see the type what any script�s type is by looking at its
>properties in the PI�.
>You can see- and set a script�s type with the �Type� pop up menu.
>
>This is what I don�t understand. Could you elaborate please? Doesn�t
>global in the go to handler window mean movie script?
Hopefully the foregoing helps clear this confusion a bit. ;)
>I have not come across any parent scripts. Sorry, but I haven�t
>read module 12.
>I am far behind.
No you're not; I'd say you're doing quite well. ;)
>>>But I have a sound file which contains some speech at frame 143.
>>>That's why I inserted Irv's script at frame 140.
>>
>>Do you have a go the frame script in frame 143?
>
>No. Should I have one?
Good question. Do you want Director to remain on that frame until a
sound is finished playing? If so you need to do something to tell it
so, either by setting a cuepoint or using a framescript.
>Actually, as the movie becomes more and more complex, I find it more
>and more difficult to debug.
Yes -- this is the "fun part". It doesn't hurt to try to break things
down into logical pieces, perhaps writing different movies that each
do different things, but in complete isolation from each other -- and
then copying and pasting the Score contents into one mega-movie.
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://www.osborne.com/indexes/beginners_guides.shtml
[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!]