A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Help with IF Script

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    14

    Help with IF Script

    if (abort eq "95743G29V8X0") {

    stop;
    }

    I have Flash MX 2004 Pro. I wanna make it so I can press the enter key on the keyboard when I type the code in thats in the IF script to make my countdown stop.
    Greg Minder

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    try this....

    if (abort == "95743G29V8X0") {
    _root.counter.stop();
    }

    Assuming 'counter' is a movieclip.

    NTD

  3. #3
    Left-Handed Flash User mickbrit55's Avatar
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    1,375
    Hiya

    ... and I assume that "abort" is the instance name of the input text box right?

    Mick

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Posts
    14

    Re: Help with IF Script

    The new script you gave me doesn't work.
    Last edited by gregminderkai; 09-05-2004 at 09:02 PM.
    Greg Minder

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center