Detect the overlap point and shape

Hey guys,.

I'm doing a simple game where circles are created and you must click on them to get rid of them. I have the code for creating them and that works well, and I add to a table when they are created.

However, I don't know how to detect if the point where you click is fit or not. Here's the code, I have a "?" where I don't know how to do

------------------------------------------------------------------------------------------ ----------------------------------------

package

{

import flash.display.MovieClip;

import flash.display.Shape;

import flash.events.Event;

import flash.events.MouseEvent;

Import fl.transitions.Tween;

Fl.transitions.easing import. *;

Import fl.transitions.TweenEvent;

import flash.utils.Timer;

import flash.events.TimerEvent;

to import flash.geom.Point;

import flash.display.DisplayObject;

SerializableAttribute public class Main extends MovieClip

{

var coolDown:Timer;

var circleArray:Array;

public void Main()

{

stage.addEventListener (MouseEvent.MOUSE_DOWN, mouse click);

charging time = new Timer (1000, 1);

coolDown.addEventListener (TimerEvent.TIMER_COMPLETE, timeDone);

coolDown.start ();

circleArray = new Array();

}

function timeDone (e:TimerEvent): void

{

var theX:Number = (Math.round ((Math.random () * 450) + 50));

var they: number = (Math.round ((Math.random () * 450) + 50));

var circle: Shape = new Shape();

circle.graphics.beginFill ((Math.random () * 0xFFFFFF), 1.0);

circle.graphics.drawCircle (0, 0, ((Math.round (Math.random () * 40)) + 20));

circle.graphics.endFill ();

Circle.x = definition x;

Circle.y = they.

stage.addChild (circle);

circleArray.push (circle);

var xTween:Tween = new Tween (circle, "scaleX", Bounce.easeOut, 0, 1, 0.5, true);

var yTween:Tween = new Tween (circle, "scaleY", Bounce.easeOut, 0, 1, 0.5, true);

coolDown.addEventListener (TimerEvent.TIMER_COMPLETE, timeDone);

coolDown.start ();

}

function mouseClick (event: MouseEvent): void

{

var themouseX:Number = new Number (mouseX);

var themouseY:Number = new Number (mouseY);

var mousePoint:Point = new Point (themouseX, themouseY);

var i = new int();

for each (var circleArray circle)

{

???????

}

}

}

}

------------------------------------------------------------------------------------------ ----------------------------------------

All this code seems to work so far, I do not know how to detect whether or not you're clicking on one of the circles in the table.

I didn't add any to a movieclipI to add each to its own movieclip.  Then, you can have the eventlistener assigned to each movieclip and when you click on one, the identification is easily determinable.

Tags: Adobe Animate

