Enemy cant be hit?!?!?!

My problem is that when the shot fired by the player "hits" the enemy, the enemy will not go away. I am making a Galaga like game and it is really confusing me as to why this isnt working. Any advice would be awesome!
He is my code:
//Main.java
import java.applet.*;
import java.awt.*;
import java.util.*;
public class Main extends Applet implements Runnable
     private Thread th;
     private Player player;
     private Shoot[] shot;
     private Enemy enemy;
     private int appletsize_x = 300;
     private int appletsize_y = 300;
     int enemySize = 15;
     boolean enemyHit;
     //Speed constants
     private int shotSpeed = -2;
     private int playerRightSpeed = 2;
     private int playerLeftSpeed = -2;
     private int enemySpeed = 1;
     //Player flags
     private boolean playerLeft;
     private boolean playerRight;
     //double buffering
     private Image dbImage;
     private Graphics dbg;
     public void init()
          player = new Player(150,280);
          shot = new Shoot[7]; //allows 7 shots to be fired at once
          enemy = new Enemy(150,125);
          enemy.setEnemySize(enemySize);
          setBackground(Color.black);
     public void start()
          th = new Thread(this);
          th.start();
     public void stop()
          th.stop();
     public void destroy()
          th.stop();
     public void run()
          Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
          while(true)
               //test for number of shots
               for(int i=0; i<shot.length; i++)
                    if (shot[i] != null)
                         shot.moveShot(shotSpeed);
//******************************************************************************************************I believe the probelm is here!!!********************************
                         if((shot[i].getX_Pos() == (enemy.getX_Pos()+20)) && (shot[i].getY_Pos() == (enemy.getY_Pos()+20)))
                         enemy.setEnemySize(0);
                         repaint();
                         shot[i] = null;
                         enemyHit = true;
                         if(shot[i].getY_Pos() < 0)
                              shot[i] = null;
                         }//end else if
                    }//end if
               }//end for
               //new enemies/targets
               if(enemyHit == false)
                    if (enemy.getX_Pos() > appletsize_x - enemySize)
                    // Change direction of enemy movement
                    enemySpeed = -1;
                    // enemy is bounced if its x - position reaches the left border of the applet
                    else if (enemy.getX_Pos() < 0)
                    // Change direction of enemy movement
                    enemySpeed = +1;
                    try
                         Thread.sleep(5);
                         enemy.moveEnemy(enemySpeed);
                    catch(Exception ex)
                    repaint();
               if(playerLeft)
                    player.moveX_Pos(playerLeftSpeed);
               if(playerRight)
                    player.moveX_Pos(playerRightSpeed);
               //repaint applet
               repaint();
               try
                    Thread.sleep(10);
               catch (InterruptedException ex)
                    //do nothing
               Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
     public boolean keyDown(Event e, int key)
          //Left key- moves player left
          if (key == Event.LEFT)
               playerLeft = true;
          //Right key - moves player right
          else if (key == Event.RIGHT)
               playerRight = true;
          //Space bar - fires shot
          else if(key == 32)
                         // generate new shot and add it to shots array
                         for(int i=0; i<shot.length; i++)
                              if(shot[i] == null)
                                   shot[i] = player.getShot();
                                   break;
          return true;
     }//end of keyDown
     //if fire is not being pressed do this
     public boolean keyUp(Event e, int key)
          if(key == Event.LEFT)
               playerLeft = false;
          else if(key == Event.RIGHT)
               playerRight = false;
          return true;
     public void update (Graphics g)
          if (dbImage == null)
               dbImage = createImage (this.getSize().width, this.getSize().height);
               dbg = dbImage.getGraphics ();
          dbg.setColor (getBackground ());
          dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
          dbg.setColor (getForeground());
          paint (dbg);
          g.drawImage (dbImage, 0, 0, this);
     }//end of update
     public void paint(Graphics g)
          player.drawPlayer(g);
          enemy.drawEnemy(g);
          //draw shots
          for(int i=0; i<shot.length;i++)
               if(shot[i] != null)
               shot[i].drawShot(g);
               }//end of inner if
          }//end of for
     }//end of paint
}//end of class

