Hi,
I’m making a thumbnail gallery that scrolls horizontally.If poss I want it to scroll left or right activated by mouse over a left or right arrow button.Obviously the scroll to the right is easy - but to scroll left the playhead needs to go backwards - anyone know how to??
Don’t want to use the scrolling script that is oftn used for this 'cos the client does’nt like how the scrolling stays active if you wander off the target and the images follow your cursor until you go back and disengage the action.
Hi,
The attaached file should help you out a bit, all the vode you need is inside the mc.scrollpane that is on the main stage. There is probably an easier way of doing this in mx, but all you really need to do is confine the actions of the mouse to a specific area which is defined in frame 2 of mc.scrollPane.
The original code for this comes from Foundation ActionScript by Sham Bhangal I just converted to an mc and then added the code that confines the actions of the mouse
Hope it helps, any probs or questions post here, btw ignore the text in the scroll and imagine them as images, the text will not do what it says as I put this togethr for a cd rom marketing presentation, what seem a long time ago
Cheers
Steve
That’s about exactly what I’m looking for I’ll try it out after work 2day.
Thanks very much for your help Steve.