easy flash question... i think

Out of context: Reply #3

  • Started
  • Last post
  • 4 Responses
  • DigitalMe0

    I've done this many times.

    you just need to duplicate the list...

    EXAMPLE:

    Item 1
    Item 2
    Item 3
    Item 1
    Item 2
    Item 3

    In this example the list would move down. The column would start with the bottom seciton visible first. The logic would be something like - if the list's y location is greater than, or equal to some coordinate then reset it's location here, otherwise move the list at some pixel distance per frame.

    If your list is dynamically generated, and therefore not a static size vertically it's a bit more complex, but not terribly. You'll just have to get the height of the list and use that measurement to determine point at which the list will reset.

    You should turn on 'snap to pixels' when you build the spaces for the menu items to keep em all nice and equal. that will make all your calculation easier.

    My kid woke me up at 5 a.m. this morning, hope this makes sense.

View thread