Here is the main class again and the enemy class. Please help!
//Main.java
import java.applet.*;
import java.awt.*;
import java.util.*;
public class Main extends Applet implements Runnable
     private Thread th;
     private Player player;
     private Shoot[] shot;
     private Enemy enemy;
     private int appletsize_x = 300;
     private int appletsize_y = 300;
     int enemySize = 15;
     boolean enemyHit;
     //Speed constants
     private int shotSpeed = -2;
     private int playerRightSpeed = 2;
     private int playerLeftSpeed = -2;
     private int enemySpeed = 1;
     //Player flags
     private boolean playerLeft;
     private boolean playerRight;
     //double buffering
     private Image dbImage;
     private Graphics dbg;
     public void init()
          player = new Player(150,280);
          shot = new Shoot[7];
          enemy = new Enemy(150,125);
          enemy.setEnemySize(enemySize);
          setBackground(Color.black);
     public void start()
          th = new Thread(this);
          th.start();
     public void stop()
          th.stop();
     public void destroy()
          th.stop();
     public void run()
          Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
          while(true)
               //test for number of shots
               for(int i=0; i<shot.length; i++)
                    if (shot[i] != null)
                         shot.moveShot(shotSpeed);
//*********************I believe the probelm is here!!!********************************
                         if((shot[i].getX_Pos() == (enemy.getX_Pos()+100)) && (shot[i].getY_Pos() == (enemy.getX_Pos()-100))
                                   && (shot[i].getY_Pos() == (enemy.getY_Pos()-100)) && (shot[i].getY_Pos() == (enemy.getY_Pos()+100)))
                         //enemy.setEnemySize(0);
                         repaint();
                         shot[i] = null;
                         enemyHit = true;
                         if(shot[i].getY_Pos() < 0)
                              shot[i] = null;
                         }//end else if
                    }//end if
               }//end for
               //new enemies/targets
               if(enemyHit == false)
                    if (enemy.getX_Pos() > appletsize_x - enemySize)
                    // Change direction of enemy movement
                    enemySpeed = -1;
                    // enemy is bounced if its x - position reaches the left border of the applet
                    else if (enemy.getX_Pos() < 0)
                    // Change direction of enemy movement
                    enemySpeed = +1;
                    try
                         Thread.sleep(5);
                         enemy.moveEnemy(enemySpeed);
                    catch(Exception ex)
                    repaint();
               if(playerLeft)
                    player.moveX_Pos(playerLeftSpeed);
               if(playerRight)
                    player.moveX_Pos(playerRightSpeed);
               //repaint applet
               repaint();
               try
                    Thread.sleep(10);
               catch (InterruptedException ex)
                    //do nothing
               Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
     public boolean keyDown(Event e, int key)
          //Left key- moves player left
          if (key == Event.LEFT)
               playerLeft = true;
          //Right key - moves player right
          else if (key == Event.RIGHT)
               playerRight = true;
          //Space bar - fires shot
          else if(key == 32)
                         // generate new shot and add it to shots array
                         for(int i=0; i<shot.length; i++)
                              if(shot[i] == null)
                                   shot[i] = player.getShot();
                                   break;
          return true;
     }//end of keyDown
     //if fire is not being pressed do this
     public boolean keyUp(Event e, int key)
          if(key == Event.LEFT)
               playerLeft = false;
          else if(key == Event.RIGHT)
               playerRight = false;
          return true;
     public void update (Graphics g)
          if (dbImage == null)
               dbImage = createImage (this.getSize().width, this.getSize().height);
               dbg = dbImage.getGraphics ();
          dbg.setColor (getBackground ());
          dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
          dbg.setColor (getForeground());
          paint (dbg);
          g.drawImage (dbImage, 0, 0, this);
     }//end of update
     public void paint(Graphics g)
          player.drawPlayer(g);
          if(enemyHit == false)
          enemy.drawEnemy(g, enemyHit);
          //draw shots
          for(int i=0; i<shot.length;i++)
               if(shot[i] != null)
               shot[i].drawShot(g);
               }//end of inner if
          }//end of for
     }//end of paint
}//end of class
Here is the Enemy class//Enemy.java
import java.awt.*;
import java.util.*;
public class Enemy
     private int x_pos;
     private int y_pos;
     private int radius;
     private int appletsize_x = 300;
     private int appletsize_y = 300;
     private int[] size = {10,15,12,8,9};
     //Constructor
     public Enemy(int x, int y)
          x_pos = x;
          y_pos = y;
     //Set the enemys size
     public void setEnemySize(int enemySize)
          radius = enemySize;
     //move the enemy left and right
     public void moveEnemy(int speed)
          x_pos += speed;
     //gets the y cords of the enemy
     public int getY_Pos()
          return y_pos;
     //gets the x cords of the enemy
     public int getX_Pos()
          return x_pos;
     //draw the enemy
     public void drawEnemy(Graphics g, boolean hit)
          if(hit == false)
               g.setColor(Color.white);
               g.fillOval(x_pos, y_pos, radius, radius);
}//close class                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Editing Keyframes of Movieclips in Flash Builder 4 just using Actionscript 3?

    Hi
    I'm developing a Flash-Game using the Flash Builder 4 with only Actionscript.
    So I have to generate all the MovieClip-Classes without using the IDE witch allows you to edit MovieClips with Mouse. I want to add a class on the stage witch extends MovieClip. This class represends a enemy or the player or something. If the Enemy get a hit or turn in a diffrent direction, it has to change his image.
    My Problem is, I dont't know how to manage the diffrent frames of the Timeline from that new class. I tried
    mc.gotoandstop(2); //change keyframe to another one
    mc.addChild(theSecondImage); //adding another sprite
    mc.gotoandstop(3); //change keyframe to another one
    mc.addChild(theThirdImage); //adding another sprite
    … //and so on
    after placing it (the mc) on the stage, it tried
    public function changeImage(nr) {
    mc.gotoAndStop(nr);
    but it doesent't work
    It seems like its doesn't matter on witch frame i add the Sprite.
    Have anybody an Idea how to work with MCs and edit the timeline WITHOUT using the IDE from Adobe Flash CS5?
    Greetings

    Having the same problem with a Java REST service using HTTPS requests, Adobe Air appears to ask to verify the certificate with every single request on windows ???  and on mac after accepting the certificate  we do not get a result?

  • Jamming with the Arpeggiator not right

    So I know how to set up the arp in logic no problem, also delay lines and all that good stuff, the problem is this. On other Arps I can jam by playing arped notes very quickly then holding down the note when I want the arp to work.
    In logic this is not working, for example when set to 16th notes if I press a key real quik it plays 2 16th notes, I want to be able to play just one note when the arp is active, then hold down the key for arpeggiated notes. The weird thing is that after it is recorded into logic it plays back right.
    I don't have this problem with any other arp I have ever used, why is this happening and how can I fix it? If I program the same thing I play live in the piano roll it works right, but on input from my padkontrol or midi keyboard it does not work right.
    Anyone else having this problem..
    A good example is cubase. There is something called the apache arp and it works perfectly I can jam normally one note at a time and then hold the note longer for rolls or crazy 64th notes, in logic it wont work, If I hold a note for no time at all it plays like 2 16th notes or an entire 32nd note roll yet on other arps I can play real short notes to keep the arp from playing multiple notes then hold down for arped notes, hopefully you understand and can help.
    Thanks
    Message was edited by: themanwiththemasterplan

    I have resprted to using the padkontrols note repeat (Roll) function, I am dealing with the arpeggiators shortcomings but if it were not for the roll function in the padkontrol I would be pretty upset about it.
    I think what is happening is that when connected to the instrument track the arpeggiator is actually playing the note off messages, it is the same thing for touch tracks you cant just hit your keyboard using a very short note and just play the first note of the region of the touch tack even in gate mode, it either plays the note off messages or is not receiving my midi note length correctly.
    If it were not for these things I would be in heaven with logic, don't get me wrong the arp and touch tracks are still great they just don't function like I think they should. I rally hope it is something I am doing.
    Please if anyone has the same issue and knows what to do please let me know.
    Thanks

  • Logical error

    hi , how are you all ?
    i made game in 1 stage and it works  without errors but i have problem and here are some pictures then i will insert the code
    first there is 1 hero, and enemy .and 1 portal 
    when you touch the enemy it  will hit you and you gonna lose hp until death 
    like here
    [url=http://www.gulfup.com/show/X9e9628ecxzc4cw][img]http://im18.gulfup.com/2012-08-11/1344659217691.png[/img][/url]
    but there is a portal that you can use it for kill the enemy (the pat )
    here
    [url=http://www.gulfup.com/show/Xs6ria103sf4gw][img]http://im18.gulfup.com/2012-08-11/1344659218552.png[/img][/url]
    but the problem is : the enemy still hitting you ?? i dont know why ? i remove it and all its events
    but it,s still in the stage ??
    here is the code  of the MAIN class and its placein document file
    [url=http://www.gulfup.com/show/X9e9od31np68sgg][img]http://im17.gulfup.com/2012-08-11/1344660833131.png[/img][/url]
     package  {
    import flash.display.MovieClip;
    import flash.events.Event;
    public class MAIN extends MovieClip {
      public function MAIN() {
    addEventListener(Event.ADDED_TO_STAGE,onAddedToStage)  
    public function onAddedToStage(event:Event):void
    addEventListener(Event.ENTER_FRAME,onEnterFrame )
      addEventListener(Event.REMOVED_FROM_STAGE,onRemovedFromStage)
    private function onRemovedFromStage(event:Event):void
       removeEventListener(Event.ENTER_FRAME, onEnterFrame);
       removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
       removeEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);
       trace("player removed");
      public function onEnterFrame (event:Event)
        if (hero.hitTestObject(bat1))
         healthbar1.width -=1
        if (healthbar1.width >=  80 && healthbar1.width <=  100 ){
         zelda1.gotoAndPlay(1)
        if (healthbar1.width >=  60 && healthbar1.width <=  80){
         zelda1.gotoAndPlay(2)
        if (healthbar1.width >=  40 && healthbar1.width <=  60){
         zelda1.gotoAndPlay(3)
        if (healthbar1.width >=  20 && healthbar1.width <=  40){
         zelda1.gotoAndPlay(4)
        if (healthbar1.width >=  0 && healthbar1.width <=  20){
         zelda1.gotoAndPlay(5)
        if (hero.hitTestObject(portal2)){
         var map2:MAP2 = new MAP2
         addChild(map2)
         if(map1.stage){
         removeChild(map1)
         if (hero.hitTestObject(portal3)){
          var map4:BACKGROUND = new BACKGROUND
          if(bat1.stage){
         removeChild(bat1)
         bat1.removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    and here is the bat class
    [url=http://www.gulfup.com/show/X34r84djied4w0s][img]http://im17.gulfup.com/2012-08-11/1344660833422.png[/img][/url]
    package  {
    import flash.display.MovieClip;
    import flash.events.Event;
    public class BAT1 extends MovieClip {
      public function BAT1() {
       addEventListener(Event.ADDED_TO_STAGE,onAddedToStage)
      public function onAddedToStage(event:Event):void
    addEventListener(Event.ENTER_FRAME,onEnterFrame )
      addEventListener(Event.REMOVED_FROM_STAGE,onRemovedFromStage)
    private function onRemovedFromStage(event:Event):void
       removeEventListener(Event.ENTER_FRAME, onEnterFrame);
       removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
       removeEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);
       trace("bat removed");
      public function onEnterFrame (event:Event)
    thats all , also iam sure about that(the pat has removed because i saw this in trace message)
    bat1 removed
    here
    [url=http://www.gulfup.com/show/X9e9w762dv5cs4k][img]http://im18.gulfup.com/2012-08-11/1344661317721.png[/img][/url]
    thank you
    (yeah right the images dont work auto i dont know why , but you can just click it then it will work )
    thanks again)

    sorry i mean (bat removed) you can take a look at the last photo and it,s in the bat1 class
    private function onRemovedFromStage(event:Event):void
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
    removeEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);
    trace("bat removed");
    thank you for your replay

  • HD6850 Cyclone default Vcore ?

    Hi. I have question about "real" default voltage of this card. I know stock vcore of hd6850 should be 1,149v, but my card working at 1,049v. The card is very stable at this voltage, also i can oc her to 900mhz and is very stable too. All higher clocks are unstable, then i forced constant voltage to voltage what should be from start - 1,149v. That helped me up my core to 950mhz. But my question is why this card is undervolted by default ? I checked my bios with RBE and checked older version of bios... then surprise. Older bios from older revision have set properly default voltage 1,149v. Why MSI undervolt this card in new bios, and blocking real OC potential. Not all people like to use MSI Afterburner, and forcing constant voltage.
    My bios is 013.012.000.028.000000 (113-xxx-xxx) --- > default Vcore 1,05 max default oc 900mhz
    Older bios (i tested and working) 013.011.000.002.000000 (AD03000.100) --- > default vcore 1,15v max default oc 950mhz
    By the way, great card. I checked some reviews before i bought her and people getting 990-1000mhz at 1,2-1,25v (some cant even hit 1ghz with 1,3v) and bumping memory/aux voltage. My card working fully stable 1000/1200 at 1,174 24hrs but can  pass 2-3 rounds 3d mark at 1ghz/ 1,149v   That is normal score for this card or i have lucky one ?
    Thank you in advance for the explanation !! Regards

    I always use "force constant voltage" when i bumping vcore becouse setting without just doesn't work on my card. Thats bad because card always working on 1,174 even on 2d. In older bios the option is working perfect, i can easily set voltage without "force". I dont know why. But when i opening my bios with RBE the default "voltage" pole is blank, just --.Im just using Afterburner to monitoring. The older bios have properly 1.15. Meybe thats why 2d/3d powerplay working on older bios  Anyway you can look at them,  both bios are uploaded on TechPowerUp. This is mine http://www.techpowerup.com/vgabios/108398/MSI.HD6850.1024.110824.html
    and this is the "older" one http://www.techpowerup.com/vgabios/95089/MSI.HD6850.1024.110103.html
    Im not sure about temps, meybe im wrong but anyway difference was big when i ran test without touching Voltage (default of my card then), and with forced 1,149v.
    If you want proof or something, no problem. I can upload images but not today. Im going sleep soon, but tomorrow i upload something, or i make a video with cellphone. Im little shocked how easy my card overclocking, thats why im posting here, not becouse to listening praises or congratulations   Its my first "mid-end" card in my life and i dont even thinked about 1ghz core before i bought them. Its real giant difference after change from HD4850 which i never oc'ed higher than 730 on core  
    Btw. i dont like furmark. OCCT with shader complexity 3 and error check DX9 at 1080p is far better to stability. To burn in card i using DX10 mode. Card hitting ~90c after 4-5 minutes :D

  • PC freezes During gameplay

    ok i have a small problem.
    when playing a 3d heavy game like battlefield vetinam. my computer will just freeze, no noise, no beeps no nothing it just freezes. and i cant even hit the power button i can only hit the reset button. and after i hit reset i notice the D-Bracket with the LED lights not all green, 1,3,and 4 are orange, and 2 is green
    which in the book says its a "memory detection test" and "testing onboard memory size the D-LED will hang if the module is damaged or not installed properly"
    i have 2 sticks of 512 ram 266 buss that i took out of my dell, andmy chip is a 2.6ghz p4 400 buss that im actually switching today to a p4 3.0 800 buss
    could i have bad ram or maybe the 266 buss is to weak?, or a memory leak?
    help?

    Update, I just Tried some Old 266MHZ RAM with the 800MHZ Bus CPU in Single Channel Mode, And I WAS ABLE to POST with the 266MHZ Memory, But When I tried it again in Dual Channel Configuration it was a "No-Go" But uppon reading the FAQ's at the top of this Page, I see where 266MHZ RAM is Indeed Supported with a 800MHZ CPU. So My initial Reply was indeed False , But I am sure that you will not be Liking the Performance hit that you will Take with using 266MHZ RAM with a 800MHZ Bus CPU...As a Matter of Fact, your System just might Be SLOWER with your New 3.0GHZ CPU then it was with the 400MHZ Bus CPU while using DDR-266 RAM, but give it a try.............Sean

  • Does verizon cut customers fios speed slightly after 1 yr of beating the advertised speed??

    i have always checked my download speed on a regular basis and have been so pleased to beat the advertised speed.
    for exactly 1 yr ive averaged about 20.6 download (and sometimes up to 22!) speed on both my wired desktop and also my wireless laptop.
    now suddenly after a yr of sevice,my speed has been reduced for the past 1 week.i can get 19 mb max but i cant ever hit 20mb anymore...i have read postings on other boards claiming verizon makes sure to beat the advertised speed to make
    sure new customers are happy with the service.
    i cant help but wonder since i just hit the 1 yr service time,if my speed has been cut slightly by verizon(i hope not).
    this happened on 2 different computers at the same time and if i had a faulty fios connection,my speed would drop by more then just 1.5 mb.
    i hope i can  soon get back to my 20 mb speed that i always been so happy with.

    As long as I've had FiOS, I've never had that happen nor have I ever heard of it happening and, Verizon gains nothing by intintionally doing it.
    1MB drop isn't a drop, and you can't get a consistant read using 3rd party tests. I can use DLS or Speakeasy and get great variances hitting all of their servers.
    The only thing you can test that is consistant is Verizon's speed test to know what you're getting between you and Verizon.  Once you get on "the hwy" there are too many variables in traffic and servers.
    Of course, you shold also check to see if you coujld stand a tweek or 2.  There are some easy network tweeks that every PC needs when on a high speed network.

  • I have extremely slow internet on battery power

    When i unplug my MBP the wireless internet gets extremely slow - sites is loading very slow. There is nothing when i use a cable. I connect to a airport extreme.
    Message was edited by: jmmm

    Tried with no success.
    Seriously, when a PC sat next to me can download Windows 7 SP1 faster than I can download Facetime on the Mac, Apple have seriously screwed up and I am not happy
    Mac:
    http://www.speedtest.net/result/1178259379.png
    PC:
    http://www.speedtest.net/result/1178266715.png
    I know the difference is neligable at the moment but it shows what I mean. At times the PC can be hitting 3.5Mbps yet the Mac cant even hit 1Mbps
    Message was edited by: Evostance
    Message was edited by: Evostance

  • All of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any

    all of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any file or library that has anything to do with itunes except safari and quicktime are fine. im about to pull out whats left of my hair.

    Okay, that's got one thing ruled out at least.
    Can you check something for me, big? I'd like to see if iTunes launches with the Bonjour Service disabled.
    In your Start menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Perhaps maximise the screen to better see what's going on.)
    Right-click the Bonjour Service and select "Properties".
    In the General tab, set the Startup type to "Disabled":
    ... and click OK.
    Restart the PC and try launching iTunes. Does it open this time?

  • Cant get sw to load /re-load -accidently hit cancel

    was loading sw when I hit cancel.
    Now cant get it to load again/reload.
    Suggestions??

    Welcome to Apple Discussions.
    Uninstall iTunes and the iPod software updater in Add/Remove Programs from the Control Panel, if any, and try installing them again. Recommend to download the latest versions from the Apple site instead of using the programs from the CD.

  • Ipad will work when you hit home and then slide the unlock bar - then when you get to the homepage, nothing works - not the home button, it wont rotate, scroll, cant choose icons...nothing.  help!

    Ipad will come on when you hit home and then slide the unlock bar works fine - then when you get to the home page where the icons are, nothing works - not the home button, it wont rotate, scroll, cant choose icons...nothing.  help!

    The home button is the main button off the screen - where is the sleep button?  When I hit home I only see the lock slider (its black) and a button that has a flower on it that pulls up photos we took that are on the ipad.  Thanks for your help!

  • Purchased Tap Tap Revenge Tour, Tap hit 6-pack  but i cant find it in the app.

    so yeah. i downloaded the tap tap revenge tour app and purchased a 6 pack hits and i cant find it. help pls?

    Yu can't find the app on yur iPod?
    Or you can't find the in-app 6-pack in-app purchase?

  • HT201269 I have lost all my contact details on my iphone 4s and I cant get them back even after hitting restore button.

    I have lost all my contact details on my iphone 4s and I cant get them back even after hitting restore button.

    This might be because that your game update or other software automatic update killed your contacts. You should make a frequency and regular backup for your iPhone so that all the data could be renewed to your backup data. Whenever you lost iPhone data, you have a choice to restore from iTunes. That is easy and free.
    However, this is not the end of the world if you don't have any backup of your iPhone contacts, you can recover contacts with iPhone data recovery software, but that need you to pay for it. So making a backup is a good habit.  Do you know how to use iPhone data recovery software to recover iPhone contacts without backup? If not, you can search in YouTube to get step-by-step guide to recover iPhone contacts from iPhone without backup. This is such an example: How to Recover iPhone Contacts - Step-by-step Guide.

  • HT1766 Problems with iPad (3rd generation) i had a pop up on my screen saying i hadnt backed up in 4 weeks i hit ok and the pop up wont go away and now another with the same message has appeared and that wont go either, i cant unlock the ipad because of t

    i had a pop up on my screen saying i hadnt backed up in 4 weeks i hit ok and the pop up wont go away and now another with the same message has appeared and that wont go either, i cant unlock the ipad because of these and i dont think it's backing up properly either
    HELP!!

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I accidentally moved my hit counter below the page, i cant get it back

    i dragged the hit counter down, and a song down below the page and now i cant scroll down to move it back. I need my hit counter back, and i need my annoying song gone. please help!

    How about making a new text box, filling it with a little typing garbage. Then with this text box selected, move it down and down until your missing items are visible.
    Before deleting them from their current positions, move them up high enough to get above the lowest point on your page before moving this text box down. Once up in the normal page area, then you can delete them and/or move to a normal spot. Once you delete your garbage text box, your footer margins will move back up to their higher location.

Maybe you are looking for