A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: "Cheat Code" - Order of buttons clicked

  1. #1

    "Cheat Code" - Order of buttons clicked

    I have a game controller on the cover of the book on this page:


    I want to track the order of a series of clicks (like a cheat code) on the controller (such as Left - Right - Top - Top - Bottom) to perform a function. I'm not sure where to start with the Actionscript. I've created four buttons over the controller buttons, what code would I insert into each of them, and how would I use code to track the string/series of clicks to unlock the code when reached?

    I am using Flash CS3 with Actionscript 2.0.

    Thanks for any help!

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    London, UK
    have a look at :: Secret Login Screen :: in my library..hopefully that should help
    Flashmatics | Flashmatics Library (free downloads)
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    Flash Certified Developer

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