At 15:21 -0400 07/01/2002, brian wrote:

>on an earlier version, it all worked fine. the frame script got called
>first, and then the behaviors initialized. Now it is working in reverse, so
>there are no globals to reference in the behavior.

Yes -- frame scripts are initted *after* sprite behaviors (that one 
surprised me too). You'll have to alter your code a little so your 
behaviors don't try to hook into something that doesn't yet exist.

One option might be to put your object init routines into a behavior 
attached to sprite 1, which will still get initialized before 
everyone else.

-- 

              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://shop.osborne.com/cgi-bin/osborne/0072195622.html
[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