Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Special_Effects

Categories LED spectrum analyzer meter effect using dynamic masking
Author: Raymond K.M. Lee

 
Page 3
«prev 1 2 3 4 5 6 next»

Create the LED bar movieclip

Create a new movieclip symbol (let's call it mv_LEDbar) with 2 layers, name the upper layer LED mask and lower layer LED color. Drag an instance of mv_bar into the upper layer, position it at x=0, y=50.

Add the following movieclip action to the instance of mv_bar.

onClipEvent (enterFrame) {
indicator = Math.round(Math.random() * 100);
if (indicator > 55 && this._y > 5) {
 this._y -= 10;
 } else if (indicator < 45 && this._y < 55) {
 this._y += 10;
 }
 }

«prev 1 2 3 4 5 6 next»

» Level Intermediate

Added: : 2002-09-22
Rating: 7.22 Votes: 76
Hits: 1471
» Author
Raymond is the head of IT Department of CCC Yenching College, a secondary educational institute in Hong Kong. He is a system admin, a web application developer and a multimedia designer. He uses Flash extensively to develop educational software for the students of the institute. His current interests are 3D educational software development using Director Shockwave 3D and web application development using java and ColdFusion.
» Download
Download the files used in this tutorial.
Download (16 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers