How to Control Volume Using the Arrow Keys |
| Fig. 09: Example of using arrow keys to control volume |
If you wanted to control the volume with the right and left arrow keys, the following modifications to the above code could be made.
this.onEnterFrame = function () { |
The Flash example in Fig. 09 also allows for the use of the Up and Down keys to control volume.
| » Level Intermediate |
|
Added: 2004-10-12 Rating: 8 Votes: 31 |
| » Author |
| Kenny Bellew is a technical writer and freelance flash programmer who specializes in Flash audio. He lives in Minneapolis, MN. |
| » Download |
| Download the files used in this tutorial. |
| Download (12927 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!