thekok  
                
               
                 
              
                  
                    May 14, 2003, 11:09pm
                   
                   
              1 
               
             
            
              Hi, 
I have to publish an swf  as flash 5 but it’s been generated with flash MX and the new syntax.
maskera.swapDepths(100); 
createEmptyMovieClip(“content”, 1); 
content._x = 230; 
content._y = 130; 
for (i=1; i<=14; i++) { 
content.attachMovie(“pic”+i, “pic”+i, i); 
content[“pic”+i]._y = 0; 
content[“pic”+i]._x = _global.w; 
_global.w += 400; 
} 
stop();
 
already tried to swap _ global to _root but published as flash 5 it does not work. 
Any idea 
thanks 
:-\
             
            
               
               
               
            
            
           
          
            
              
                system  
                
               
              
                  
                    May 14, 2003, 11:14pm
                   
                   
              2 
               
             
            
              you can not use createEmptyMovieClip in Flash 5 code. it wasn’t availible.
             
            
               
               
               
            
            
           
          
            
              
                system  
                
               
              
                  
                    May 14, 2003, 11:26pm
                   
                   
              3 
               
             
            
              hoops… 
do u think i can fix the code in order to be able to publish as flash 5 ?
             
            
               
               
               
            
            
           
          
            
              
                system  
                
               
              
                  
                    May 14, 2003, 11:44pm
                   
                   
              4 
               
             
            
              why do you want to publish to flash five?
             
            
               
               
               
            
            
           
          
            
            
              thanks Jubba, i used flash 5 just a little and i didn’t know that. 
thanks mdipi.com  x your curiosity but anyone knows how to adapt this script for flash player 5? 
thanks
             
            
               
               
               
            
            
           
          
            
              
                system  
                
               
              
                  
                    May 15, 2003, 10:33am
                   
                   
              7 
               
             
            
              problem solved 
i created an empty movie clip “content” end put it on the stage.
maskera.swapDepths(100); 
content._x = 230; 
content._y = 130; 
for (i=1; i<=14; i++) { 
content.attachMovie(“pic”+i, “pic”+i, i); 
setProperty(“content.pic”+i, _y, 0); 
setProperty(“content.pic”+i, _x, _root.w); 
_root.w += 400; 
} 
stop(); 
thanks to all