https://www.kirupa.com/flash/hiding_..._some_time.htm
Can anyone translate this in AS2 ?
Printable View
https://www.kirupa.com/flash/hiding_..._some_time.htm
Can anyone translate this in AS2 ?
Please stand by, I've got the solution, but am getting an error trying to post it. Will post the code as soon as the issue's been resolved :)
ill make you an as2 > as3, as3 > as2 convertor application if you donate to my paypal
Would love to see and test the convertor
So, I was finally able to post the code here without being blocked by FlashKit, so I'm posting this for anyone still interested :)
Here's the code in AS2, just paste it in your Frame Actions/Code:
I've also uploaded the file, in case you're interested: https://files.fm/f/7cgwrd9gCode:var secondsToWait = 2; // only change this value
var currentCount = 0;
setInterval(HideMouseAfterWait, 1000);
onMouseMove = ResetTimer;
function ResetTimer(){
Mouse.show();
currentCount = 0;
}
function HideMouseAfterWait(){
currentCount += 1000;
if(currentCount == secondsToWait * 1000){
Mouse.hide();
}
}
Hello Nig. Nice to see you after centuries, LOL. :yikes:
(Are you still on Skype?)