HELP! Displaying Text Randomly Every Time I Click using ActionScript 3.

Hello! I'm doing a school project using Adobe Flash ActionScript 3. Here is an image of what I am working on:
I have a text box layer on top of the talk bubble. At first it is blank, then I click on Hello Kitty and a random phrase pops up in the text box from the array I created. However, when I click her again she will not say another random phrase. I don't know what I'm doing wrong. Here is the code. Please, take a look at it and let me know what I can do to fix it! Thanks!
var myPhrases:Array = new Array(); // HELLO KITTY PHRASES FOR TALK BUBBLE
myPhrases[0]="My name is Hello Kitty!";
myPhrases[1]="How are you today?";
myPhrases[2]="Smile! It's a beautiful day!";
myPhrases[3]="I want to be your friend!";
myPhrases[4]="You have a great smile!";
myPhrases[5]="I like flowers & rainbows.";
myPhrases[6]="What is your name?";
myPhrases[7]="Let's find Dora and go on an adventure!";
myPhrases[8]="Mmmmeeeeoooowww!";
var i:int=Math.floor(myPhrases.length*Math.random()); // RANDOM PHRASE
var value=myPhrases[i];
HKITTY_mc.addEventListener(MouseEvent.CLICK, onClick); // CHANGE PHRASE WHEN YOU CLICK ON HELLO KITTY (THIS IS NOT WORKING!!!!)
function onClick(event:MouseEvent):void {
stop();
ILOVEMYTEXTBOX.text=value;

If you just move those two lines of code into the function it will take care of things...
function onClick(event:MouseEvent):void {
     var i:int=Math.floor(myPhrases.length*Math.random()); // RANDOM NUMBER
     var value=myPhrases[i];
     ILOVEMYTEXTBOX.text=value;
which you could shorten to...
function onClick(event:MouseEvent):void {
     ILOVEMYTEXTBOX.text=myPhrases[Math.floor(myPhrases.length*Math.random())];
and you should be able to delete the duplicate post you have for this

Similar Messages

  • Help, my Safari browser has been acting super strange.  It keeps changing my default browser from Google to Only Search, and my search bar will only search on Yahoo no matter what I do.  On top of that I get MacKeeper popups every time I click a link

    Help, my Safari browser has been acting super strange lately!  It keeps changing my default browser automatically from Google to Only Search (if you use the search engine Only Search it takes you to Yahoo.com).  My search bar will only search on Yahoo no matter what I do to make it Google.  On top of that I get MacKeeper popups every time I click on a link.  What is worn with my computer and how do I fix it?!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
              com.something.daemon.plist
    Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
    There may also be a file named
               com.something.helper.plist
    in the same folder.
    If you find files with names that fit the above description, post what you have for "something."

  • I can't update iPhoto 9.4.1 to 9.4.3.  Every time I click update, it tells me to sign in to the account I used to purchase it but it was preinstalled.  Please help!!!

    I can't update iPhoto 9.4.1 to 9.4.3.  Every time I click update, it tells me to sign in to the account I used to purchase it but it was preinstalled.  Please help!!!

    They are updated through the Software Update facility, not the Mac App Store.
    Thanks for popping in....
    My iLife apps are all from retail install disks predating Lion/ML; I am running 10.8.4 and as soon as I choose Software Update from the menu, the app store 'Updates" window opens with "checking for updates". I believe that behavior (SU being directed to MAS) was changed with ML?

  • I currently use a iMac OS X 10.6.8 and I cannot open iPhoto. Every time I click on iPhoto the coloured wheel comes up and lets me go no further, leaving me with no other option but to force quit the application. HELP!!

    i currently use a iMac OS X 10.6.8 and I cannot open iPhoto. Every time I click on iPhoto the coloured wheel comes up and lets me go no further, leaving me with no other option but to force quit the application.
    it is showing all my existing photos but will not let me click on any of them, nor will it allow me to import any new photos into iPhoto.
    I am really worried that I cannot access all of my photos and even more worried as I need to back them up!!
    HELP!!

    Try repair the Library:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • I'm new to photoshop cc 2014. As I try to type in the text box my text won't show up and every time I click on the layer it alway progress rendering type? What does that mean and is there a way I can turn it off?

    I'm new to photoshop cc 2014. As I try to type in the text box my text won't show up and every time I click on the layer it alway progress rendering type? What does that mean and is there a way I can turn it off?

    Check online with the web site of the maker of your video card for an updated driver (assuming you're running Windows).
    -Noel

  • Why do i keep getting Java Script Application saying uninstal and every time i click on my mouse the pop up appears and its sometimes hard to get rid of it. Please help. God Bless

    As soon as I log on to Firefox this pop up appears on the screen saying Java Script Application and under neath it it says uninstal and beside uninstal is a yellow triangle with a exclamation mark inside of it. Every time I click the mouse the pop up reappears over and over. It's really a nuisance and I need your help.The word uninstal is spelled like you see it, even though it's spelled wrong.Thank you and God Bless

    Other users have reported that this is caused by one of their add-ons. I suggest going to the Add-ons page and disabling everything that is not essential, and then restarting Firefox. Hopefully it's not caused by something you really rely on.
    orange Firefox button ''or'' Tools menu > Add-ons
    On the left side, click Extensions
    Then disable as many as possible and restart Firefox.
    Any luck?

  • HT1338 My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds. Can you help me?

    My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds before the screen changes. This has been happening the past 24 hours. Any ideas?

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Every time i click on a link another random link pops up in a new window. Does this mean i have a virus on my mac?

    every time i click on a link another random link pops up in a new window. Does this mean i have a virus on my mac?

    No; it means that the computer has adware. Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones. If you're willing to use a tool to remove it(you don't need to, but may find it easier), you can instead run Adware Medic; this link is a direct download.
    (122523)

  • My Ipod is messed up. Every time i click the top button it just flashes the apple sign for like 5 seconds and then goes off and just continues to do that. help?

    My Ipod is messed up. Every time i click the top button it just flashes the apple sign for like 5 seconds and then goes off and just continues to do that.Can someone please help?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Every time i click on Edit, then prefrences, itunes stops responding. Help, please?

    I've spent 2 hours trying to get this to work.
    I have a Dell Vostro 400, and it's pretty old, but recently restored.
    I want to save some of my music that i have on iTunes to my Android Tablet, but in order to, I have to open prefrences.
    Problem is, Every time I click on edit>prefrences, it freezes, and I have to open task manager and end it.
    I really need this fixed soon. Can someone please help me out?

    Look in the default folder location for your iTunes media files:
    \Documents and Settings\username\My Documents\My Music\iTunes.
    If you can find them, you can sync without using iTunes preferences.
    Seth
    iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/TS1421

  • Unable to open the photos in reviewer, every time I click on the photo on , it says do not have permission to view the photo. Please open the item in the finder choose the item and click on get info . What am I suppose to change in the setting on getinf

    Unable to open the photos in reviewer, every time I click on the photo on , it says do not have permission to view the photo. Please open the item in the finder choose the item and click on <get info>. What am I suppose to change in the setting on <get info>

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if it frightens you, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password dialog will open. You’re not going to reset a password.
    In the dialog, select the startup volume ("Macintosh HD," unless you gave it a different name) if it's not already selected.
    Select your username from the menu labeled Select the user account if it's not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • ITunes 64-bit runs 32-bit, Secure link to iTunes Store failed, and SyncMapiInterfaceHelper_x64 crashes every time I click 'Info' tab in an iDevice.

    Hello everyone,
    There are 3 issues I have, as it reads in the title.
    1) I am running iTunes on a Win7 64-bit ThinkPad, and iTunes shows up as a 32-bit application in the Task Manager, always. I tried even the complete uninstalling (after removing Bonjour, Apple Mobile Service, deleting the folders, etc.) and yet, it shows up the same way.
    2) When I run diagnostics, it says 'Secure link to iTunes Store failed'. I've tried many things from whatever I've read in the forums and nothing seems to be changing that.
    3) Every time I click the 'Info' tab on any iDevice (I tried it with a 3GS and a iPod Touch), I get a 'SyncMapiInterfaceHelper_x64 has stopped working' message thrice. I don't know the significance of thrice but it just does come.
    I hope someone helps.
    Thanks!

    That one's normal. On 64-bit systems, iTunes is a mix of 32-bit and 64-bit componentry. The itunes.exe is 32-bit.
    Oh, okay. Thanks!
    Could you walk us through what happens when you try to connect to the Store, please?
    The issue is when I run diagnostics. I happened to run it last night while updating my 3GS to iOS 6, and there was a 3194, and a search to solve that, led me to running the diagnostic.
    I was wondering how it affects me because I haven't faced any issue in downloading or browsing the AppStore. The transcript of the 'Run diagnostics', for networks is as below:
    Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)
    LENOVO 7673W1T
    iTunes 10.7.0.21
    QuickTime 7.7.1
    FairPlay 2.2.19
    Apple Application Support 2.2.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.0.59
    Apple Mobile Device Driver 1.62.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0024A7C4128947B0
    Current user is an administrator.
    The current local date and time is 2012-10-03 03:21:16.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 15442555d5b073dd49a48bf144616e26
    iPodService 10.7.0.21 (x64) is currently running.
    iTunesHelper is currently not running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:    {3FCCDDC1-FFD0-4B3D-BF7A-A962D6AD5746}
    Description:    Intel(R) PRO/Wireless 3945ABG Network Connection #2
    IP Address:    192.168.0.100
    Subnet Mask:    255.255.255.0
    Default Gateway:    192.168.0.1
    DHCP Enabled:    Yes
    DHCP Server:    192.168.0.1
    Lease Obtained:    Wed Oct 03 02:58:46 2012
    Lease Expires:    Wed Oct 03 04:58:46 2012
    DNS Servers:    192.168.0.1
    Adapter Name:    {AB3C7DD5-0434-424D-9481-7C12BFC73792}
    Description:    Intel(R) 82566MM Gigabit Network Connection
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 05:30:00 1970
    Lease Expires:    Thu Jan 01 05:30:00 1970
    DNS Servers:   
    Active Connection:    LAN Connection
    Connected:    Yes
    Online:        Yes
    Using Modem:    No
    Using LAN:    Yes
    Using Proxy:    No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-10-03 03:15:42.
    Nothing about the 3rd? It is pretty confusing as to why it appears because there don't seem any answers all over the web about it.

  • Every time I click on a link in safari, an ad page pops up

    Hello,
    I have a MacBook Air (13-inch, Mid 2013) and I am using MacOsX Yosemite edition. A few hours ago something's happened to my safari and almost every time I click on a link, an ad opens up in a tab. When I search something from the address bar, it uses a search engine called http://thesmartsearch.net/ in stead ıf gooogle. Although, I set it back to google from preferences, it automatically goes back to this smartsearch engine.  Also, streaming has slowed down, it feels like something is continuously running at the background and my fans are non-stop working right now. I'm scared if I have a virus or something. Could you help me solving this problem? Many thanks,
    Sinem

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Is there a way of wiping ALL Safari data, i.e. restoring Safari ? I think my Safari has a virus..as every time I open it, a web page called 'search quick' comes up. Its bombarded my Safari with constant pop up adverts almost every time I click!

    is there a way of wiping ALL Safari data, i.e. restoring Safari ? I think my Safari has a virus..as every time I open it, a web page called 'search quick' comes up. Its bombarded my Safari with constant pop up adverts almost every time I click!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Every time I click on a website a pop up ads appear

    Can somebody help me?
    Every time I click on a new web, website pop up like Mac Keeper, Booking.com, WINMOB, Videostripe, etc appears.
    My macbook air is only 1 week old and I am very new to this.
    Please help!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

Maybe you are looking for

  • Wireless internet problem!

    hello, i just got my new laptop a couple days ago. i have a netgear wireless router and a cable modem. everything works fine at my house and the internet works as it should. the problem is when i go to another house it doesnt work. everything is plug

  • Freight charges borne by the company

    Dear All, Issue is regarding the freight charges borne by the company. As we treat freight forwarder as vendor, and enter vendor at sales order level. However, how to make the posting of this freight charges to vendor reconciliation account. If any i

  • Type 1 Not Working on XP 64

    All other fonts work and all Type 1s work on other programs. What do I do to make it work? They worked on XP 32.

  • JTable not working with tableChanged

    Hi, I have a JTable and I use table model. I also use TableCellRenderer. Now when i use tableChange() method the method getValueAt(int nRow, int nCol) in the model is called recursively forever. It starts with row zero to row 7 and then starts again.

  • 10g compatability with BI Beans

    Does anyone know if BI Beans will work with JDev 10g?