How does the flash button be slowly lit and dimmed?

Updated on technology 2024-02-09
10 answers
  1. Anonymous users2024-02-06

    The frame of the movie clip can write mouse events, and this effect is not difficult to do.

    Create a mc first,1-20 (how many frames are OK) frame to draw a slowly lightened image,Darkening doesn't need to draw,Just let him be upside down**,Add the following script in the first frame:

    onrollover = function()= function()

    if (this._currentframe != this._totalframes) {

    else {

    delete ;

    onrollout = function()= function()

    if (this._currentframe != 1) {

    else {

    delete ;

  2. Anonymous users2024-02-05

    The first question: you can add a movie clip to the button, and the effect of the movie clip is slow to light and slow to dark.

    The second question: The second is to use the onmouseover and onmouseout events in the AS language. Frames can also be written for mouse events.

  3. Anonymous users2024-02-04

    Convert ** into a component and put it in the scene, then select **, select brightness in the color selection box of the properties panel, adjust the slider behind, the positive direction is white, the negative direction is black, you can adjust the darkness you need.

  4. Anonymous users2024-02-03

    Start by making a movie clip with a big black rectangle in it, then animate it in a transparent tone from 0% to 100%, and repeat.

  5. Anonymous users2024-02-02

    I don't know how to get it darkened, but it's still easy to change transparency in as3, alphaw);

    alphan);

    Create an event listening function.

    public function alphaw(evt:mouseevent):void

    public function alphan(evt:mouseevent):void

  6. Anonymous users2024-02-01

    Please right-click the button Actions and enter the following **on (release) in the pop-up action panel

    Please right-click on the first keyframe of the main timeline Actions and enter the following **stop() in the pop-up Actions panel

  7. Anonymous users2024-01-31

    This has a "function" to make a button, and the "button" option must be selected in the component.

  8. Anonymous users2024-01-30

    Go to the tutorials, there are a lot of tutorials on them.

  9. Anonymous users2024-01-29

    Add ** to the frame (where mc1 is the name of the movie clip instance and bn1 is the name of the button instance) i=0;

    onenterframe=function(){i++;

    delete onenterframe;

    if(i<60){ Here take the frame rate of 12 as an example, 12*5 seconds is 60; }

    else{;

    i=0;

  10. Anonymous users2024-01-28

    It's in the library, just find one.

Related questions
2 answers2024-02-09

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

1 answers2024-02-09

This major belongs to the engineering category, but the artistic color is also very strong, and those who do not have a painting foundation can also go to learn, although it is an engineering major, but after graduation, according to personal preferences and abilities, it is easy to find a job as a fashion designer after graduation, and it is easier to find a job in all levels of clothing after graduation. >>>More

12 answers2024-02-09

Select Compress Sound in the Publish item.

13 answers2024-02-09

Write to file command depends on how to use the command Space to collect disciples.

11 answers2024-02-09

People have dreams, with dreams to chase, success or not have to try, do a line of love, can not let themselves ruin life, everything is difficult at the beginning, as long as you insist on victory, don't be afraid of losing, to move forward bravely, to have a plan to act, step by step to do a good job, even if you fail do not regret, because you have worked hard, it is rare for people to have a fixed career in their lives, it is rare to have a dream, can not wait only to move forward, do not retreat when encountering difficulties, to calm down and think calmly, In this way, we can solve one difficulty after another, from small to big, from weak to strong, to believe in their own line, once also started a business, failed, this time we have to rely on heaven and earth to rely on the Bodhisattva, I hope this time to let myself run from time to time, so that the good luck can stand on my side, and use what I have learned in practice, say goodbye to pain, usher in happiness, and let myself be able to do my part for this big family. It allows parents to live happily ever after. >>>More