How to go about optimising this class?

I'm rather new to actionscript, but I'm figuring it out as I go.
I am making a game. One of the primary features of this game is darkness. I chose to use tiles to represent areas outside the players sight range, this works great on a small scale. The problem is that once there's lots of darkness tiles it gets a bit laggy.
This is the class for light sources, currently its a proof of concept.. I plan on having in betweens later so its not just a true or false.
package
    import flash.display.MovieClip;
    import flash.events.Event;   
    public class LightEmitter extends MovieClip
        private var i:int = 0;
        private var closestH = 0;
        private var lightResistance = 0;
        private var brightness = 1;
        private var targetTile;
        private var baseSightLevel = 400;
        public function LightEmitter()
            this.parent.setChildIndex(this, 0)
            stage.addEventListener(Event.ENTER_FRAME, onJoinFrame);
        public function onJoinFrame(e:Event)
            //Hide darkness
            for (i = 0; i < MainDocument.darkTiles.length; i ++)
                targetTile = MainDocument.darkTiles[i][0]
                lightResistance = MainDocument.darkTiles[i][1];
                   if (Math.sqrt(Math.pow(targetTile.x-this.x, 2) + Math.pow(targetTile.y-this.y, 2)) < (baseSightLevel*brightness)/lightResistance)
                    targetTile.alpha = 0;
                else
                    targetTile.alpha = 0.6;
            this.x = parent.getChildByName("player").x
            this.y = parent.getChildByName("player").y
This is the class for a tile of darkness.
package
    import flash.display.MovieClip;
    public class Fog extends MovieClip
        var aDarkTile: Array = new Array();
        public function Fog()
            aDarkTile[0] = this;
            aDarkTile[1] = 1;
            MainDocument.darkTiles[MainDocument.darkTiles.length] = aDarkTile;
I need to load lots of tiles at a time in addition to any other elements of the game. (but I can unload, or at least hide, tiles that are off screen)
Any suggestions/tips/alternatives would be greatly appreciated.

enable the cacheAsBitmap property of your tiles and remove tiles that are no longer on stage.

