Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tivaelydoc

    Array of Movieclips.

    Well, one, I figured that I could use this code: var myclips=new Array("bob","left","eat","cheese","water"); for (i=0;i<myclips.length;i++) { t=this[myclips[i]]; t.onPress=function() { _root.sel=this; } } to create a array of MC, but I haven't figured out how to properly call...
  2. tivaelydoc

    Array of Movieclips.

    I want to create an array of MC, about 10 of them, and have buttons that go Next and Prev. Then have them appear in the stage at a specified location, but only the array that is click on, that way all 10 arrays aren't showing up at once. From there, I want to be able to click on the duplicated...
  3. tivaelydoc

    Clock issues.

    Did I write this code wrong: onClipEvent (enterFrame) { var time = new Date(); var month = time.getMonth()+1; var day = time.getDate(); var hours = time.getHours(); var minutes = time.getMinutes(); var seconds = time.getSeconds(); var milliseconds =...
  4. tivaelydoc

    How do you open a window with muliple keypress?

    Well I found/made a code that works. <script language="JavaScript"> var cheatCode = "all your base are belong to us".toUpperCase(); var codeIndex = 0; function executeCheat() { alert("h4x3d!!!1!11"); } function codeHandler(e) { if(!e) e = window.event; var k = e.keyCode...
  5. tivaelydoc

    How do you open a window with muliple keypress?

    var captcha = new Array(); var edits = new Array(); var cheatCode = '3838404037393739989713'; var cheat = ''; $j(document).keypress(function(key) { if (cheat.length < cheatCode.length) { var k = (key.keyCode == 0) ? key.charCode : key.keyCode; cheat = cheat + String(k)...
  6. tivaelydoc

    How do you open a window with muliple keypress?

    There is this script: http://www.dynamicdrive.com/dynamicindex1/slideinmenukey.htm and instead of it opening on just one key, I want it to open on several keys (one after another, like A then D then F), but how do I? I think this is the main part: if (ns4)...

Part and Inventory Search

Back
Top