Brisa  
                
                  
                    April 5, 2006, 12:31am
                   
                  1 
               
             
            
              I have this drag n drop that is refusing to work right. It does drag and drop, but doesn’t execute what I’m telling it to do when the submit btn is clicked.
I need it to either say “Congrats”, or say “try again and reset” or say “Sorry”.
I’m attaching the file stripped from graphics if anyone can help me…Please do!!!
Thanks
             
            
              
            
           
          
            
            
              [AS]else if (firstTry) {
             
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 5, 2006,  6:05am
                   
                  3 
               
             
            
              Thank you! I fixed that but for some reason it’s still giving me the spinning ball, i.e. an abort script mesg.
I’m doomed!
I’ve tried everything and the script abort msg doesn’t go away…
             
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 5, 2006,  4:17pm
                   
                  4 
               
             
            
              The spinning ball went away. Now I just have to make the rest button to work…If you have any ideas, please let me know.
You helped me tremendously!!::thumb2:
             
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 5, 2006, 10:38pm
                   
                  5 
               
             
            
              I have this to initialize my clips:
function initializeItem(obj) {
    obj.startx = obj._x;
    obj.starty = obj._y;
    obj.returnFlag = false;    
}
but If a code a button to reset the clips using:
resetBTN.onRelease = function{
obj.startx = obj._x;
    obj.starty = obj._y;
}
it doesn’t put them back where they were before they were dragged and dropped to the target clips.
Everything else is working fine, but I tried different combinations to reset the clips and nothing happens.
Any lights?? The file is still the one in the original post, with the correction marked by Macaroni ( thanks again!!)
Brisa
             
            
              
            
           
          
            
            
              I haven’t looked at your file but if you want your obj mc to go back to it’s initial _x and _y you have to do
resetBTN.onRelease = function{
obj._x = obj.startx;
obj._y = obj.starty;
}
 
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 6, 2006, 12:07am
                   
                  7 
               
             
            
              I tried that too and it didn’t work.
Still in search for help.
Thank you!!!
Bri
             
            
              
            
           
          
            
            
              ok first ull need to make a loop and to make sure u return all the boxes return.
[AS]resetBTN.onRelease = function(){
}
resetClip = false
}[/AS]
             
            
              
            
           
          
            
            
              just had another look…and i ull need to change this “else if” statement.
[AS]
             
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 6, 2006,  6:10am
                   
                  10 
               
             
            
              onegaishimasu.
Arigato
Obrigada
hmm…I hope I got one of them right!!:))(would you please let me know?)
Your first answer was what I was looking for and there’s not so many ways to thank someone that help me SO MUCH!!
Have a great day!! And thank you, again:))
             
            
              
            
           
          
            
            
              LOL your welcome
onegaishimasu=please
Ookini is how people say thank you in and around Kyoto!
edit:: it wont let me type SH I*T as part of a word??
             
            
              
            
           
          
            
              
                Brisa  
              
                  
                    April 6, 2006,  6:23am
                   
                  12 
               
             
            
              sh it  happens…hehehe…
Thanks for the time, answers and Japanese lessons too…hehehehehhe
Brisa