[FMX] Changing the 'channel'

OK, here I am again, confuzzled and feeling a little inadequate - I like to figure this stuff out for myself, but some challenges are just a little beyond my AS skills.

Anyway, I’m building a website with a TV interface in mind. The only thing I really need to iron out is the ‘Channel Up’ and ‘Down’ buttons. The main movie loads an outside .swf file initally, and I have a series of buttons uptop the user can use to jump directly to a particular part of the site, loaded via loadMovie. Those work fine. What I can’t figure out is out to make the CH UP and CH DOWN buttons jump to the next ‘channel’, or part of the site (Services, to Profile, to Contact, and so on).

IMO, I’m not thrilled with how this whole site is being laid out, but my boss is the one who’s pushing this thing, so onward I go. Any help would be GREATLY appreciated. :slight_smile:

Btw, if needed I’ll upload the file. Just post and let me know. :slight_smile:

use a global var to keep track of which “channel” you’re in,
compare to array of channels => select the one before/after on click of up/down
from the array

I kinda figured that was the answer, but where do I put it, in the main movie (and if so, how do I update the variable), or in the loaded movie (and if so, how do I call it)?

If I had to guess, I’d think in the loaded movie, declared on the main timeline, along the lines of :

var _root.curchannel = 1;

And then just call it in the main movie as seen above.