Most notably the score and cast members are not yet loaded into memory when 
prepareMovie executes, therefore you cannot puppet sprites, you cannot access member 
properties, etc. What you can do is act on movie level properties, things like the 
soundDevice, properties and commands that are not score/frame/member specific can be 
executed. I don't really have a clearer outline other than saying "don't touch 
score/member items in prepareMovie handlers".

Test test test...

As I said, you can also simply move your sprites in the score so that frame 1 is not 
used at all (this is my usual technique, I leave frame 1 empty).

Cheers,
Tom

> -----Original Message-----
> From: Alex Smith [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 2:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> order of handlers execution
> 
> 
> Tom could you elaborate on what is not possible in the 
> prepareMovie handler.
> I started with D4 but didn't come back till d7 and there was 
> no prepareMovie
> in D4 as I remember, so I'm a bit shaky with the do's and don'ts of
> prepareMovie  I've been having trouble initializing a parent 
> script when
> using just one-frame programming.
> 
> Thanks,
> Alex
> 
> 
> 
> > FYI: frame 1 of the score is always drawn *before* the 
> startMovie event
> occurs, therefore beginSprite handlers on sprites in frame 1 
> will execute
> before your startMovie handler does. This occurs by design 
> and is therefore
> labeled as "expected and normal behavior". Move sprites into 
> frame 2 or
> begin using a prepareMovie handler (be careful, in the 
> prepare movie handler
> not all Lingo is possible).
> >
> > Hope that helps,
> > Tom
> 
> 
> 
> [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!]
> 

[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