Tuesday, September 21, 2010

Winamp spectrum produced using Flash 5 the effect of column


Winamp spectrum produced using Flash 5 the effect of column

Winamp many of my friends are using this software, I believe we all like that "spectrum analyzer" effect it. Now, I teach you how to achieve this effect in Flash 5. So we learned, put it in your Flash movie is it not a good thing.

1. Start Flash 5, press "Ctrl + M" key to open the "Movie Properties" panel to the size of the scene is set 100 px * 50px, black.

2. Press "Ctrl + F8" key to open the "Symbol Properties" panel to create a new named "mc" The Movie Clip Videos.

3. Select the rectangle tool and in the film "mc" in the scene pulled out a rectangle, delete the sideline. Open the Info panel and set the rectangle in Figure 1 (color wait setting).



4. Copy this rectangle, then the right side of this rectangle and then copy the four. Respectively in the Info Panel, these four new Y-coordinate of the rectangle into -8, -13, -18, -23, and other parameters unchanged.

5. These five top-down set of rectangular color: # F06000; # E8C800; # C0F800; # 50E000; # 48D600. Final set as picture 2.



6. Press "Ctrl + E" key to return to the main scene. Press "Ctrl + L" key to open the library. The film element "mc" drag and drop to the scene, dragging a total of 8 times, then put them in order. You can press "Ctrl + L" key to open the Align panel set. Press shortcut keys "Ctrl + I" open the Instance panel, these eight components of the "Name" were set: 1,2,3,4,5,6,7,8.

7. Select the main scene in the first two, press the F6 key to create a new key frame. Then double-click the first one to write the following code:
setProperty ("/ 1", _yscale, Number (random (55)) +3);
setProperty ("/ 2", _yscale, Number (random (55)) +4);
setProperty ("/ 3", _yscale, Number (random (65)) +6);
setProperty ("/ 4", _yscale, Number (random (70)) +8);
setProperty ("/ 5", _yscale, Number (random (70)) +8);
setProperty ("/ 6", _yscale, Number (random (65)) +6);
setProperty ("/ 7", _yscale, Number (random (55)) +4);
setProperty ("/ 8", _yscale, Number (random (55)) +3);

Double-click the first two, write the code: gotoAndPlay (1);

Well, finish, and quickly press "" Ctrl + E "key'll see how that ultimately results in Figure 3. How, the results were pretty good bar.








Recommended links:



SAP sales drop turmoil spread to China, CEO to resign



Input text input is also on the all-powerful plug



xvid to divx converter



brief Audio Presentation Tools



Vob format



Gome Huang Guangyu detained and denied rumors that the suspension



Northern Rock's Instant Messaging



ps3 Avchd



Articles about Games Arcade



How to AVOID the trap of price competition?



Baidu CHEATING, universally condemned?



CEO Online: Yan Huang star CEO Chang on August 15 guest Sina



Archos youtube



Clear links in the production of hidden "oil tiger"



No comments:

Post a Comment