How to control sound with Flash buttons 10

Updated on technology 2024-04-19
8 answers
  1. Anonymous users2024-02-08

    Teach you a simple,The button is placed in the previous frame,The action is written as press to jump to the next frame and**,Press the button and there is**,Mask the lyrics,First do a layer that is not yet displayed before **Put it at the bottom,Use the same layer of lyrics to cover the gradient effect you want,Note that the gradient is masked,And then the way you cut into the masked lyrics is your own,Three layers。

  2. Anonymous users2024-02-07

    Step 1: Create four new buttons, named them btn1, btn2, btn3, btn4, note that it is the variable name, and the box below the word "button" in the property bar;

    Step 2: Create four new movie clips, named them mc1, mc2, mc3, mc4, note that it is the variable name, in the box under the words "movie clip" in the property bar;

    Step 3: Enter each movie clip separately, the first frame is an empty frame, then select the second frame, and put ** in the second frame;

    Step 4: All four movie clips go through the third step, but put different ** in the second frame;

    Step 5: Return to the main scene, select the first frame, press F9 to pop up the script panel, and write:

    for (i=1; i<=4; i++)

    root["mc"+i].stop();

    function()

    stopallsounds();

    for (i=1; i<=4; i++)

    root["mc"+i].gotoandstop(1);

    function()

    stopallsounds();

    for (i=1; i<=4; i++)

    root["mc"+i].gotoandstop(1);

    function()

    stopallsounds();

    for (i=1; i<=4; i++)

    root["mc"+i].gotoandstop(1);

    function()

    stopallsounds();

    for (i=1; i<=4; i++)

    root["mc"+i].gotoandstop(1);

  3. Anonymous users2024-02-06

    flash is a powerful vector graphics software, we use this software not only to make animations, but also to make vector graphics, let's take a look at how to make ** buttons in flash.

  4. Anonymous users2024-02-05

    You have prepared the sound file to import into the library, add layers to the timeframe, and drag the sound files in the library to the new layer. As for how it is set up, it depends on what you mean. I can't say it in a few words. Friend.

  5. Anonymous users2024-02-04

    Hold the sound to the library, then create a keyframe to drag the sound to the stage, you have to add an extended frame to it, and the sound properties can be modified.

  6. Anonymous users2024-02-03

    There are several ways to add sounds,1Put the scene timeline directly, this practice greatly reduces the flash loading time, that is, import to the library, and select the imported ** in the property sound. Data stream. The frame is then extended until the end of the night.

    2.Sound movie, new movie clip, first frame plus imported sound, extended frame until the end. Data stream. Then drag into the scene. This one is suitable for single-frame animations.

    3.Internal linking, right-click on the library file --- link --- dialog box to check Actionscript export. This sound quality is better, but the file size is large.

    4.External link**, that is, using AS script to load network sound, sound quality depends on the source**, the file is almost not increased, and the disadvantage is that the address is invalid and out of sync. (Script omitted here).

    You see which one you fit into.

  7. Anonymous users2024-02-02

    Here's how:

    1.Import the sound into the stage or the frame you want.

    2.Select the sound file in the library, right-click, and select "Link" from the pop-up menu. A linked dialog will pop up, please check the "Export for Action Script" and "Export on First Frame" options, and enter an identifier (i.e. the name of the sound file).

    mysound (name can be arbitrarily written) and click OK.

    3. Return to the main stage, select the first frame of the timeline, and press F9 to open the action panel. Now we're going to create a new sound object and connect it to the sound in the library. Used to control sound. Enter the following script:

    music = new sound();Create a sound object called music.

    mysound");Connect this sound object with a sound with the curry's identifier "mysound".

    4. Now you need to place two buttons on the stage to control the ** and stop of the sound respectively. Select "Window" - "Public Library Button", open the common button library set up for us by Flash, and then drag and drop the Play button and Stop button from Circle Buttons onto the stage. Or you can make your own buttons.

    on (release) {

    Select the STOP button and put the following script into the input:

    on (release) {

    6. OK, press Ctrl Enter to test.

  8. Anonymous users2024-02-01

    There are three types of elements that can be added to a Flash creation: movie clips, buttons, and graphics. There are a few steps to create a button:

    1. Create a new layer at the location where you want to add the button, and add a blank key at the location where you want to add the button to the layer, select this key, select the function key "Insert" key, and choose "Button" in the open menu. This means that the component you want to add is a button.

    Second, then according to the expression form of the key you want (some are the button graphics in the library, you can also make a ** or text button according to your needs, depending on your needs) There are two ways to establish buttons: one is to directly select the "button" and then click OK to enter the button area, and then return directly to the work area, directly select the public library in the "window", there is a ready-made button style in the public library, and select the button you need. Second, after the point is determined, enter the button area, and use the graphic tool or the text tool to draw or write the required graphics or text, you can create a custom button.

    3. After the button is established by the above method, there are four pillars above the button area, which bounce up, pointer passes, press and click, of which the first ridge (pop up) is the key pack, that is, the key shake (default) of the button you have established, from the second to the fourth pass are blank, you can copy the first key mark (the small black dot of the first key mark on the layer), and paste it on the second to the fourth blank mark respectively, so that the four key marks are formed by the animation of each piece.

    Fourth, set the color of the buttons corresponding to the four keys (the same method as setting the color when creating graphic elements in the workspace), and then click the four keys with the mouse to set the colors, and you will see that when the mouse slides over and clicks, there will be alternate changes of different colors.

    5. After the button is ready, the button component will be generated in the library, and then go directly back to the flash workspace, add a blank key in the place where you want to add the button layer to the button you want to use, and drag the button in the library to the appropriate position on the stage to complete the button addition.

Related questions
2 answers2024-04-19

If you want to control a movie clip, you have to give the movie clip an instance name, for example, if you give the movie clip an instance name mc, then you can write something like this: After a specific mouse event, add the instance name of the movie clip before stop, and you can do it. Note that you have to make sure that you added the ** on the button >>>More

9 answers2024-04-19

Do sound insulation, cabin firewall, front canopy insulation cotton, front wheel fender sound insulation.

13 answers2024-04-19

The steps of the flip animation production tutorial are as follows: >>>More

9 answers2024-04-19

I'll give you a** You see if this can work.

7 answers2024-04-19

Use the File menu to open the flash game file or drag the flash game file directly into the program. >>>More