|
1. how to make people/things move with the arrow keys
|
a tutorial for begginers. 1.open flash. 2.create a new flash document. 3.create a movie clip of the person/thing you want to be able to move. 4.if its a person, animate it walking in an upward motion. 5. asign it these actions.(You can change the speed if you want) onClipEvent (load) { movespeed = 2; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _x-= movespeed; } if (Key.isDown(Key.LEFT)) { _x+= movespeed; } if (Key.isDown(Key.UP)) { _y+= movespeed; } if (Key.isDown(Key.DOWN)) { _y-= movespeed; } } 6.just copy and paste it. 7.press control and enter to watch it/him/her move!
Hits: 3 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
2. DoubleClick to Move Table Row feature
|
Basic info: IE, Good for single tables Only, No code required within table element other than id. Moving rows: Double-click row (changes color) to be moved, Double-click on location to move row. If row to be moved is above the future location then it will be inserted below location. If the row to be moved is located below the future location then it will be inserted above location. Reset system: 1) Press key "Esc" 2) Double-click 2nd time on row that has been activated.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
3. move your body
|
This script demonstrates how to make any HTML object to move left and right, up and down, with a real tiny code.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
4. Window Move-To
|
Code snippet to automatically move a window to a specified X,Y coordinate. For example, you can automatically move a window to X0,Y0 (upper left). Great to use this in pages in your site you link to using target="_blank" (new window) or popup windows. You want them to open up to show more information but you want it placed out of the way.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
5. Create and Move PopUp
|
This JavaScript demonstrates how to create a popup window that moves around the screen. It gets (de)activated upon moving cursor over a given link.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
|