I had  the same problem on Director 8                                 
I never explain that.                                                 
My solution was                                                       
                                                                      
Global Iarrive                                                        
On prepareMovie                                                       
Iarrive = TRUE                                                        
End                                                                   
                                                                      
in the behaviour of all sprites                                       
On beginSprite                                                        
    If Iarrive = TRUE Then                                            
      ....//...                                                       
    End if                                                            
End                                                                   
                                                                      
in the behaviour of the last sprite                                   
On beginSprite                                                        
    Iarrive = FALSE                                                   
End                                                                   
                                                                      
It is the solution                                                    
because the PrepareMovie comes only once                              
(in my case)                                                          
But it is not a explanation ("Explication" in French ,is it the right 
word ?)                                                               
                                                                      
----------------                                                      
From: Luiz Gustavo Castelan =?iso-8859-1?Q?P=F3voas?=                 
<[EMAIL PROTECTED]>                                                  
Subject: <lingo-l> Director 7 bug???                                  
                                                                      
lets suppose I have a function in a movie script:                     
on goback                                                             
   if count(history) > 0 then                                         
        go movie(getlast(history))                                    
        deleteat(history,count(list))                                 
   end if,end,if I call this function from a movie script, or a frame 
script                                                                
it is ,executed fine....                                              
BUT                                                                   
                                                                      
if I put a sprite on the screen (on the current movie) with the       
following behavior:                                                   
                                                                      
on mouseup me                                                         
   goback()                                                           
end                                                                   
                                                                      
the problem is that when I click the sprite with that behavior a      
#beginsprite call is sent to ALL sprites on the current movie!!!      
how that can happen???                                                
                                                                      
This is not a killer issue, but its uggly since all sprites are       
initialized before the linkage (position, blend, etc...).             
                                                                      
                                                                      
Luiz Gustavo Castelan P�voas                                          
_____________________________                                         
Pierre Hebert                                                         
Concepteur D�veloppeur MM                                             
CNED Grenoble                                                         
______________________________                                        

[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