This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <canvas id="canvas"></canvas> | |
| <!-- Paper.js v0.9.15 Date: Sun Dec 1 23:54:52 2013 +0100 --> | |
| <script type="text/javascript" src="https://rawgithub.com/paperjs/paper.js/master/dist/paper-full.min.js"></script> | |
| <script type="text/javascript"> | |
| window.onload = function() { | |
| var canvas = document.getElementById('canvas'); | |
| paper.setup(canvas); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var aRebobinar:Boolean = false; | |
| botaoesquerda.addEventListener(MouseEvent.CLICK, animar); | |
| botaodireita.addEventListener(MouseEvent.CLICK, retroceder); | |
| mcinvi.addEventListener(MouseEvent.ROLL_OVER, parar); | |
| mcinvi.addEventListener(MouseEvent.ROLL_OUT, tocar); | |
| mcinvi.buttonMode = true; | |
| function parar(event:MouseEvent) |
NewerOlder