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
| AudioSFX = function( _p, _autoplay ) { | |
| var self = this; | |
| var parent = _p; | |
| this.sounds = new Array(); | |
| this.context = new webkitAudioContext(); | |
| this.autoplay = _autoplay; | |
| this.play = function( sound ) { |
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
| wamp server access from another computer | |
| Step 1. Install WAMP server . | |
| Step 2. Put Offline Server. | |
| Step 3.Apache -> httpd.conf | |
| Step 4. | |
| <Directory "cgi-bin"> | |
| AllowOverride None | |
| Options None | |
| Order allow,deny |
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
| stop(); | |
| var startX:Number; | |
| var startY:Number; | |
| drag_1.addEventListener(MouseEvent.MOUSE_DOWN,m_d); | |
| drag_2.addEventListener(MouseEvent.MOUSE_DOWN,m_d); | |
| drag_3.addEventListener(MouseEvent.MOUSE_DOWN,m_d); | |
| drag_4.addEventListener(MouseEvent.MOUSE_DOWN,m_d); | |
| drag_1.addEventListener(MouseEvent.MOUSE_UP,m_u_1); | |
| drag_2.addEventListener(MouseEvent.MOUSE_UP,m_u_2); |
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> | |
| <title>Drag & Drop</title> | |
| <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"/> | |
| <meta name="apple-mobile-web-app-capable" content="yes"/> | |
| <link href="./data/StyleEfeldmobile.css" rel="stylesheet" type="text/css"> | |
| <script type="text/javascript" src="./data/jquery-1.9.1.min.js"></script> | |
| <script type="text/javascript" src="./data/jquery-ui.min.js"></script> | |
| <script type="text/javascript" src="./data/jquery.ui.touch-punch.min.js"></script> |