Skip to main content
Participating Frequently
July 11, 2009
Question

Project set up and code question

  • July 11, 2009
  • 1 reply
  • 483 views

I have a project in mind in which I would like 3 sets of interlinked images that are displayed on the same stage.  While the mouse is over one set the wheel button allows for scrolling through that set of images and so on for the other two sets of images.

How do I separate the three sets of images, so that scrolling through one set doesn't affect the other sets on the stage?  Each set has about 30 images each.

Any suggestions would be appreciated.

Furna

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 11, 2009

make each set a child of a different parent movieclip.  each parent could listen for a rollover to trigger a loop that would check the mousewheel and scroll the movieclip's height.

note:  mac users won't be able to scroll your images unless you provide some other way to scroll.

furnaAuthor
Participating Frequently
July 14, 2009

Thanks, kglad,

I've tried using the three sets of images as separate movieclips but am

using the nextframe event to scroll through the images and rather than

scrolling through just the image set that my mouse is overa all image sets

advance to the next frame within their movieclips. Do I need to use a

different event rather than nextframe?

Also for mac users how could I write a code that would accomodate both pc

(mousewheel) and mac (up and down arrows) users?

Thanks,

furna