# Array loop making me loopy

**URL:** https://forum.kirupa.com/t/array-loop-making-me-loopy/111419
**Category:** Uncategorized
**Created:** [May 26, 2004, 7:43pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419 "2004-05-26T19:43:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jbnb](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jbnb](https://forum.kirupa.com/u/jbnb)
#### Post date: [May 26, 2004, 7:43pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/1 "2004-05-26T19:43:55Z")

</div>

Hello – I know this should be simple, but I cannot figure it out. Please take a look at the attached file and point me in the right direction. Half of my navigation code works, but the arrow forward and back do not.

Thanks for any assistance given!!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2004, 10:01pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/2 "2004-05-26T22:01:58Z")

</div>

You needed another variable to know which movie is the current one:)  
I also added some enabling/disabling

scotty(-:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 27, 2004, 2:01pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/3 "2004-05-27T14:01:13Z")

</div>

Great start – The arrows continue to advance beyond 7 (the number of movies) so, the highlight and movie displayed get out of wack.

Scotty, can you recommend a great Actionscript book, or have you gained your knowledge via forums, tutorials and trial and error? I am very grateful for your help.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 27, 2004, 3:09pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/4 "2004-05-27T15:09:40Z")

</div>

No problem, jbnb:thumb:

For a book search the forums, you’ll find some recommendations.  
I’ve learned it by trial and error, especially on this great site=)

scotty(-:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 27, 2004, 10:41pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/5 "2004-05-27T22:41:46Z")

</div>

Oop … the back arrow does not work correctly. Maybe needs a if/then condition?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 28, 2004, 2:19pm UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/6 "2004-05-28T14:19:34Z")

</div>

What doesn’t work?

scotty(-:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 30, 2004, 1:56am UTC](https://forum.kirupa.com/t/array-loop-making-me-loopy/111419/7 "2004-05-30T01:56:27Z")

</div>

When the arrows are selected the buttons highlight correctly, but the corresponding swf’s don’t play. Especially going down the sequence.
