Flash tease - having a button take the user to a random page
Posted: Tue Sep 09, 2008 11:25 am
Question for those of you who are good at writing scripts for the flash-based teases... Is it possible to make a button go to a random page? For example, suppose I wanted to show the user 2 buttons:
A -> Takes the user to a random page between page2 and page7
B -> Takes the user to page8
I'd like to do something like:
buttons(range(2,7,'page'), "A", page8#, "B")
but I tested that and it didn't work. I suppose I could make the A button go to a fixed page (e.g., page9) and then have that page automatically jump to a random page, but I'd prefer to avoid that approach.
Any help would be appreciated. Sorry if this info has been posted elsewhere. I searched a bit and didn't find anything, though.
A -> Takes the user to a random page between page2 and page7
B -> Takes the user to page8
I'd like to do something like:
buttons(range(2,7,'page'), "A", page8#, "B")
but I tested that and it didn't work. I suppose I could make the A button go to a fixed page (e.g., page9) and then have that page automatically jump to a random page, but I'd prefer to avoid that approach.
Any help would be appreciated. Sorry if this info has been posted elsewhere. I searched a bit and didn't find anything, though.