I need help trouble shooting my 2 apple TV set up in home.

I have 2 Apple TVs in my home.  One Gen1 and 1 Gen2.  The gen1 is working fine with home sharing and finding the movies, etc.  But the gen 2 is not showing up in iTunes under devices and I can't get it to pull down the content (movies, songs, etc).  What should I do?

ATV1 doesn't use Home Sharing but ATV2 does.
ATV1 was set up using an onscreen code you entered in iTunes for that device.
On ATV2 as you set up Home Sharing credentials on the unit it then finds Home Shared itunes libraries without the numeric code step.  Consequently ATV2's never show in Devices (unless restoring them over USB).
ATV1 had a hard drive to store contemt. ATV2 has solid state memory and only a small amount so cannot store any content permanently like ATV1. ATV2 only streams.  Do you see the iTunes library under the Computers column?

Similar Messages

  • Need help trouble shooting on how to fix my MacBook Pro so it will start

    Ok, this is going to be a bit of a long one, cuz there are a good amount of details that go into the problem and how I have tried to fix it.
    To start, late last summer I got my Macbook Pro 15" with high resolution anti-glare, 500 GB X 7200 RPM hard drive, and everythin else standard.
    Next part of the story is that i decided to upgrade from my 3-year-old iPhone 3GS. So I preordered an iPhone 5 (never doing that again), and finally received it 10/05/12.
    Wanting to synch my new iPhone 5 ASAP so I could fully play with it, I finally synched my old iPhone 3GS with my MacBook Pro for the first time. I had not previously synched it with my MacBook Pro, because all of the songs and stuff that were on it were from being synched with my family's desktop (from maybe a year or so ago; I don't synch my phones often.). I also had been lazy this whole time in not transferring the songs and stuff from the desktop to my MacBook Pro, so thats why I didn't synch my 3GS, because I didn't want to lose that stuff on my phone until I had made time to transfer the data. Because of this, I didn't use iTunes that much and I updated it only 2 or 3 times over the year that I had if before I got my iPhone 5.
    After synching my old phone, I then tried synching the i5, but an iTunes pop up said that I needed to update to iTunes 7.0 in order to synch the new phone.
    So I canceled the pop-up, and checked the updates in iTunes, and selected update (I can't remember what it said I was updating to, but I don't think it was 7.0).
    After it started updating, it asked if I wanted to update something something else (I think it was an iOS update or something thing like that.).
    I select update, because it looks legit, and why not update the whole computer when I'm taking the time to update iTunes? So the 15-20 minute installation estimation time turns into 2 hours (I think that it said that there was 2GB of update, but not sure.).
    At that time, I think of how I don't remember if the update was 7.0 or not (maybe 6.9 or something like that was my thought.). So I tried to re-synched my i5 to make the pop up for iTunes 7.0 to come up. It came up, and I clicked the link to take me to Apple's site. I clicked the update to iTunes 7.0, and it started downloading from the internet, and it gave some download estimation time. Remember that the other iTunes and iOS thing was still updating while iTunes 7.0 was downloading. The problem was that I had to go to work a few minutes before the download of the iTunes 7.0 from Apple's site would complete and 1.5 hours before the other updates would finish. So I just left my MacBook Pro open, running, and updating/downloading.
    After work, I checked my laptop, and it said something about finalizing the installation. So I hit that button to finalize or whatever it said, and it starts finalizing.
    After waiting 10 or so minutes I check my MacBook Pro again, and it says that it needs to restart to complete the process. So I hit the restart button on the pop up.
    It restarted, and against a blue screen there was a grey pop up that said that there was some error or something like that in the installation and that I needed to restart the computer again. There was only one button on the pop up, and it was the "Restart" button. So I pressed it, and it restarted again.
    However, it didn't fully boot up (and to this day still doesn't) and get past the grey screen with the apple and the spinning gear thingy underneath it.
    After like 20 minutes, I did a forced shut off, and rebooted while holding the option button to see if I could start my Windows side, since I have my computer bootcamped, though I haven't used Windows on it yet. The three options appeared: Windows something, Macintosh something, and Recovery HD. I clicked the Windows button, and after loading and stuff, Windows was running and working. So I'm pretty sure that my problem isn't a hardware problem, but a software problem.
    So I asked a friend who is studying to be some kind of computer guy, and he suggested that I put in the Mac iOS X disk that I got with my MacBook Pro when I start up and try to get to Disk Utility. I did that, and was able to get to Disk Utility. And as he instructed, I (on the First Aid tab, I think) pressed "Verify Disk". He said that it started to look for problems and stuff. Then when it was done, I pressed the "Repair Disk", and he said it started fixing those problems. After it was done, I performed another forced shut off. I then turned my MacBook Pro on with crossed fingers, but it was still stuck on the gray screen with the apple and the gear.
    He then suggested that we try to start it in Safe Mode, so we researched how to do it on my family's desktop. I tried holding Shift after the turn on tone and releasing it when the spinning gear appeared, but that didn't work. I'm still not sure if that's the right way to start in safe mode.
    So right now I don't have any other ideas, besides spending money to get it fixed, which I don't want to do, cuz I'm not rich and I work hard for all these fancy toys.
    It ***** to have the joy of getting the newest iPhone overshadowed by my MacBook Pro not working.
    Someone, please help!!!

    First off your older OS X boot disks are no good as you upgraded OS X to a later version.
    When you held the option key down at boot, this entered Startup Manager and by what your describing you have Recovery HD, Macintosh HD (your OS X boot partition), and Windows BootCamp partition.
    To repair the drive, you enter Recovery HD and use Disk Utiltiy there to repair the Macintish HD partition.
    You also use Recovery HD to reinstall OS X 10.7 or 10.8 from Apple's servers, this should fix your problems without deleting your programs or files. (some third party with at boot kernel extension ones will have to be reinstalled)
    All you need to know is here
    Step by Step to fix your Mac
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • Need help trouble shooting psinfo

    Folks... I am confused... I need to programatically read the command line arguments in /proc/<pid>/as.
    For 2 processes I get the message "as open: Permission denied". The processes are
    smmsp 366 1 1 1 0 Jun 20 ? 0:05 /usr/lib/sendmail -Ac -q15m
    AND
    root 367 1 0 Jun 20 ? 1:02 /usr/lib/sendmail -bd -q15m
    I am running my code as root... When I try using pargs I get the message "pargs: cannot examine 366: permission denied"
    Can anyone explain why it these 2 processes that are in trouble? Is this real?
    Thanx
    Siva

    Thanks for your suggestion regarding contacting Apple. I called the Express service and talked for a couple of hours trying to resolve the issues.
    One, to deal with the password issue, Keychain Access > Preferences > click on Reset My Default Keychain, close.
    For the original issue of mail downloading messesges from my server every time I checked mail,
    Library > Mail folder > messagealreadydownloaded3 > drag to trash. Issues resolved!!!
    As for creating a pretty good mess... well all I can say is that I was following suggestions from other users that have posted online with similar issue. Lesson learned??? Not sure if there was one:-)

  • Need help trouble shooting mail issue

    Mail issue started when the compter (imac intel, g4, os 10.6.8) said it needed to restart during a mail download. I restarted, then the mail program would not stop downloading older messages. I went online and followed a whole bunch of suggestions, which only made matters worse (preferences... drag com.mail.plist to desktop, add it back, rebuild mail) nothing worked. I then trashed the mail program, and trashed some of the mail cache (not wanting to lose preferences, I lett this cache). Then mail I could not access mail without the set-up assistant showing on screen. So... (digging a deeper and deeper hole!) I tried to restore mail from my time machine back-up (severl days prior to issue) and it did not help. I then reinstalled applications from snow leopard... not helpful. I then figured I could use migration assistant to copy my working mail program from my mac pro and this did not solve the issues. Of course all of this taking me away from my Christmas shopping:-)
    So, I tried to set it up manually, but the program will not save the password and it keeps asking for the password but rejecting it each time.
    Any ideas??

    Thanks for your suggestion regarding contacting Apple. I called the Express service and talked for a couple of hours trying to resolve the issues.
    One, to deal with the password issue, Keychain Access > Preferences > click on Reset My Default Keychain, close.
    For the original issue of mail downloading messesges from my server every time I checked mail,
    Library > Mail folder > messagealreadydownloaded3 > drag to trash. Issues resolved!!!
    As for creating a pretty good mess... well all I can say is that I was following suggestions from other users that have posted online with similar issue. Lesson learned??? Not sure if there was one:-)

  • I need help trouble shooting.... Screen/Monitor related.

    My monitor was going reddish/flickering and the backlight was going out so i can i could only barely see what's on the screen. The screen would also just blackout if it was on the brightest setting before. 
    A couple of days ago i replaced the CCFL backlight. No problems lights up nicely when the screen is not attached.  When i try to attach the screen to the hinges it will short out the lamp.  So basically, if the lcd frame (metal portion) touches the left or right hand sided "hinges or metal" that it screws into it will short hte lamp out.  I just have to put it back into sleep mode and then restart it w/o the lcd touching hte metal.  I've replaced the inverter, that did not help. 
    I am replacing the LCD cable when the part comes in.  The whole laptop is taken apart. I can not find any exposed wires.  Does anybody have anymore suggestions. I am out of ideas.
    T60, model 2007-64U, 14.1 screen.  HELP

    I give up!!!
    All parts don't fix the problem... I tried insulating the metal pseudo works... now the screen shuts off when its touched or moved. Different problems now....
    I have decided after a week and half of fixing and spending $50 in replacing CCFL, inverter, and LCD cable I am junking the T60 and leaving IBM/Lenovo.
    Going to go get a Mac Book Pro.  
    Cheers to everyone here... see ya.

  • Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error

    Dear All,
    I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server).  When I try to test the dblink connection, I get the following error.
    I issued select * from dual@xyz;
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
    ORA-02063: preceding 2 lines from xyz
    28546. 0000 -  "connection initialization failed, probable Net8 admin error"
    My setup is the following.
    1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
    2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
    3. I use the same listener.ora file for both the db and the gateway.
    4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          #(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    mssql =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=db.abc.com.tw)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME=orcl)
    SID_LIST_mssql =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME=dg4msql)
          (ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
          (PROGRAM_NAME=/u01/gateway/bin/dg4msql)
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.abc.com.tw)
    dg4msql  =
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
        (CONNECT_DATA=(SID=dg4msql))
        (HS=OK)
    /u01/gateway/dg4msql/admin/initdg4msql.ora
    HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=255
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    dblink was created using statement below.
    CREATE DATABASE LINK "xyz.abc.COM.TW"
    CONNECT TO SA IDENTIFIED BY
    USING 'dg4msql';
    Couple more things, that I have done to check the work above.
    [oracle@db admin]$ ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
    64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
    64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
    ^C
    --- 192.168.0.1 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1818ms
    rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
    [oracle@db admin]$ tnsping dg4msql
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
    OK (0 msec)
    [oracle@db admin]$ lsnrctl status mssql
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     mssql
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                11-SEP-2013 10:09:46
    Uptime                    0 days 0 hr. 44 min. 37 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
    1. When installing the gateway, it asks to run the root.sh script.  the root.sh script as for the following.
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: n
    is the above answer correct?
    Thanks for reading.

    Dear Klaus,
    I did start a new SQL*PLUS session
    The output of  /u01/gateway/bin/dg4msql is
    [oracle@db log]$ /u01/gateway/bin/dg4msql
    Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
    Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production  Built with
       Oracle Database Gateway for MSSQL
    The output of env is
    HOSTNAME=db.abc.com.tw
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    ORACLE_UNQNAME=orcl
    TMPDIR=/tmp
    QTDIR=/usr/lib64/qt-3.3
    QTINC=/usr/lib64/qt-3.3/include
    USER=oracle
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
    ORACLE_SID=orcl
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOSTNAME=db.abc.com.tw
    MAIL=/var/spool/mail/oracle
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
    PWD=/home/oracle
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HISTCONTROL=ignoredups
    SHLVL=1
    HOME=/home/oracle
    TMP=/tmp
    LOGNAME=oracle
    QTLIB=/usr/lib64/qt-3.3/lib
    CVS_RSH=ssh
    CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    _=/bin/env

  • I uploded the new itunes software and now my ipod touch is not getting reconized in my itunes. I went through all the trouble shooting support from apple. But I do have a avast antivirus on my computer i wonder if that is what is holding it up

    I uploded the new itunes software and now my ipod touch is not getting reconized in my itunes. I went through all the trouble shooting support from apple. But I do have a avast antivirus on my computer i wonder if that is what is holding it up

    Could be since it (security software) is listed as #5 in the following:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Hii i need help i cannot use my apple id for download on app store because they say i need to verify my account but i don't know how so please somebody can help me? i try to resset my password but that don't help

    hii i need help i cannot use my apple id for download on app store because they say i need to verify my account but i don't know how so please somebody can help me? i try to resset my password but that don't help

    is it asking for ur security questions?

  • HT4865 I need help findin my sons iPod n I set up with different iCloud account n never installed find my device n location map is off how do I locate device

    I need help findin my sons iPod n I set up with different iCloud account n never installed find my device n location map is off how do I locate device

    Jenniferp27.jp wrote:
    ...n never installed find my device n location map is off how do I locate device
    Then you cannot locate it electronically.
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668

  • I need help authenticating my outgoing server settings in setting up my work email on my Galaxy S5.  It says unable to authenticate or connect to server and I even called helpdesk at my email support and they tried every possible port (80, 25, 3535 or 465

    I need help authenticating my outgoing server settings in setting up my work email on my Galaxy S5.  It says unable to authenticate or connect to server and I even called helpdesk at my email support and they tried every possible port (80, 25, 3535 or 465 SSL) and none of them work. Please help!

    You will need to get the required info to create/access the account with an email client from your school.
    Are you currently accessing the account with an email client on your computer - if you have a Mac with the Mail.app, or if you have a PC with Outlook Express, etc.? If so, you can get the required account settings there.

  • I need help with shooting in my flash game for University

    Hi there
    Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
    listed below should be the correct code
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    listed below is my entire code
    import flash.display.MovieClip;
        //declare varibles to create mines
    //how much time before allowed to shoot again
    var cTime:int = 0;
    //the time it has to reach in order to be allowed to shoot (in frames)
    var cLimit:int = 12;
    //whether or not the user is allowed to shoot
    var shootAllow:Boolean = true;
    var minesInGame:uint;
    var mineMaker:Timer;
    var cursor:MovieClip;
    var index:int=0;
    var tankMine_mc:MovieClip;
    var antiTankmine_mc:MovieClip;
    var maxHP:int = 100;
    var currentHP:int = maxHP;
    var percentHP:Number = currentHP / maxHP;
    function initialiseMine():void
        minesInGame = 15;
        //create a timer fires every second
        mineMaker = new Timer(6000, minesInGame);
        //tell timer to listen for Timer event
        mineMaker.addEventListener(TimerEvent.TIMER, createMine);
        //start the timer
        mineMaker.start();
    function createMine(event:TimerEvent):void
    //var tankMine_mc:MovieClip;
    //create a new instance of tankMine
    tankMine_mc = new Mine();
    //set the x and y axis
    tankMine_mc.y = 513;
    tankMine_mc.x = 1080;
    // adds mines to stage
    addChild(tankMine_mc);
    tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal(evt:Event):void{
        evt.target.x -= Math.random()*5;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseMine();
        //declare varibles to create mines
    var atmInGame:uint;
    var atmMaker:Timer;
    function initialiseAtm():void
        atmInGame = 15;
        //create a timer fires every second
        atmMaker = new Timer(8000, minesInGame);
        //tell timer to listen for Timer event
        atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
        //start the timer
        atmMaker.start();
    function createAtm(event:TimerEvent):void
    //var antiTankmine_mc
    //create a new instance of tankMine
    antiTankmine_mc = new Atm();
    //set the x and y axis
    antiTankmine_mc.y = 473;
    antiTankmine_mc.x = 1080;
    // adds mines to stage
    addChild(antiTankmine_mc);
    antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
    function moveHorizontal_2(evt:Event):void{
        evt.target.x -= Math.random()*10;
        if (evt.target.x >= stage.stageWidth)
            evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
            removeChild(DisplayObject(evt.target));
    initialiseAtm();
    function moveForward():void{
        bg_mc.x -=10;
    function moveBackward():void{
        bg_mc.x +=10;
    var tank_mc:Tank;
    // create a new Tank and put it into the variable
    // tank_mc
    tank_mc= new Tank;
    // set the location ( x and y) of tank_mc
    tank_mc.x=0;
    tank_mc.y=375;
    // show the tank_mc on the stage.
    addChild(tank_mc);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
    //creates the movement
    function onMovementKeys(evt:KeyboardEvent):void
        //makes the tank move by 10 pixels right
        if (evt.keyCode==Keyboard.D)
        tank_mc.x+=5;
    //makes the tank move by 10 pixels left
    if (evt.keyCode==Keyboard.A)
    tank_mc.x-=5
    //checking if the space bar is pressed and shooting is allowed
    if(evt.keyCode == 32 && shootAllow){
        //making it so the user can't shoot for a bit
        shootAllow = false;
        //declaring a variable to be a new Bullet
        var newBullet:Bullet = new Bullet();
        //changing the bullet's coordinates
        newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
        newBullet.x = tank_mc.x;
        //then we add the bullet to stage
        addChild(newBullet);
    if (tank_mc.hitTestObject(antiTankmine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(antiTankmine_mc);
    if (tank_mc.hitTestObject(tankMine_mc))
            //tank_mc.gotoAndPlay("hit");
            currentHP -= 10;
            // remove anti tank mine
            removeChild(tankMine_mc);
        //var maxHP:int = 100;
    //var currentHP:int = maxHP;
    //var percentHP:Number = currentHP / maxHP;
        //Incrementing the cTime
    //checking if cTime has reached the limit yet
    if(cTime < cLimit){
        cTime ++;
    } else {
        //if it has, then allow the user to shoot
        shootAllow = true;
        //and reset cTime
        cTime = 0;
    function updateHealthBar():void
        percentHP = currentHP / maxHP;
        healthBar.barColor.scaleX = percentHP;
        if(currentHP <= 0)
            currentHP = 0;
            trace("Game Over");
        updateHealthBar();

    USe the trace function to analyze what happens and what fails to happen in the code you showed.  trace the conditional values to see if they are set up to allow a shot when you press the key

  • Need help with rented movies and Apple TV

    I rented two movies from the iTunes Store from my laptop rather than my Apple TV. I cannot get the rented movies to show up on my Apple TV. I've tried to "move" the two movies from my laptop to Apple TV via the Apple TV tab in iTunes where it shows both movies under a "Rented Movies" section and gives me the option to "move" each one to my Apple TV, but when I click on each movie to move it to the Apple TV and then hit "Apply," nothing happens (at least as far as I can tell). Is there someplace special I need to find rented movies using my Apple TV remote? I clearly need help, please!

    Hi Winston,
    I have purchased the third generation of Apple TV but have not installed it yet, so I am still using my second generation Apple TV, for which I posed this question. Is the answer different when using Apple TV II?

  • Need Help down loading Flash on Apple Mini Mac

    Lost my User name & pass word & am unable to down load flash version 8 or better,,, totally computer illiterate & need HELP !

    Hi Michael,
    Please see What userid & password do I need to install Flash Player?.
    Maria

  • I need help with re installing my apple account for itunes.

    Had problems with my itune account, so I uninstalled and now need help with re-installing the program with the songs I have already purchased.

    Your iTunes account is something at the iTunes Store online.  It is not possible to uninstall it.  Do you mean the iTunes application?  Even if you delete the application and restore it, it should not have deleted your iTunes library (essentially the contents of the iTunes folder in Music) on your computer unless you did a separate steep and specifically deleted that too.  You need to tell us what it was you deleted.

  • 30p with a Canon XA10 - need help with Final Cut 7 "FIELD DOMINANCE" setting and an explanation of "drop frames". Thank you!!

    I shot footage using a Canon XA10 and there are issues with the HD quality not looking as crisp as it should.  I am trying to make sure the settings in Final Cut are right.  Need help confirming what should be in "Field Dominance" --- have seen discussions about making sure it's set to "none" but I'm confused as to what to do. 
    Also someone suggested I use "drop frames" to change from 30p to 24p within Final Cut.  He couldn't explain how to do it so any input appreciated as well as any thoughts on whether this is a good option to try.

    If you're shooting 30p, field dominance should be set to none.   Since you need to use log and transfer to bring this material in to fcp, I would assume it would be set correctly automatically.  Are you sure you've set the camera properly?
    Drop frames will not change 30 p to 24p.   Dropframe timecode simply refers to the number assigned to each frame which drops an occasional number (not any frames) so the timecode duration is the actual duration, since 30p videoi is actually 29.97 frames per second which each frame assigned a timecode number. 
    This is very basic video stuff and requires some basic knowledge of video.  Wikipedia is a pretty good resource for much of this stuff plus there are lots of great resources on the web.  Look up interlaced and progressive video, 24p and 30p. 
    And as far as judging quality, you can only get an accurate view of the quality in fcp when you have a video card attached to a video monitor.  The viewer and canvas are only an approximation of what the quality is.  Minimally, set the canvas or viewer to 100% to get a better approximation of the quality. 

Maybe you are looking for

  • Activate(maximize) Indesign Window

    Hi scripters, I have two window's minimized one is Adobe Indesign another one is Adobe Photoshop. Now I want to bring front or focus(maximize) Adobe Indesign. How can I do this? I am working with VB script windows xp. Thanks in advance regards a r u

  • ORA-01031: insufficient privileges when connecting by SQL PLUS 8.0 with sys

    From client, I use SQL PLUS 8.0 to connect to server: sys/password@MYDB1 as sysdba The error always raises "ORA-01031: insufficient privileges" I have done: - Set: remote_login_passwordfile=exclusive in tnsname.ora file - Uncomment: SQLNET.AUTHENTICA

  • BEx:Hierarchies in DIM and FAC are different for Cost Element

    Hi Experts, Whenever we execute a report we are getting a warning message as "Hierarchies in DIM and FAC are different for Cost Element", but in report level we are not maintaining hierarchy properties for Cost Element. We have executed Master Data t

  • Forward button on Captivate playbar

    Is there a way to highlight the Forward button in the Captivate playbar when the end of a slide is reached? I've noticed that other tools seem to have this capability and I would like to do something similar with my Captivate projects.

  • IPod Nano 4th GEN 8GB

    I want to put games on my nano I have an 160GB I use just for my music I'm wanting to use the nano just for games can that be done if so how can I get the games onto the nano I tried adding them like I do my songs but that don't seem to work at all c