Hi,
The easy answer is flash to flash transition. You could simply put a timer on a movieclip, when the time runs out, load another clip or toggle the visible property of a movieclip on stage....
Code:
_root.mcName.onLoad=function() {
time = getTimer();
}
_root.mcName.onEnterFrame=function() {
time2 = getTimer();
//flash time is in milliseconds, 10000 = 10 seconds
if (Number(time2-time)>10000) {
_root.mcName._visible = false;
}
trace(time2-time);
}
You could also use a javascript command to load a .swf, then after a period of time, load another .swf..... or .html page. Here is a quick Javascript for loading based on time, just used hours, but you could more precisely define it to seconds if you want....
Code:
<SCRIPT LANGUAGE = "JavaScript">
<!--
now = new Date();
hour = now.getHours();
if (hour > 7 && hour < 17.5) {
window.location = ('somePage.swf');
}
else {
window.location = ('someOtherPage.html');
}
// -->
</SCRIPT>
Bookmarks