http://www.contrechoc.com/flash/dressupoff/dressupoff.html
(move the mouse over the images and watch the movie go forwards and backwards and change the speed of showing the images)
so: this is a sequence of images which can be played forwards and backwards using the mouse.
the script can be found here: (only the movie for the script,the folder “images” has to be added…)
http://www.contrechoc.com/flash/dressupoff/dressupoff.zip
used:
a timer: (to get the images loaded)
var clickTimer:Timer = new Timer(200);
clickTimer.addEventListener(“timer”, functionToDoWhenTimerFires);
clickTimer.start();
a mouse event, (to change the speed of the timer, property timer delay and to change the timer frequency)
stage.addEventListener( MouseEvent.MOUSE_MOVE, changeTimerDelayAndDirection);
for the rest only loadImages is used….
Aucun commentaire:
Enregistrer un commentaire