Similar Questions

  • How detect the NFC tags and features?

    Hi all

    Does anyone know how to connect with NFC Tag. I want to apply as if we put my phone blackberry on NFC tag while entering the call. So my request should end this call and send an sms to the caller.

    Please let me know if anyone has an idea about this Protocol of NFC tag. How detect the NFC tags and features?

    Thank you & best regards

    Neeraj Chauhan

    Hi Neeraj

    There is a code library and items at your disposal. An article is precisely tag reading and writing, and there is an application open source in our GitHub repo.

    See the next page for a list of all of our resources for NFC developers:

    http://supportforums.BlackBerry.com/T5/Java-development/NFC-article-and-code-index/Ta-p/1538775

    Concerning

    mwoolley

  • When I try to install Adobe Creative Cloud stops, stops at halfway of the installation point and closes. (The download is also very slow) can someone help me please? Thank you!

    When I try to install Adobe Creative Cloud stops, stops at halfway of the installation point and closes. (The download is also very slow) can someone help me please? Thank you!

    Please, try the following steps:

    Guinot

  • the mouse pointer and cursor of dysfunction, cannot type, cannot connect to my user account?

    OK, I'm not sure how succinctly describe the problem since it is composed of so many things that have actually made my computer useless. I think it's a virus, but my virus scan did not come with something useful, so.

    Last night I watch Youtube videos and edit some pictures when I noticed that I had to type on the touch pad repeatedly until the computer responded. Then it stopped working completely (IE I could still move the mouse pointer, but couldn't click using the touch pad). I switched from windows to look for a solution on the internet, but when I clicked on the address bar of Google Chrome the cursor started ahead of his own, as someone has pressed the space bar - but I was not. This makes type impossible because there were huge gaps between each letter. I turned the computer off and back on (thanks, ICT courses), but the problem has not disappeared - only now, the mouse pointer disappeared sometimes still. It was getting late so I turned it off again and fell asleep.

    This morning as I began it upward there was noises Eman that makes it usually when I plug / unplug power. I tried to type in my password... and couldn't. The capslock wasn't on, I of course did not forget the password from one day to the next, but I kept receiving error messages and could not open a session. Even worse, when I tried to switch to an account that was not protected by Word, he kept jumping to the mine after maybe 3 seconds. I finally managed to click the icon of the second account and logged.

    The touchpad still don't click, when I open Chrome and clicked on the address bar he reacted as I clicked with the button right referring (so I couldn't type) and the mouse pointer always disappears randomly. I did a Norton quick scan and it came with 22 'risks' that he apparently 'fixed', but the problem has not yet disappeared. I would be v. grateful for a quick response, as the laptop is actually not mine, but my father (who keeps valuable most of his photographs on the hard drive).

    EDIT: I opened it in Mode without failure. the touchpad works now, but randomly on the keyboard keys have stopped working. Others come with a random combinations when I press on them, for example. "you" instead of "t", "p"] - when I press on «-» I can't even reinstall the keyboard drivers, because I can't type in my admin password.

    Also I do not know what topic to put this in so if it's wrong, please let me know!

    Hello

    1. What is the number of brand and model of the laptop?

    2. you have made no changes to the computer before the broadcast took place?

    Follow the steps mentioned below:

    Method 1:

    Run the fixit available in the link below and check if that makes a difference

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2:

    Perform the clean boot and check.

    To help resolve the error message, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135


    Please note:  After troubleshooting, be sure to start your computer in normal mode by following step 7.

    Method 3:

    Step 1:

    Check the keyboard works well with the on-screen keyboard.

    http://Windows.Microsoft.com/en-us/Windows7/type-without-using-the-keyboard-on-screen-keyboard

    You can also check if the problem is keyboard or does not connect the external keyboard.

    Step 2:

    Update driver mouse

    a.Click Start.
     
    b control panel.
    menu a.Utilisez of the sons of the menu drop down next to the opinion of: in the upper right, select large icons.
    b.Click mouse.
    c the Hardware tab, click the properties button.
    d.Click on driver tab, click on set to update driver.

    Hope the above information is helpful.

  • Detect the PEAK, mount and average

    I use a loop in LabVIEW 8.5 to capture the signals emitted continuously by a card, peak detector.VI is used to detect the signal peaks, then fit.VI nonlinear curve is used to climb the summits, signal now capture, detection of peaks, mount and display pics are all works very well permanently, but there are still some problems annoying me.
    1. the received signals is not very stable, so editing results expected on average for 100 times, then how can I averaged the results of fitting on the condition that the capture of signal is not interrupted, this is the time loop does not stop, when the average is made this time, average is reset for the next 100 fitting results can be average again?
    2. There is another way, that's 100 results of fitting is automatically saved to excel, then the results is an average manually in excel, then how to store results like this: the first 100 results of connection are stored in an excel file and the next 100 results for other excel connector or they are stored in an excell , but in different columns? Of course the thses are subject to the capture of signal is not interrupted.
    3. There is a threshold for the detector.VI peak, but the captured signals entry isn't very stable, so the number of peaks detected is not the same every time, like this time, the number of vertices is 40, next will be 39, this will affect the results of fitting slightly, then how do to detect the same number of vertices every time such as the number is 40 each time?

    Any advice will be appreciated!

    Maybe the pic attached detect.vi 'test' can help you. "medium signal.vi" is a sub VI on average the signal in a way online.

    There are three methods using the input signal:

    1. no average.

    2. average exponential.

    3. linear average.

    Your problem is when the input signal is damaged by some noise, and you want the input signal before the detection of peaks on average. I use white noise to simulate a noisy environment.

    By default, the average mode is 'Linear', and the number of averages is 50. The more averages, the best on the result, but more time to update.

    Swith mode between 'Linear' and 'No way' to compare the difference before average and average.

    Average exponential is not appropriate in your case.

    Let me know if it works for you.

  • the stress points and Strict Type Def

    I created a Strict Type Def cluster with Boolean flags.

    I am unbundling of the cluster and some outputs unbundled wiring a slot - VI that I created. This subVIs input is connected directly to the entrance of the selector of a function add channels of true/false.

    It works, but I'm trying to understand why there is a stress point at the when the output of the cluster is connected to the Subvi. Is the reason why, because the cluster is a strict Type Def?

    If I have unbundled a cluster output wiring usually no constraint points appear.

    Turn on your help window,

    Using the wire tool,

    Float over the wires and compare what you see in the Help window.

    I suspect type-def def untyped is being stated by the cooecion point.

    rant value = True

    This scenario is one of the reasons why I freak out on the rumor that the stress points involve a copy of the buffer. They do NOT. LV said you only he does something for the representation of data and you want to inform you about it.

    Done ranting,

    Ben

  • Keep the data on the record points and serve the rest

    Hello world!

    I think somehow either CompressWorkspace [tree] or PurgeTable what we want to do, but somehow I don't see exactly how...

    Here's our situation: the admin of our customer demand can create backup points. He made what is called "data freezing" happens a few times a year (3-4).

    The database is created using WO_OVERWRITE to keep a track full edit. However, for older data we now to just keep recording data and delete what that it is between the two. Only for the most recent backup points, we always want to keep the complete history. Is there a way to do this?

    To clarify things, with some text-Art, this might look like this for 5 Savepoints SP1... SP5:

    [SP1]-[SP2]-[SP3] hhh [SP4] [SP5] of hhh hhh [LATER]

    where - means "no historical data here" and "hhh" means "here for historical data.

    My first guess was the CompressWorkspace procedure, but if I give two points for first registration is deleted. What we want to do is give two points of record, have deleted all the data of the history between the two and keep both the backup points. In the example above, we would like to compress between SP1 and SP2 the SP2 and SP3.

    Note: the database will be migrated soon to 11 GR 2, so all the features of the OWM until this version can be used for a solution.

    Any help is appreciated!

    Kind regards

    Andreas

    Hi Andreas,

    You don't want to use CompressWorkspace.  Specify the backup even point to firstSP and secondSP and the parameter compress_view_wo_overwrite set to true.  Thus, for example:

    SQL > dbms_wm.compressworkspace exec ('LIVE', true, "SP1", "SP1");

    This should be done for each backup point where you want to delete the history.  The procedure would remove all lines for each primary key value, with the exception of the most recent in the backup point.  It cannot be done on a variety of checkpoints at the same time, as that would remove the previous save points, as you pointed out.

    Kind regards

    Ben

  • Has this been resolved? Menu animated project Blu - ray pauses at the level of the loop point and loss of conference.

    We still CS6 and lively menu of a Blu - ray project that contains a loop point paused at the level of the loop point, resulting in the loss of some images conference.

    Still has a known problem with gaps of loop point. I do not think that this puts the bluray in to pause, however.

  • I have a compaq presario cq57 notebook pc and my wireless is not solving the problems of work said that the access point and wireless network card works I need help to fix this please

    the internet works only with the ethernet cable and not wireless. I have service with comcast.

    Hi, Antonia.
    Thanks for posting your question on the Forums of community of Microsoft.
     
    1. do you get an error message?
    2. don't you make changes to the computer before the show?
     
    Here are some ways you can follow to resolve the problem:
     
    Method 1:
    Check out the link and follow the steps in the article:
    Troubleshooting your wireless network and Internet access (Windows 7)
    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&DLC=en&docName=c02543015#n55
     
    Method 2:
    Reference:
    How can I troubleshoot network card?
     
    Hope this solves the problem
  • Mysterious on the left-pointing arrow shape tool

    I was working with Illustrator, and suddenly I had this little arrow on my rectangle shape!

    (I probably pressed something weird on keyboard?)

    Now all the shapes I draw are skewers!

    I took a picture of my screen, so you can see...

    (1) how can I disable it, so I can draw normal forms?

    (2) what do you call the arrow in English...?

    Thanks heaps, it's me big time buggin! (in particular the deadline is tomorrow...)

    DSC_0903.JPG

    you draw on the grid of point of view, it looks like that. is there a symbol shortly showing the faces of the grid above to your left (or elsewhere)?

  • Regulator PID very slow to reach the value Point and zeros process Variable when it should not

    Hello

    I am using a PID controller to regulate the emission of a filament current in an ion gauge, but I'm running into several problems.

    The first and less important, are the controller of PID VI takes at least 5 minutes to get the current where it needs to be.  Is it possible to speed this up?

    The second and more important, are that the PID controller tends to zero the process variable before you start the process of getting the close process of the target value variable.  This can be seen in the attached VI: I write 5.8 volts voltage filament - something I did at the beginning to try to get the controller PID for the process close to the target faster - value variable but when the PID controller starts to do his thing, he kills the tension before anything, rather than rise of 5.8 V.

    The attached VI is a single which has these problems.  VI actual ion gauge controller I've written has the same problems, but in a form even more frustrating.  I have a while loop set up for the filament voltage to where it should be (using a PID controller) first and foremost, then a loop of data acquisition, which also includes a feedback loop in the form of a PID regulator to maintain the filament voltage.  When the second PID controller starts to run, it concentrates the tension that the earlier had set, taking another 5 + minutes to reach the point where we can take data and giving us 5 minutes of false data in the process!

    Does anyone know why PID controllers are behaving like this, and what can I do to fix/work with this behavior?

    Hello

    It seems that PID VI will always be 0 for the first iteration. You can, however, use the advanced PID VI and set up the first iteration in manual mode. After subsequent iterations, you could then define this automatic mode and there will be a transition smoothly. I think this will give you the desired behavior.

    -Zach

  • How to detect the user touch and hold the screen for touch screen devices?

    Hello

    I want my code to do the following:

    when user touch and hold on the screen{
        myThread.start();
    }
    
    when user release the finger on the screen{
        myThread.done();  //a method to stop the thread
    }
    

    Any ideas? Thank you very much

    Never to change never return super.touchEvent (...) to return true (well, you can do it for complete events such as MOVE or GESTURE. SWIPE_...) -you will disrupt the event processing complex (just about everything, but downwards and upwards).

    The code works for me (I do something else, with more visual impact, so I know for sure that it does). One thing, try - check the status of your Thread (isAlive()) before you start, as DOWN seems to be generated twice.

    If you could be more specific with what "won't work" is, I would be able to help more.

  • NAT is allowed between the Access Point and the WLAN controller?

    Suppose that the AP and controller communicate over a network of L3.

    NAT can be done between the two?

    For example, suppose that the AP is connected to a DSL router that is running NAT.

    Yes, I worked on projects where we did a DRY VPN with NAT. As long as the AP is routable, it will call home.

  • to remove the numbers after the decimal point and round

    Hi all


    select       (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
    
                (((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000)   )
    
                 when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
             (   ((nvl(H.CLASS_V_CEMENT,0)*94)/2000)   )  
    
            when F.ITEM_UOM =  'Pound' then 
          CEIL(  ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
           end)*(j.opn_value/2))  SUM_MAT_ACT_TON ,--------transport
                       
    
                       sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then 
    
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
    
          when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then 
    
                nvl(H.CLASS_V_CEMENT,0)
                   
            when F.ITEM_UOM =  'Pound' then 
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
    
       end) SUM_sload ,    ----sload
       sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then 
    
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
    
         -- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then 
    
              --  nvl(H.CLASS_V_CEMENT,0)
                   
            when F.ITEM_UOM =  'Pound'  and F.BLEND <> 'PH'then 
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
    
       end) BLENDING
      ,e.opn_job_desc
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H,
        XXNP_OPN_JOBLOG_RES_005 J,
         MTL_SYSTEM_ITEMS_B P 
          WHERE E.OPN_JOB_DESC   = 'K/D/SP158/SA399/1338/D/0510/1' AND
            E.MANUAL='N'
       and J.opn_resource_desc='4X4  PICK-UP OR LIGHT VEHICLES'
        AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID 
         and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
           AND p.ORGANIZATION_ID='103'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
                                    GROUP BY E.OPN_JOB_DESC,j.opn_value
    o/p  i am getting
    SUM_MAT_ACT_TON      SUM_SLOAD                         BLENDING                                   OPN_JOB_DESC
    11587.7954154787         1957.62401925833               1454.62401925833                       K/D/SP158/SA399/1338/D/0510/1
    
    well can anyone guide me on  obtaining the following output (to remove decimal places and round )
    
    SUM_MAT_ACT_TON      SUM_SLOAD                         BLENDING                                   OPN_JOB_DESC
    11588                           1958                                      1455                                          K/D/SP158/SA399/1338/D/0510/1
    thanking in advance

    Edited by: makdutakdu may 25, 2010 12:48
    select      round( (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then
    
                (((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000)   )
    
                 when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
             (   ((nvl(H.CLASS_V_CEMENT,0)*94)/2000)   )  
    
            when F.ITEM_UOM =  'Pound' then
          CEIL(  ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
           end)*(j.opn_value/2)))  SUM_MAT_ACT_TON ,--------transport
    
                       round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then 
    
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
    
          when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then 
    
                nvl(H.CLASS_V_CEMENT,0)
    
            when F.ITEM_UOM =  'Pound' then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
    
       end)) SUM_sload ,    ----sload
       round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3))  upper('Top')) then 
    
                ((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
    
         -- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then 
    
              --  nvl(H.CLASS_V_CEMENT,0)
    
            when F.ITEM_UOM =  'Pound'  and F.BLEND  'PH'then
                ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
    
       end)) BLENDING,
       e.opn_job_desc
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H,
        XXNP_OPN_JOBLOG_RES_005 J,
         MTL_SYSTEM_ITEMS_B P
          WHERE E.OPN_JOB_DESC   = E.OPN_JOB_DESC  AND
            E.MANUAL='N'
       and J.opn_resource_desc='4X4  PICK-UP OR LIGHT VEHICLES'
        AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID
         and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
           AND p.ORGANIZATION_ID='103'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
                                    GROUP BY E.OPN_JOB_DESC,j.opn_value
    
  • Failed to create the restore point and system runs very slow

    Original title: date of restoration

    An automatic download occurred.  System is very slow.  Runs in safe mode.  No date of restoration can not enter in safe mode, time in normal mode.  Cannot run the system restore.

    Hi Jim,

    1. you did it any recent hardware or changes to software on your computer before this problem?
    2. the automatic download is produced through Windows update or any application?

    3. What do you mean by "is running in safe mode. No date of restoration can not enter in safe mode, time in normal mode. Cannot run the system restore'?

    4. what happens when you try to start in Normal mode?

    5. what happens when you try to perform the system restore?

    6. do you get an error message or error code?


    Please follow the links:
     
    How to troubleshoot performance issues in Windows Vista

    http://support.Microsoft.com/kb/950685

     
    How to resolve performance issues during startup in Windows Vista

    http://support.Microsoft.com/kb/950684

Maybe you are looking for