A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Infinite Menu - slight problem....Can't figure it out

  1. #1
    Getting Better With Time
    Join Date
    Jun 2001

    Infinite Menu - slight problem....Can't figure it out

    Hello there,

    I am trying to make an infinite menu that slide up and down the screen. I have followed the tutorial on this site, but modified the code to produce an up and down movement of the buttons. However, they don't form the continuous look of the samples on the site. It tends to reset itself each time it goes beyond the parameters set. I can't quite figure out the parameters to make it work properly.

    Here is the code i placed on the movie. I've tinkered with the numbers, so they may be nowhere near what they should be.

    onClipEvent (load)
    onClipEvent (enterFrame)
    var distance=_root._ymouse-ycenter;
    if (_y > 0) _y=-240;
    if (_y < -240) _y=0;

    I would greatly appreciate anyone's help on this. I've attached the file in case you want to take a look at it.

    Thanks for your time.

    Greg White
    Attached Files Attached Files
    Greg White

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center