hga77  
                
                  
                    February 10, 2004,  2:49am
                   
                  1 
               
             
            
              This should be easy to answer…
I have 2 swf’s:
Section.swf (to be loaded in main)
In section.swf, on the first frame I have this:
[AS]
I desperately need to fix this.  Any help please…thanks
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004,  2:52am
                   
                  2 
               
             
            
              take everything out of onload and just stick it in the timeline.
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004,  2:55am
                   
                  3 
               
             
            
              I did that, the code still wont run!!!
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004,  3:05am
                   
                  5 
               
             
            
              ok…
[AS]Initialise variables /
outside this function (onload) I have proto functions, but that all works fine…
I just need the onload to run when this fla is being loaded into the main.
Thanks
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004,  3:17am
                   
                  6 
               
             
            
              and when I dont include the onload function, the preload(clip) function call doesnt run.
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004, 10:56am
                   
                  7 
               
             
            
              bottom line, onLoad isnt used like that.  You would basically only use it with OOP classes associated with movieclips.
where is preload defined?
             
            
              
            
           
          
            
              
                system  
              
                  
                    February 10, 2004,  1:44pm
                   
                  8 
               
             
            
              thanks senocular …I just changed the onload to a this.onEnterFrame function and it worked…thanks again