Script for Passage of TIme?



i'm wondering if steer me in right direction. i'm doing banner ad gets point , there stop action , user prompted interact, when he/she does, animation continues end. working fine. but, client wants me add scripting says if user doesn't interact after 6 or 7 seconds, continue end anyway. i'm action script (2.0) novice , don't know how accomplish this. desperately seeing advice. in advance!

you can use settimeout() call function f after time t milliseconds:

var t:number = 6000;
settimeout(f,t);

function f(){
yourtimeline.play();
}


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

Rasperry Wifi LAN Controller - Raspberry Pi Forums

Unlock car with bluetooth and car key