Similar Messages

  • How best can i optimise this script

    I have a script the loops through a table and function. it works fine but it takes a longer time complete even though resources are given. the code below is just the same code i used how best can i represent it for speed even though i have all resources.
    For each_member in ( select from MemberTable where MemberID = 'ALL')*
    Loop
    Begin
    if Age >= 18 then
    hold:= 'Adult'
    end if;
    For Each_history in (select Acct,fx_function(each_member.ID,each_member.Acct) BR,
    Movement from History a where history_ID =each_member.Id)
    loop
    Begin
    insert into NewFilteredData (act,BR,mvt)
    values (Each_history.Acct,Each_history.BR,Each_history.Movement);
    end loop;
    end loop;
    end loop;
    commit;
    How best can i optimize this script to move data faster because they are a lot about 6000000 records to be moved.
    please help.
    Edited by: kama021 on Aug 25, 2009 12:48 PM
    Edited by: kama021 on Aug 25, 2009 12:48 PM

    Unless something is horribly wrong (i.e. the optimizer picks a radically incorrect plan), if you can do something in SQL, it will always be faster to do it in SQL. Doing things in PL/SQL, particularly using cursor FOR loops and single row inserts, is the slowest possible way to do anything (well, other than having nested FOR loops).
    Long before you start looking at things like the APPEND hint, I would focus on implementing a single SQL statement that generates the correct results. Once you have that and you have a benchmark, you can decide whether it is "fast enough". If it is (and I suspect it will be), you don't have to delve any deeper. If you need more performance, you can start looking into parallelism, the APPEND hint, etc. but be aware that this generally increases the complexity of the system.
    Justin

  • Not sure how to go about grouping this...

    Hello all and thanks in advance for any help you can offer. I'm sorry if this is a bit long winded, but I'm at my wits end.
    I'm using CRXI with SQLserver2000. I'm comfortable with SQL but new to CR which may be causing my problem.
    I've been asked to create a report of accounts closed, by salesperson for the prior 60 days. In addition, I need a count of new accounts brought in by those same salespeople during the same 60 day period. Individually, these two are not the issue.
    The third part is to create a count of new account statii by each sales person for the same new sales so the report would look a bit like this:
    Name     Accounts Closed Since 6/21/08     New Accounts Since 6/21/08
    SJohnson          10                    30
    Status:
    Open: 16
    Closed: 4
    Pending:9
    Declined:1
    JSmith          2                    16
    Status:
    etc.
    etc.
    It's the statii that are causing the trouble because they are all contained in the same field in our data. We'll call it: customer.dbo.info.CurrentStatus.
    There are 7 possible statii: Open, Closed, Declined, Deactivated, Discarded, Pending and ReOpened.
    I can get the sales data out of our sales dbase easily enough, and the statii from our customer data through SQL:
    select S.sRep as Rep, C.CurrentStatus as Status, count (*) as Count
    from sales.dbo.info A
    inner join customer.dbo.info C on S.pkSalesCallID=C.fkSalesCallID
    where
    S.SalesCallDisposition='Sold'
    and
    S.dtSold>'6/21/08'
    group by S.sRep, C.CurrentStatus
    order by S.sRep
    For the closed we have customer.dbo.table.customer.dtClosed This table also includes.sRep so finding the rep, the date closed and the count of the closed is no problem.
    select C.sRep as Rep, count(*) as Count
    from customer.dbo.info C
    where c.sStatus='Closed'
    and c.dtClosed>'6/21/2008'
    What I can't figure out is how in the world to make Crystal Display the data correctly. No matter what configurations, groupings, summaries or counts I try, I keep getting a huge mess when I try to add the various statii in the various sections of the report.
    I get Command as a view (I think) that has 3 columns. Rep, Status and Count.
    Then Command_1 that has Rep and Count. I don't really need that status here because it's only "Closed"
    I would think I'd be able to have my group1 be Rep and drag the Rep column out of the field viewer and that would give me my Rep Name. Then drag out Command_1 Count right beside it to get my Closed count. So far so good. This actually works just fine.
    But if I create a group 2 and summarize by count and try to drag out Status into the Group2 Header, I only get the first of the list, usually closed. If I drag it into the detail, I get something like:
    Closed      4
    Others     2
    Others     2
    And I have ABSOLUTELY no idea why. There is no "others" status in our system.
    Anybody have a clue?
    Thanks again for the help!

    Hi Mike,
    From the sounds of it,  in Crystal Reports:
    1. You should create a group on "Sales Person" (Insert|Group)
    2. For the totals on statii,  you can place those fields in the Details section and insert a summary (right-click on the field and Insert Summary) or create a Running Total (in the Field Explorer).
    3.  For the date range you can either insert a date parameter (in the Field Explorer) and add it to the record selection formula (Report|Selection Formulas|Record...)  or you can hard code the date in the record selection formula.
    The above is a quick overview of how I interpret the requirements for your report.
    Regards,
    Wallie

  • How i create object of this class

    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.print.PrinterException;
    import java.text.MessageFormat;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class vendor extends JDialog // probably best to use a JDialog, not a JFrame here
    // make some instance variables
    private String rows[][] =
    {"A", "a"},
    {"B", "b"},
    {"E", "e"}
    private String headers[] =
    "Upper", "Lower"
    private JTable table = new JTable(rows, headers);
    // here's the constructor.
    public MainClass(JFrame frame, String title, boolean modal)
    super(frame, title, modal);
    //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JScrollPane scrollPane = new JScrollPane(table);
    add(scrollPane, BorderLayout.CENTER);
    JButton button = new JButton("Print");
    ActionListener printAction = new ActionListener()
    public void actionPerformed(ActionEvent e)
    printActionPerformed(e);
    button.addActionListener(printAction);
    add(button, BorderLayout.SOUTH);
    setPreferredSize(new Dimension(300, 150));
    //frame.setSize(300, 150);
    //frame.setVisible(true);
    private void printActionPerformed(ActionEvent e)
    try
    MessageFormat headerFormat = new MessageFormat("Page {0}");
    MessageFormat footerFormat = new MessageFormat("- {0} -");
    table.print(JTable.PrintMode.FIT_WIDTH, headerFormat,
    footerFormat);
    catch (PrinterException pe)
    System.err.println("Error printing: " + pe.getMessage());
         public static void main(String x[])
    {new vendor();}
    }

    You have to call it from a JFrame or other root container:
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class UseDialog extends JPanel
        private JFrame frame = null;
        private MainClass myDialog = null;
        public UseDialog(JFrame frame)
            setPreferredSize(new Dimension(300, 200));
            this.frame = frame;
            JButton showDialogBtn = new JButton("Show Dialog");
            add(showDialogBtn);
            showDialogBtn.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    showDialogBtnAction(e);
        private void showDialogBtnAction(ActionEvent e)
            //*********** here is where it is called **************
            myDialog = new MainClass(frame, "My Dialog", true);
            myDialog.pack();
            myDialog.setVisible(true);
        private static void createAndShowGUI()
            JFrame frame = new JFrame("UseDialog Application");
            frame.getContentPane().add(new UseDialog(frame));
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public static void main(String[] args)
            SwingUtilities.invokeLater(new Runnable()
                public void run()
                    createAndShowGUI();
    }Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, place the tag &#91;code&#93; at the top of your block of code and the tag &#91;/code&#93; at the bottom, like so:
    &#91;code&#93;
      // your code block goes here.
    &#91;/code&#93;good luck

  • I have a restriction passcode that I have no idea what the passcode could be. I know that I need to reset the phone to factory settings but how do go about doing this without losing all of my contacts and other info, etc? (mainly contacts)

         At some point, I don't even remember doing this it must have been so long ago, I set a restrictions passcode on my phone. This has become a problem now because I have so many apps that I do not ever use that take up so much space I can no longer take pictures or put more music on the device. I have read that I need to restore to factory settings but that once I do that I cannot restore to a backup because restrictions passcodes are saved in backups. Is there any way for me to restore my phone to factory settings and then get all of my contacts and perhaps as much other data back as I can? I have tried every passcode I can think of for the restrictions passcode (24 times! to the point that ever time I try and fail I cannot try again for an hour. To say the least, this is quite frustrating as is limits what i can do with my phone on a daily basis, whether it be music or taking pictures and videos etc. Can someone please help me solve this problem without losing minimal data? I have already backed the phone up to my computer as well as iCloud. Even the woman at the apple store told me I had to restore it to factory but was too busy to get further into it and I didn't have a genius bar appointment. If all else fails I can make an appointment and go in there. I just thought I may as well ask on here first to see if there was a way I could do it myself. Thanks for reading and hope you can help me!
    -Mike

    You can't. Restoring new means everything is erased. If you have a backup made before creating a restriction code, then you can restore that backup, but none later.
    Placing your device into recovery (DFU-Device Firmware Upgrade) mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
       1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the
           other end of the cable connected to your computer's USB port.
       2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds
           until the red slider appears, then slide the slider. Wait for the device to turn off.
                  * If you cannot turn off the device using the slider, press and hold the
                    Sleep/Wake and Home buttons at the same time. When the device turns off,
                    release the Sleep/Wake and Home buttons.
      3. While pressing and holding the Home button, reconnect the USB cable to the
           device. The device should turn on. Note: If you see the battery charge warning,
           let the device charge for at least ten minutes to ensure that the battery has some
           charge, and then start with step 2 again.
      4. Continue holding the Home button until you see the "Connect to iTunes" screen.
           When this screen appears you can release the Home button:
      5. If necessary, open iTunes. You should see the following "recovery mode" alert:
      6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    If you have a problem getting into recovery mode then try: RecBoot: Easy Way to Put iPhone into Recovery Mode.
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • Mt.Lion operating system install down load on a flash drive. How would go about doing this.

    Looked up making my own install for Mt. Lion and found some related information. Use of a flash drive is perfered. I can down load from apple store, have allready. Any sight information you can suggest, or how to?

    http://www.macworld.com/article/161069/2011/07/make_a_bootable_lion_installer.ht ml

  • I have a password to open the content code file for the OS X Mt Lion Up-to-date program.  Does anyone know how I go about using this password to upgrade Mt Lion?

    I have a password issued by Apple to upgrade OS X Mt Lion.  I need help finding where I enter this password to get the upgrade.  Thanks

    The password should be used to open the PDF file that was also sent.
    Inside the PDF is a redemption code.
    Go to the Mac App Store and click on the Redeem link in the Quick Links section:

  • I need to remove my photos from my ipad to make room for movies not sure how to go about doing this.

    Hi, I need to make room for some movies on my ipad, but i have to many photos how to i take the photos from my ipad but leave them on my iphone and desktop computer? Thank you

    If the photos were synced from your computer then with your iPad connected to and selected on the left-hand side of your computer's iTunes, then on the right-hand side on the Photos tab select an empty folder and sync just that to the iPad and the currently synced photos should be removed from the iPad - that won't affect your iPhone unless you also do the same de-selection when it's connected.
    If the photos were taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc then you can copy them off the iPad first (http://support.apple.com/kb/HT4083) and you can then delete them directly on the iPad in the Photos app via the icon of the box with the arrow coming out of it

  • How to create a constructor for this class?

    Hi everybody!
    I have an applet which loads images from a database.
    i want to draw the images in a textarea, so i wrote an inner class, which extends textarea and overrides the paint method.
    but everytime i try to disply the applet in the browser this happens:
    java.lang.NoClassDefFoundError: WohnungSuchenApplet$Malfl�che
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
         at java.lang.Class.getConstructor0(Class.java:1762)
         at java.lang.Class.newInstance0(Class.java:276)
         at java.lang.Class.newInstance(Class.java:259)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    so my class has no own constructor, it just has the paint method overwritten.
    my class looks like this:
    public class Malfl�che extends javax.swing.JTextArea{
    public void paint(Graphics g){
    Color grey=new Color(220,220,220);
    g.drawImage(img,10,10,null);
    how should a constructor for this class look like?
    sorry i am quite new to this, so i really dont have a clue!
    my class does not have any attributes or requires any so it doesnt need a constructor, doesnt it?
    thanks a lot
    tim

    If you have no constructor you cant instanciate (I know i just murdered that spelling) the object.
    Malfl�che thisHereThingie = new Malfl�che()assuming that you want to run that class by itself you will need a main method that has the preceeding code in it. If you are running it from another class you need to instanciate it... but anyway at the very least for a constructor you need.
    public Malfl�che(){

  • HT201269 I would like to sync my text messages from my iphone 4 to my iphone 5c. I was able to sync everything else but my message, how can I go about doing this?

          I would like to sync my messages from my iphone 4 to my Iphone 5c. I was able to sync everything but my text messages. Im trying to figure out how to go about doing this.

    I think this is what you're looking for.
    To use Continuity for SMS and MMS with your iPhone and your Mac, iPad or iPod touch
    Your iPhone, iPad, and iPod touch need to use iOS 8.1, and your Mac needs to use OS X Yosemite.
    Sign in to iMessage on your iPhone, your other iOS devices, and your Mac using the same Apple ID.
    On your iPhone:
    Go to Settings > Messages > Send & Receive > You Can Be Reached By, and add a check to both your phone number and email address.
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    From this article.
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support

  • How to clear a private static class attribute once it's been created?

    <pre>I'm working with an instance of a complex Class object that has been created using the function module <br>HRXSS_CAT_APPLICATION_INIT. The Class object that I am trying to work with is<br> CL_XSS_CAT_BUSINESS_LAYER and in particular its Static Private component attribute PROFILE.<br>
    The issue that I am having is that the first call of this function module creates and populates the Static Private component attribute, <br>PROFILE, for the instance of this Class and I do not know how to initialize it once it's been created. The PROFILE attribute is an <br>object reference to an instance of Class CL_XSS_CAT_PROFILE. <br>
    I want to reset/intialize this Static Private component. I can then call a Class Method with<br> different parameters so that it repopulates PROFILE with different attributes. <br>There is no Public method to do this in CL_XSS_CAT_BUSINESS_LAYER and even the Private method<br> INIT_PROFILE, the logic first checks to see if the PROFILE component is initial before creating a new PROFILE<br> object instance. All the Attributes of the CL_XSS_CAT_PROFILE object are Static and Private.
    <br>
    I would appreciate any insight anyone might have in how to reset/initialize this Class component attribute.<br><br>
    Thanks much,<br>
    <br>
    Graham<br>
    Sample code snippet is as follows:
    <br><br>
    DATA: lr_cats_application_rfc TYPE REF TO IF_XSS_CAT_APPLICATION_RFC,
    lr_core TYPE REF TO IF_XSS_PT_APPLICATION_CORE,
    lr_core TYPE REF TO CL_XSS_CAT_1_APPLICATION_CORE,
    lr_instance TYPE REF TO CL_XSS_CAT_APPLICATION,
    lr_business_layer TYPE REF TO CL_XSS_CAT_BUSINESS_LAYER,
    lr_profile TYPE REF TO CL_XSS_CAT_PROFILE,
    lr_profile_temp TYPE REF TO cl_xss_cat_profile.
    DATA: l_employee TYPE pernr_d.
    DATA: l_employee_tab TYPE rhxss_cat_employee_t.
    CASE im_command.
    WHEN 'DATESELECTION_PRVPERIOD'.
    *-> navigate to object component reference for CL_XSS_CAT_PROFILE instance
    lr_cats_application_rfc = im_ref_to_parameter_cache->REF_TO_APPLICATION.
    *-> navigate to object component reference for CL_XSS_CAT_1_APPLICATION_CORE
    lr_core ?= lr_cats_application_rfc->get_core( ).
    *-> navigate to object component reference for CL_XSS_CAT_BUSINESS_LAYER
    lr_business_layer = lr_core->business_layer.
    *-> navigate to object component reference for CL_XSS_CAT_PROFILE
    lr_profile = lr_business_layer->get_profile( ).
    l_employee = im_ref_to_parameter_cache->pernr.
    append l_employee to l_employee_tab.
    <br><br>
    *THIS IS WHERE I AM HAVING ISSUES...I WOULD LIKE TO CLEAR/INITIALIZE THE STATIC PRIVATE COMPONENT<br> LR_BUSINESS_LAYER->PROFILE BEFORE CALLING THE METHOD INITIALIZE_FOR_TIME_RECORDING<br>
    <br>
    <br><br>*THE FOLLOWING LINE FAILS ON A SYNTAX CHECK WITH 'FIELD "PROFILE" IS UNKNOWN. IT IS NEITHER IN <br>ONE OF THE *SPECIFIED TABLES NOR DEFINED BY A "DATA" STATEMENT
    <br>
    clear: lr_business_layer->profile.
    CALL METHOD lr_business_layer->initialize_for_time_recording
    EXPORTING
    im_employee_tab = l_employee_tab
    im_profile_id = 'MODAPPR1'
    im_startdate = sy-datum
    EXCEPTIONS
    pernr_not_enqueued = 1
    no_pernr_for_user_found = 2
    profile_not_found = 3.</pre>
    Edited by: Matt on Aug 1, 2009 12:44 PM

    OK...I apologize but I did not dig deep enough to see that the Enhancement Framework allows for the addition of Methods to Classes/Interfaces. Most of this ABAP OO stuff is still quite new to me so I'm struggling with syntax and what is and isn't possible based on how everything is declared. I guess now that I know I can do this I am having some problems understanding how singleton Class objects work and how to 'reset' them.
    The Class instance based on CL_XSS_CAT_BUSINESS_LAYER has a Static Private attribute PROFILE that is an object reference to the singleton Class instance CL_XSS_CAT_PROFILE.
    The singleton Class instance of CL_XSS_CAT_PROFILE has all of its attributes set to Static Private. If you look at this Class in SE80 you see that one of its attributes is also called PROFILE and is an object reference variable to itself.
    So the issue I am having is how to go about 'initializing' this singleton object so that I can 'recreate' this singleton object using a copy of the existing S
    I used the enhancement framework to create a copy of the CL_XSS_CAT_BUSINESS_PROFILE Instance Private Method INIT_PROFILE , called in INIT_PROFILE2, but I am not sure how to 'clear/reset' the instance of the CL_XSS_CAT_PROFILE object.
    Since PROFILE is an attribute of the CL_XSS_BUSINESS_LAYER object, I thought that a simple CLEAR PROFILE would reset the object but this is not the case. Within this method the FREE clears the value of the reference variable PROFILE but as soon as you step into the method me->init_profile, the value of PROFILE goes back to what it was. I need for all of the CL_XSS_CAT_PROFILE instance attributes to be reset or initialized so I can fill them again. I think I'm getting confused on the scope of things...should I be enhancing the CL_XSS_CAT_PROFILE Class with 'setter' methods so I can initialize all of the Static Private attributes that way instead of trying to clear all the attributes at a higher call level?
    Any assistance with helping me with my thought process or approach to this would be much appreciated.
    METHOD INIT_PROFILE2.
    FREE PROFILE.  >>> is reset but it does not carry through to next method call and does not clear all the attributes of the object referenced in PROFILE
    CALL METHOD me->init_profile
    EXPORTING
    IM_PROFILE_ID = im_profile_id
    etc...

  • Need help on how to help my sister register her new nano and add music to it on my computer. I have my on nano already on my computer registered and set up but she and I don't listen to the same music so how would I go about doing this?

    I'm trying to find out information on how to go about helping my sister to register her new nano and load on CD's and such. I have a nano and already know how to do this but she is from CA and we want to load it here on my computer. She will be going home in 2 weeks and wants to use it in the car for the ride home.We don't listen to the same kind of music so I don't want to use my library but do one of her own for her. Also she will want to add this library on to her computer at home. I'm 60 and my sister is 70 I have enough knowledge to do some things on the computer but am not real computer smart. My sister is just learning about everything but has no idea what to do with that knowledge. Can anyone give me and idea on how to do this that I can get a grasp of what needs to be done to do this? My nephew says it's easy but he's in Az and I'm here. He also helps people with computers so he is more knowledgeable than I am. Would appreciate any help on this. thx

    See the procedures below for removing a device from Find My iPhone when you can't do it on the device itself.
    iCloud: Remove your device from Find My iPhone

  • How do I update my old MacBook to the newest operating system, but want to clean it out thoroughly first (without losing my data). How should I best go about doing this?

    Hi everybody. I have a MacBook that's about five years old. I want to buy the newest operating system so that it runs better (because currently it is struggling), however I would like to clean up all the old software before I do that. I want it to be as clean and new as possible before I buy the new operating system, instead of just downloading it ontop of all of the rubbish I must have accumulated. I also want to keep my data (documents, photographs etc). Would anybody be kind enough to provide me with a step-by-step (can be as concise as you like, depending on how much time/effort you have to explain!) guide as to how I might go about doing this myself? Any help would be greatly appreciated. Thank so much guys.

    Step number one - Back up all your important data!
    Seriously, it sounds like you are working without backups. Don't ever do this. Hard drives fail, it is a fact of life. Don't be one of those who get caught without a backup. An external hard drive, burning it all to DVDs, or online backup will save you frustration and money.
    Two - don't expect a new operating system to improve performance. Get the computer running as best as it can before you upgrade. You may need more RAM or a bigger hard drive.

  • My ipod touch 4th generation no longer holds it's charge for more than 40mins,needs new internal battery but I have no idea how to go about this. i love my ipod and don't want it to loose power completely, can anyone help?

    My ipod touch 4th generation no longer holds it's charge for more than 40mins from full power, think it needs a new internal battery but have no idea how to go about this and am no longer covered by my guarantee. Can anyone advise me on what's best? Thanks in advance

    Using the battery level meter in this manner is comparable to using your car's fuel gauge to calculate miles per gallon. The only thing that matters is the total amount of operating time from full charge to auto-shutdown.
    Use an Apple wall-mount charger.  Do NOT use a computer's USB port.  Then, operate it normally until auto shut-down (ignore any low level alerts that may appear).  An irony is that doing that test to determine the total operating time is also the exact procedure necessary to calibrate the battery level meter.
    I'm not claiming that you do not have a problem.  I am stating, however, that we don't yet know whether or not a battery problem exists.
    According to Apple:
    Use Your iPod Regularly
    For proper reporting of the battery’s state of charge, be sure to go through at least one charge cycle per month (charging the battery to 100% and then completely running it down).
    Elsewhere, Apple elaborates and explains that two half-discharges (or four quarter-discharges, etc.) equals one full discharge.

  • My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem

    My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem? My screen has recently cracked and i need to retrieve my music from it but cant do so when my computer is reading it as a camera and only showing me its pictures.

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X
    Also try another computer.

Maybe you are looking for

  • How to view large images ?

    i just updated my phone c601 from symbian anna to belle..may i know how to view large images in the nokia internet browser..i cant change it

  • Using an Ethernet Adapter for Internet with my Emac - getting IP problems

    Hi, I used this Ethernet Adapter just fine with my laptop, and now have everything migrated to an EMac. Using 10.4.11, so everything is the same. But I get strange drops (Gmail even told me I had a 'flaky' internet connection) and have to launch Netw

  • ADF Master Detail Forms

    Hi, We have a master detail views and the master detail relationship is working fine between the views. We have a requirement to display one master form and 2 detail forms (user has to see two detail forms) to the user. The default master detail rela

  • Is it a bad idea to use a single read only Connection?

    I am developing a client/server application, where each client request executes in a separate thread. Currently i create a new Connection object for ANY database access. I am wondering if there is any advantage changing this, to use a single Connecti

  • Best way to organize menu code?

    I've been developing a Swing application for my small company for a little over six months now. It's essentially a front end for a SQL Server database, which the application connects to using JDBC over our VPN. Anyhow, the application has reached a l