I'm a total beginner with Actionscript. I need to make a slideshow that has say, 10 photos next to each other. When a user clicks on one of them and holds and drags the mouse left and right, the photoset will move left and right as well. When the user lets go, the slideshow should naturally slow down after a second or so and come to a complete stop.
Friction: [link] (Robert Penner's easing classes) For Dragging and moving: Use key handlers and either movieclips or buttons attached to a function which advances your the photos.
That's basically how you would do this. Once you can load in all your images and thumbnails and have all your obscuring set up, what you would do is tie your thumbnails to your photos and when you click and drag, you call a function which moves along the image until it had reached the correct one, using the easing classes to give it "friction". That's the basic logic which you would need.
Actually, as of AS3.0, you can use fl.motion.easing or fl.transitions.easing for "friction". Look at Penner's easing classes in order to get an example of what each type of easing is.
As I say, I'm a complete beginner with Actionscript so I don't really know how to use the AS3 packages. I'm not a coder of any sort. I'm more visual. Can you provide me with the script that I'd need to attach to the movieclip or a link to somewhere that has it? I don't know how to use Penner's classes without a further explanation of how to attach them to a movieclip.
How would I do this?
--
[link] The Work Of [link]