Wrox Home  
Search P2P Archive for: Go

  Return to Index  

flash_programming thread: Re: Continuous Navigation Menu


Message #1 by dwhillier@c... on Fri, 12 Oct 2001 21:22:34
Mark,

You could build the menu with repeating links at the end to simulate the 
wrapping:

List of hypothetical links: Link01, Link02, Link03,  Link04, Link05, 
Link06, Link07, Link08, Link09, Link10, Link11, Link12, Link13, Link14, 
Link15

Say 3 links could be displayed at any one time, you would then repeat the 
first 2 links (one less than maximum number of links displayed at any one 
time) at the end of the list like so:

Link01, Link02, Link03,  Link04, Link05, Link06, Link07, Link08, Link09, 
Link10, Link11, Link12, Link13, Link14, Link15, Link01, Link02

You would then program the forward and back buttons (however you choose). 
To make the links seamlessly loop while pressing the forward button, you 
would make the list of links jump to the beginning after reaching the end. 
The list would actually appear to loop because of the repeating links at 
the end. If pressing the back button, simply program the list of links to 
jump to the end once the beginning is reached.

It is a little hard to explain by just talking to it, but I hope this will 
help you out.

Dean.

> Hi,
> 
> I was wondering if someone could give me some advice as to how I could 
build
> a continuous navigation menu.  Basically what I am trying to do is to 
build
> a menu system with about 15 links,  however the user will have the 
option to
> scroll through them.  However instead of going to the end of the list and
> having to scroll back through, I would like the first option to appear.  
I
> know this may seem confusing, but you imagine a circle with 15 button 
around
> it, then I want the user to be able to click right and left and never 
come
> to the end of the list, instead the same option reappear.
> 
> Any help anyone could offer would be greatly appreciated.
> 
> Many thanx,
> 
> Mark
> 
> 

  Return to Index