![]() Topic awaiting preservation: Clearing intervals problem... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() Hello all, I've written this script to allow me to move objects around, but I'm having problems clearing the intervals... code: var moveAr = new Array();
|
Nervous Wreck (II) Inmate From: Indianapolis, In USA |
![]() There's agood example of attching and unattaching timers to elements at the 1k site. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() I believe your issues are with your use of the 'this' statement. You are setting those variables to a local scope to each time the function is called as opposed to a constant array of intervals |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() how does that work in Javascript? |
Nervous Wreck (II) Inmate From: |
![]() Thanks for your help guys... here's the finished movement script... use it as you like. code: //--------------------------------------------------
|