AS3 Collision detection will not work! : S

Hello

I'm working on a project and it is animate randomly a few points in the boxes. So I have a box movieclip that contains points (balls) and they run within the limits of the area. First of all, I created an animation of test mimicking one of the boxes and it worked fine but a fitting this code for my film, I start to have problems. Here is my code.

What I am doing wrong? I'm particularly confused because it works in the test script! Sorry for the long code, I've included the two classes...

I have solved the problem, it turns out that I was being ridiculous and affecting the circle cordinates x and y position of the movieclip container as opposed to 0,0... so I'm going to mark my post as the answer: D and thanks for those who may have take the time to watch this...

Tags: Adobe Animate

Similar Questions

  • Portege M750 Win7 64 bit Wireless Manager (3G) will not work

    I can't TOSHIBA Wireless Manager (3G) to work in a new installation of Win 7 64 bit.

    I did a test installation of Windows 7 64 - bit on and old SATA hard drive and checked TOSHIBA Wireless Manager would work. He did.

    I then did a fresh install of Windows 7 64 - bit on a new Crucial C300 Real SSD 256Go.

    The new facility with the Crucial SSD is not very successful... The operation "stop and restart" does not - the closing not always power off completely and you must push the switch down to.

    Sometimes the SSD does not start - you enter the password of the BIOS but then nothing happens. Sometimes you turn off the power and remove the battery before as the startup disk.

    But the biggest problem is that the (3G) Wireless Manager will not work. The application opens and indicates that "died" - which it is impossible that I use WiFi to post this question.

    I tried to install the software Vodafone 3 G portal. It detects the presence of the 'mobile device' (SIM in housing) but then can not turn it on.

    I downloaded and installed all the latest drivers for the chip, the pilot 3G, 3G software, LAN driver, LAN software and all updates of Windows 7.

    I have the latest version of the BIOS (3.0) but this has not been updated by Toshiba since 11/04/09.

    I would point out that Diagnostic PC Toshiba tool does not recognize the installed 8 GB memory (but ccleaner):

    Model name PORTEGE M750
    Part number PPM75E-00N017EN
    Version of the OS Microsoft Windows 7 Home Premium 6.1.7600
    Version of the BIOS Version 3.00
    Processor Intel (r) Core (TM) 2 Duo CPU P8400 2.26 GHz
    Physical memory 4096 MB RAM
    Disk capacity hard 256,052,899,840 [bytes] 238.468 [GB]
    Network Intel(r) 82567LM Gigabit Network Connection = 10.0.2.2 version = MAC address
    TOSHIBA F3507g Mobile Broadband Network Adapter version 1.3.0.9 = MAC = address
    Version of Intel(r) WiFi Link 5100 AGN = 13.4.0.9 = MAC address
    F3507g Mobile Broadband Modem Modem TOSHIBA version = 5.24.3.0
    Internet Explorer 8.0.7600.16385

    This indicates a BIOS problem?

    -don't

    points to a problem of firmware on the SSD drive (is it sandforce) torque to the incompatibility of BIOS of the SSD.

    I assume that all drivers installed etc were identical on the installation of the trial of HARD drive? so if this is the case it must be the SSD does not not with the BIOS correctly, so the other issues as well

  • None of my restore points will not work. He directed the restoration of the system and that it recharges, but says system has not been restored.

    None of my restore points will not work. He directed the restoration of the system and that it recharges, but says system has not been restored.

    What is your system brand and model?

    What is your Version of XP and the Service Pack?
    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..
    What is the issue that you are experiencing that you think that the system restore will be remedied (or you are just convenient)?  System Restore is not a time machine, but of course, this should work if you think you need.
    Some tools Anti Virus 'protect' your system so that they will not allow a restore of the system work properly.

    For example, if you use Norton/Symantec products, you will see a message like this:
    Restoration incomplete. Your computer cannot be restored...
    It is also a popular Symantec problem (well, I'll be polite and call an "undocumented feature"...), they wrote an article about it:
    According to what you use for malware protection, you may need to disable the product temporarily, do the system restore and then turn the products light up again when the system restore is complete.
    Sometimes you need start your system in Mode safe and so that your protection programs are not running, and then do the system restore.  Tips from Microsoft in some of their articles that if the system restore does not restore your computer, start in Safe Mode, and then run the system restore.  It works for some configurations.
    System Restore is sometimes so afflicted or Restore Points are suspicious, the best solution is to reinstall your system restore.  This will remove the old Restore Points, but sometimes it's the only way to fix a broken system restore.  You don't have to reinstall XP, only the part of system restore.
    That can leave you with your problem of unspecified origin that you hope the system restore will fix (using a system restore is usually not equivalent to fixing the problem though).
    Give these ideas some consideration if they apply to you.
    Sometimes malicious will afflict your system restore to prevent you to find and remove malware.  It would much rather you trick into thinking that you need to repair or reinstall your XP when it is not necessary.
    No matter what you use for protection against malware, I do so and then only begin to solve any problems:
    Download, install, update and do a full scan with these free malware detection programs can solve any problems:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
    It can be uninstalled later if you wish.

    The scans by operating clean, reboot, test and we can fix any other issues

  • I have installed the latest updates for my Compaq desktop computer and the DVD/CD drive bay door will not work.

    I have installed the latest updates for my Compaq desktop computer and the DVD/CD drive bay door will not work. I can get the led light will stop flashing when I open the door all the way, the machine detects the drive but do not read or close on its own, how can I get this disc surgery? Downloading updates, I installed a software disc, when I ejected the disc, the drive comes of is stopped. The computer still sees the drive, but will not read or even close on its own. I also had been using my computer in mode mute until I tried to increase the volume and now the computer tells me no playback device installed. Device Manager acknowledges the Harmon/Kardon soundsticks connected to it, but nothing does, how it works? The Control Panel also sees the soundsticks, but still when I try to move the volume the computer says there is no playback device installed.

    Hello

    1. do you get any error code or error message?

    2. what day you installed recently?

    It seems to be a problem with the hardware. I suggest you try to uninstall and reinstall the CD/DVD driver and check if it helps.

    Follow the steps to uninstall and re-install the drivers.

    a. click on start toreduce this includes this im and then click Control Panel.

    b. click system and Maintenance, click Systemand then click on Device Manager.
    Note If Control Panel is in Classic view, double-click System, and then click Device Manager.

    Reduce this includes this imageIf you are prompted for an administrator password or a confirmation, type the password, or click allow.

    c. in the Manager device, expand CD-ROM/DVD-ROM drives, right click on CD and DVD devices and then click Uninstall.

    d. When you are prompted to confirm that you want to remove the device, click OK.

    e. restart the computer.

    If the methods mentioned above did not help, then it would be best to contact the manufacturer of the computer/CD/DVD player.

    Hope the information is useful.

  • Task Manager Windows 'show all processes from all users' will not work

    Hi im running service of 64 bit vista Home premium pack 2

    For some reason any button "show all processes from all users" in the Task Manager will not work, when I click nothing happens, uac prompt little or nothing.

    I can end processes very do well no problem it's just the show all button that does not work, I thought that maybe the taskmgr.exe in my right-click system32 folder and compatiability tab and running it as admin it would work, but the compatiability tab is completely grayed out all I can't click anything in it.

    Im not a big computer wiz, but I checked my user accounts account im logged on says that it is the administrator and UAC is on.

    On a side note do not know if this has nothing to do with my problem but recently my computer has got contracted a Trojan horse that has infected the mrt.exe file, I had to delete, now I get an error during windows startup associated with mrt.exe works not properly. any suggestions how to solve this problem too

    Hello

    Make sure that the malware is removed completely

    Download update and scan with the free version of malwarebytes anti-malware

    http://www.Malwarebytes.org/MBAM.php

    You can also download and run rkill to stop the process of problem before you download and scan with malwarebytes

    http://www.bleepingcomputer.com/download/anti-virus/rkill

    If it does not remove the problem and or work correctly in normal mode do work above in safe mode with networking

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode with networking with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    _____________________________________________________________________

    also run the sfc/scannow command.

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

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally madeprograms,Accessories, right-clickguest, and then clickrun as administrator. If you are prompted for an administrator password or a confirmation, type the password, or clickallow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions

    How to analyze the entries in the log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista

    http://support.Microsoft.com/kb/928228#appliesTo

    If SFC detects the main problems it can't fix you may need to borrow a Microsoft dvd vista not an acer, HP etc. recovery disk and do a repair installation

    read the below tutorial on how to perform a repair installation

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

  • I can't download Media Player. It will not work on Win 7 32 bit

    OT: Wwindows Media Player.

    I can't download Media Player. It will not work on Win 7 32 bit

    Help

    If you have a standard version of W7, WMP (12) is preloaded and ' built in '. You can not download.

    If you have a ' or 'KN' version of W7 please visit - https://www.microsoft.com/en-us/download/details.aspx?id=16546 NOTE: both 32 and 64-bit, download the one for your operating system IF you have N or W7 KN.

    If you have standard W7 but WMP is not displayed anywhere, see - http://www.howtogeek.com/howto/26107/how-to-reinstall-windows-media-player-in-windows-7-to-solve-problems/ and make sure its selected in respect of multimedia features. If she is already apparently turned on then go through and deselect, restart, then go through and select it again, reboot and see if that helps.

    If that doesn't help, try a SFC/scannow - https://support.microsoft.com/en-us/kb/929833 to see if that detects and corrects something.

  • Hi, I bought a the United States iphone6, im now in South Africa and it will not work. It says sim not supported.how do I fix this?

    Hi, I bought a the United States iphone6, im now in South Africa and it will not work. It says sim not supported.how do I fix this?

    The SIM card is not support indicates that the iPhone is locked to the American carrier that it has been activated with. In order to obtain the released lock it is necessary that you talk to the carrier to find out what their requirements are to release the lock. They are the only ones who unlock it so that it can be used with another carrier.

  • My entertainment sainburys application will not work in AirPlay on iOS 9.3

    Entertainment sainburys app will not work in AirPlay I can watch a movie on my iPad, but can't listen to my TV through the air Apple TV device, I can see my iPad on screen and YouTube plays just this app is not working I am using iOS 9.3

    Some applications do not broadcast their content you are sure that your application won't, a lot of apps that provide movies or TV series you block using AirPlay.

  • How can I recover my old firefox after I replaced it, it told me a new will not work?

    I was on my AOL Homepage and was encouraged to be upgraded for increased security. Everything went well, but when I tried to open Firefox, I learned it wouldn't work. Usually, with this older system, I am notified when an upgrade will not work. I would have never taken the lead and replaced my old if I knew. Is it possible to recover my old Firefox?

    There are apps that I have on this old system that does not work on newer systems. (I have an Airbook updated but I like the big screen for some things). I found this on Google:
    https://support.Mozilla.org/questions/970943
    Mozilla
    September 11, 2013 - where can I find older versions of Firefox, which runs on OSX 10.5? ... because Firefox 16 is the latest version of Firefox that works with Mac...
    and downloaded Firefox 16 of their link. It seems to work. For security reasons, I use my Airbook for bill payment, etc.
    Thanks for your comments. Thank you very much for the quick responses.

  • I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... its

    I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... says not compatible... it is activated in Add ons... nothing has been put to day or changedf suddenly just no toolbar and it will not tie

    RoboForm will probably have an update for Firefox 30 when Firefox 30 is actually out, if not sooner. No need to turn off the automatic updates now.

  • IPad will not sync with iTunes on my laptop. Synchronization in iPpod settings will not work

    MY iPad will not sync with iTunes on my laptop, the sync on my iPad button will not work. I have the latest updates on both.

    I guess you mean that the sync button in iTunes, not on the iPad, will not work. If you are sure you have the latest version of iTunes and iOS (your profile shows 8.1) try quitting iTunes on the computer, restart the computer and force restart your iPad

    No data is lost during this procedure. Hold on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen.

  • Apple Software Update will NOT work after upgrading to Windows 7

    Apple Software Update will NOT work after upgrading to Windows 7

    flyboy340 wrote:

    Apple Software Update will NOT work after upgrading to Windows 7

    More information is needed.

    Which machine you use, OS X are you running?

    Windows 7 running in BootCamp?

    The OS X app store is not present at all?

    AppStore is present but the update tab does not?

  • How to import bookmarks multi-level IE 8 FireFox 17 if IE 8 is broken, cannot re - install and will not work?

    IE 8 is still installed, but will not work. I can not install any version of IE - I tried. I can import only first level bookmarks. Solutions in the forum assume IE 8 work.

    If you have problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    If you don't have the menu bar in Internet Explorer, and then right-click on the toolbar above to activate the menu bar.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML:
      File > import and export
    • Import HTML file in Firefox:
      Bookmarks > show all bookmarks > import and backup > import bookmarks HTML: file

    See "Import from another browser" and "import from file":

  • Telstra Australia tell me that I have to use Chrome, as their facilities will not work with Firefox. Why?

    After spending literally hours trying to pay an account on Telstra Australia (that I just joined them, so it's the first installment), I finally gave up and contacted directly. I was told that Telstra services will not work with Firefox and that their preferred system is Google Chrome but Internet Explorer will not work.
    I have used Firefox for a long time and I'm happy with the program. Specifically, I have everything set up to work with Firefox and do not want to change. At the same time, I want to have the convenience of paying bills online.
    Can I load up, Google say, just one thing, or the program will then try to "catch" other functions as well?

    Yes, you can install Chrome and use it for a website. "Recovery" Chrome as other functions on your PC, just don't let it not be defined as "browser default" If you are prompted during the installation procedure. In addition, I doubt if you'll have a problem.

  • New version will not work with the yahoo toolbar. How can I solve this problem?

    I downloaded the new version of Firefox, and it will not work with my yahoo toolbar more. It worked fine until I updated to the new version. I went back to the old version 16.0 and now he repeats to me my version is obsolete. How can I solve this problem and get the new version to work with my yahoo toolbar?

    To start, make sure you have the latest Yahoo toolbar.
    http://help.Yahoo.com/kb/index?page=content & y = PROD_TOOL & local = en_CA & ID = SLN5044 & print = false

Maybe you are looking for

  • Satellite A200-AH7 - how to get the camera program?

    I installed Windows 7 today and now the Chicony Webcam does not work. I've updated the drivers and the software for the Toshiba for Windows 7 download site, but nothing happens when I click on camera assistant. I tried to run the compatibility progra

  • Wireless network adapter cannot be found on Satellite L350

    On my Toshiba Satellite L350, I can't get a wireless connection to my network. My laptop only shows an adapter LAN (RTL8102E) and no (RTL8187B) wireless adapter. I installed the latest drivers again, but still no results. Can someone please tell me w

  • Backups with Windows XP Home Edition

    Backups I have XP Home Edition and after losing my hard drive and all my data etc. I'm trying to make a backup and find that there is no provision for this. Seems like Microsoft should have a program of free download for us newbies to make backups wi

  • Vista indicates wireless Brother MFC-490CW offline XP fine printers

    I can't printer in real-time from my laptop 2 vista but cannot always printer from my XP laptop. I can printer my printer vista on a printer cable with no problems.When I try to print on my printer wireless Brother from computers laptops vista, the p

  • Windows 7 Home Premium x 64 bit. ISO Spanish version

    Hello community, I am trying to get a downloadable version of the recovery of the Windows 7 Home Premium software. The main reason for this is because the product key that I have on the back of my laptop is rather blurry and I can't remember where I