Please help me in doing  this..."ignorecase for input textfield validation in as3"...

import flash.events.Event;
inptxt.restrict = "a-zA-Z ";
inptxt.addEventListener(Event.CHANGE, fun);
function fun(e:Event):void
    if (inptxt.text == "Heart")
        trace("Correct");
//This is the code I'm using, this should validate for the word"heart" even all letters entered are in caps or in small or in both...
//Thanks in advance . . .

Use:
function fun(e:Event):void
    if (inptxt.text.toLowerCase() == "heart")
        trace("Correct");

Similar Messages

  • I have an Ipod 4th gen. and when you plug it into the wall it is stuck on the charge/lighting bolt screen and it wont charge, and when you plug it into a computer (PC) the lighting screen wont even apear. Please help I have had this problem for forever.

    I have a ipod touch 4th gen and it wont chrage. When you plug it into the wall the lightniing bolt screen will apear but no matter how long you leave it, it will never turn on. Also it the lightning bolt screen wont even come on when you plug it into a computer (PC)..........PLease help its been like this for forever

    Hi Gammer576775!
    Here is an article that will help you troubleshoot this issue with your iPod touch:
    iPod touch: Hardware troubleshooting
    http://support.apple.com/kb/ts2771
    Will not power on, or will not turn on unless connected to power
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Connect the iPod touch to an Apple USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if the display turns on and…
    The home screen appears, the device should be working. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen: . Then disconnect the device from power. If it immediately turns off, seek service.
    The low-battery image appears even after the iPod touch has charged for at least 20 minutes: See the "iPod touch displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or low-battery image appears , continue with this article for further troubleshooting steps.
    If the iPod touch did not turn on, reset it while connected to an Apple USB power adapter. If the display turns on, go to step 4.If the display remains black, go to the next step.
    Restore the device. Connect it to a computer and open iTunes. If iTunes recognizes it and indicates that it is in recovery mode, attempt to restore the iPod touch. If the device doesn't appear in iTunes or if you have difficulties in restoring it, see this article for further assistance.
    If restoring the iPod touch resolved the issue, go to step 4. If restoring it did not solve the issue, seek service.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Please help me in doing this

    hi,
    I'm new for the JSP and got struck at this point .
    I have a JSP page wherein it consists of a table and the servlet that retrieves the data from the DB(MY SQL). Now i need to fill the contents of the table as mentioned below.
    First 5 rows must get printed then upon clicking the next button the next five rows must be filled.....and so on......
    Please help me in reaching this requirement.
    JSP CODE:
    <%@ page import="java.io.*" %>
    <%@ page import="java.lang.*" %>
    <%@ page import="java.util.*" %>
    <html>
    <head><title> TOP USERS </title>
    </head>
    <body bgcolor="c0c0c0">
    <div align="center">
    <table>
    <tr bgcolor="white"><td> <font color="red" size="5"><b>TOP  USERS </b> </font></td></tr>
    </table>
    </div>
    <div align="center">
    <form name="top">
    <font face="verdana">
    Report for TOP
    <select name="users">
    <option value="5">5
    <option value="10">10
    <option value="15">15
    </select>
    Users
    <br> <br>
    <% ArrayList list=new ArrayList();
    list=(ArrayList)request.getAttribute("TOPUSERS");
    %>
    <table border="1" align="center" width=35%>
    <tr>
      <td align="center"><b> Name </b> </td>
      <td align="center"> <b> Phone # </b> </td>
    </tr>
    <%
      int cnt=10;
      if(cnt!=0)
      for(int i=0; i<cnt; i++)
    %>
    <tr>
    <td align="left"> <% out.println(list.get(i));
                         i++; %>
    </td>
    <td align="right"> <% out.println(list.get(i));%>
    </td>
    </tr>
    <% }
      }  %>
    </table>
    <table border="0" align="center" width=35% >
    <tr><td align="right"> <input type="submit" value="next" name="next" onclick="return cnt+=10"> </td> </tr>
    </table>
    </font>
    </form>
    </div>
    </body>
    </html>Please correct the above code......
    sorry if my code is wrong........
    Here i can print the all the rows at once but i'm not able to pring in 5 rows and upon the clik of next the next five rows........

    Pass it as a hidden parameter.

  • HT203167 I cannot sync my iPad or iPhone to iTunes on my Windows 8 PC, even though I have been doing this successfully for years. I have been through all the troubleshooting steps I can find in iTunes, to no avail. Help please?

    I cannot sync my iPad or iPhone to iTunes on my Windows 8 PC, even though I have been doing this successfully for years. I have been through all the troubleshooting steps I can find in iTunes, to no avail. Help please?

    I seem to be having the same problem on my Windows 8 laptop... I am able to update my iPod Nano through iTunes but my iPhone is not recognized as a device in iTunes. Have been able to update my iPad until recently. Is this a bug fix that Apple can help with? I'd rather not uninstall all my Apple programs if I can avoid it...

  • I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    Sorry for not getting back with you...
    That moves only the iTunes media, not the iTunes library (which is really kinda nebulous).
    iTunes library = iTunes folder and all the media, wherever it is located.
    The /Music/iTunes/ folder contains the iTunes library.itl file, which keeps track of everything in iTunes.
    I do however still have the original MAIN startup drive still in the computer, it's just not the startup.
    This is good you still have it.
    Try this...
    Hold Option and launch iTunes.
    Select Choose library... and select the /iTunes/ folder on the original drive. It should be in /Users/your_user_name/Music/.
    Don't mess with anything. We can get it cleared up.
    Does everything work okay?

  • My osx version is 10.8.2. i was buying the facetime app for my mac. i got this error -"FaceTime can't be installed on "Macintosh HD" because the version of OS X is too new." so please help me out of this funny situation.

    my osx version is 10.8.2. i was buying the facetime app for my mac. i got this error -"FaceTime can’t be installed on “Macintosh HD” because the version of OS X is too new." so please help me out of this funny situation.

    https://www.apple.com/support/mac-apps/facetime/

  • Can a one please help me turn off auto play for Facebook the option is no longer in my  General settings  why is this ?

    Can a one please help me turn off auto play for Facebook the option is no longer in my  General settings  why is this ?

    And yet the link you posted only tells you how to do it on the Facebook App for Android. Nothing about the Facebook page is mentioned at all, or how to do it on an iPhone.
    With that said, and assuming you have the most up to date version of the Facebook App, you can now turn the auto play feature Off within the Facebook App itself.  Tap on the "More" icon on the bottom right, then scroll down to Settings->Videos and Photos->Auto Play. If Smart auto-Play is on turn it off. Then you can set the check mark on "Never Play Videos Automatically" which is the same as Off.

  • Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004 Please help me in solving this problem.

    Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
    Please help me in solving this problem. 

    Make sure Java is enable in your browser's security settings.
    Open Java Preferences (in Utilities folder)
    Make sure Web-start applications are enabled.
    Drag Java 32-bit to the top of the list.
    jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol).

  • HT1212 device disabled after entering wrong passcode. Please help me in getting this unlocked  without lossing the data as the data is really important for me

    device disabled after entering wrong passcode.
    Please help me in getting this unlocked  without lossing the data as the data is really important for me

    I think you should call via phone or perhaps take it to a phone store. I suggest taking your id, box packaging and other necessities such as the reciept of the phone being purchased.
    Hope this helped

  • Please help me with msi installer file for 11.6.8.* as this is our standard version which we use for all machines in our organization

    please help me with msi installer file for 11.6.8.* as this is our standard version which we use for all machines in our organization

    arai-c wrote:
    I have full version of this software but I am not able to install it silently because it always gives Google toolbar pop up which We dont required
    arai-c wrote:
    the problem is we dont have msi file for 10.6.*.* and hence I am not able to create package for it
    I don't understand; two days ago you wrote that you have it, now you don't...?
    If you don't have it, then why not deploy the current version 12.1.3.153 - I don't see the point of installing an old, unsecure software version.

  • HT201328 my iphone 4G buy from japan, i need to use in indonesian, please help me, i spent much money for this phone.....

    my iphone 4G buy from japan, i need to use in indonesian, please help me, i spent much money for this phone.....

    froggy_vic wrote:
    so even if your phone is unlocked you wouldn't be able to use it anywhere else.
    Absolutely not true. There is no difference, spec wise, between the iPhone sold in Japan & the GSM iPhone sold everywhere else. iPhones in Japan use UMTS 2100.

  • HT4623 After I update IOS6 for my iphone 3gs, while i turn on vibrate (Using side button) is not supporting. Automaticlaly tur.n on ring mode. So please help me to resolve this issue.

    After I update IOS6 for my iphone 3gs, while i turn on vibrate (Using side button) is not supporting. Automaticlaly turn on back to ringing mode. So please help me to resolve this issue.

    No one facing this issue in 3GS? please help me.

  • HT1212 My iPod touch is disabled after too many attempts and I want to enable it without getting it clear so can you please help me out in this....

    My iPod touch is disabled after too many attempts and I want to enable it without getting it clear so can you please help me out in this....

    A data recovery company MAY be able to do it for a price. The Disabled is a very good security feature.
    JWhy not just restore from the last backup you have?
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Please help: Why JMF does't play .avi video clip?

    The player doesn't play .avi media file, or plays sound only, but it works fine when palying .mpg files, anything I need to pay attention to when using the following code to generate a player to play video clips?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.media.*;
    public class PlayClip extends JFrame {
    //singliton design pattern
    private static PlayClip instance;
    protected Player player;
    private File file= new File ("goal.avi");
    private PlayClip () {
    instance=null;
    initComponents();
    public static PlayClip getInstance(){
    if (instance==null)
    instance=new PlayClip ();
    return instance;
    private void initComponents() {
    JButton OK = new JButton ("OK");
    OK.addActionListener (
    new ActionListener () {
    public void actionPerformed (ActionEvent e) {
    player.close ();
    instance = null;
    dispose();
    getContentPane ().add (OK, BorderLayout.NORTH);
    setSize (300, 300);
    show ();
    createPlayer ();
    /** Creates new form PlayClip */
    private void createPlayer () {
    if (file == null) {
    return;
    removePreviousPlayer ();
    try {
    //create a new player and add listener
    player = Manager.createPlayer (file.toURL () );
    player.addControllerListener (new EventHandler () );
    player.start (); //start player
    catch (Exception e) {
    JOptionPane.showMessageDialog (this, "Invalid file or location", "Error loading file", JOptionPane.ERROR_MESSAGE );
    System.exit (1);
    private void removePreviousPlayer () {
    if (player == null )
    return;
    player.close ();
    Component visual = player.getVisualComponent ();
    Component control = player.getControlPanelComponent ();
    Container c = getContentPane ();
    if (visual != null)
    c.remove (visual);
    if (control !=null)
    c.remove (control);
    private class EventHandler implements ControllerListener {
    public void controllerUpdate (ControllerEvent e) {
    if (e instanceof RealizeCompleteEvent ) {
    Container c = getContentPane ();
    Component visualComponent = player.getVisualComponent ();
    if (visualComponent != null)
    c.add (visualComponent, BorderLayout.CENTER);
    Component controlsComponent = player.getControlPanelComponent ();
    if (controlsComponent != null)
    c.add (controlsComponent, BorderLayout.SOUTH);
    c.doLayout ();
    }

    JDunlop,
    thanks for your quick reply to my java.sun.com forum posting! i just got back from vacation, so i didn't get a chance to try your method til now. i pulled your email address off the website to update you on my problem playing an avi file in JMStudio (JMF).
    as per your instructions, i downloaded the divx player at www.divx.com and tried to play the avi file. this is the error the divx player gives:
    Divx Player 2.1
    The file contains unknown video data
    The file contains the following type of data:
    Video data: FOURCC code "MP42"
    You may need to install a new video codec on your computer to watch this video
    Some quick questions:
    1. Where could I find the "MP42" codec to play my avi file in JMStudio (JMF)? Does java.sun.com have video codecs?
    2. You mentioned in your posting "If you don't have the one that was used in the encoding, your out of luck." Does this mean that I need to know how the avi file was originally coded and have the original codec to decode (play) it?
    Thanks,
    lac410
    P.S. If you need more Duke Dollars for your help, I'd be happy to award them to you.
    Re: Please help: Why JMF does't play .avi video clip?
    Author: JDunlop Jun 5, 2003 5:00 AM
    sounds to me like you are missing a video codecs. If you don't have the one that was used in the encoding, your out of luck. Download the player from divx.com, it will tell you which codecs the video needs (if it won't play). You can then search the net for that particular codecs.

  • Hi, I have recently updated my iMac from OS x mountain lion to OS X Mavericks. After that I can't upload any video and some files to my personal email account. Can anyone please help me to sort this problem.

    Hi,
    I have recently updated my iMac from OS x mountain lion to OS X Mavericks.
    After that I can't upload any video and some files to my personal email account.
    I have tried to send a small video clip to the sender as attachment. i have done this before
    with the same video same and same email account. This problem found just after installed the
    OS X Movericks. Can anyone please help me to sort this problem.
    Thanks.
    Roman

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in earlier versions there is only one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combinationcommand-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • Can't open m2v file with mpeg2

    I upgraded my QT mpegp2 to 6.4 buy putting in my FCP 4 SS# then dowloading it from the website but all my m2v file got the compresser icon on them and when I try to open them I get the error "QuickTime cannot open the file: "1_2.m2v" it is not a file

  • Undeletable black photo in album + new pics only in places not in album

    So, I got my new iPhone 4 and have discovered that in the album there is a black photo that I can't delete either by going to the photo and clicking on the trash, or by clicking edit in the album view, selecting the photo and deleting it. It prompts

  • Steps to connect a CRM system with MDM

    Hi everybody, I've got a problem here : I should build a connection between a CRM system and MDM (get the data in several tables in the CRM system, normalize them in MDM and then put them back in the CRM). What would the steps I've got to do to achie

  • Can time capsule be used to store the iPhoto library?

    Hi. Can somebody please advise if the time capsule can be used to store iPhoto library files (90GB) and iMovie files (600GB). Kind Regards Tony

  • Bridge Output - user template

    There are a number of templates available to create PDF output from Bridge. Is there a way to create custonm user templates? I cannot find a way to save and/or create them. John