FORUMS: list search recent posts

How do I get my piece to default back to the main page after a period of time?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
NoneOfOne
How do I get my piece to default back to the main page after a period of time?
on Feb 14, 2006 at 6:51:39 am

I


Return to posts index

Rene Hazekamp
Re: How do I get my piece to default back to the main page after a period of time?
on Feb 14, 2006 at 6:09:22 pm

Hi NoneofUs

I would use setInterval and getURL methods and functions

some thing like this

//

getpage = function(){clearInterval(interval1);
trace("webpage")
getURL(yourpage,[_self] // yourpage as in http://etc etc

}

interval1 = setInterval(getpage,10000)

//

if you copy and past it to a frame it will get you the specified page after 10000 milliseconds
and or the message "webpage" in the output window

hope this helps

Ren


Return to posts index

Rene Hazekamp
offcourse you can make this script more sofisticated
on Feb 14, 2006 at 6:15:34 pm

by using mouse listeners or make the script start counting again after a button click or whatever.

but that is up to you

all the best

Ren


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]