How does the Flash pause button control the movie clip symbol?

Updated on amusement 2024-02-09
2 answers
  1. Anonymous users2024-02-05

    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

    on (release) {

    Movie clips can be named whatever you like, but note that yes, you can't name them with the reserved word in as, if you control all movie clips, you can add an action on a button in the main scene, note that it's on a button, not a movie clip or a clip.

  2. Anonymous users2024-02-04

    Please note that the following content belongs to the knowledge points of the point, which is quite important, and it is necessary to understand it carefully, and the system will explain it:

    1. In flash, a function is an object, a button or a movie clip is an object, and the object has an object name, which is equivalent to the windows file name, and the object must be named first.

    The name of the movie clip: "MC" can be modified in the properties panel, I believe you have understood this; The button is named: "btn", add the button to the movie clip, then it is equivalent to windows putting a file into a folder, there is a path, then "btn" is placed in "mc", and the script path is written as:

    That is, the properties of the object are directly set.

    2. The function object is more complicated, so let's explain it in detail.

    The function is named "f", and the name of the function is entered in the script. Functions can be added to a movie clip as long as the language is below, and functions in a movie clip can also be entered in the timeline of the main scene.

    Above the language, it can only be entered in the timeline of the main scene. For the sake of explanation, the function must be defined first, and the format of the definition function is as follows:

    function

    f(){ Function contents.}

    Then call the function in the following format:

    f();It's as simple as that.

    If the script for this function is written on the timeline in the movie clip, then the path will be used when calling the function in the main scene

    It's as simple as that.,If you don't know about it.,Hi me.,That's it.,Thank you for watching.。 88

    Usually the function is placed on the first frame of the main scene, and then called, you can do that, here I add that "full path" is the "absolute path" is from "root."."Started," root

    It's the main scene, that is, the root directory, and the relative path, use"this."

    This is the function of the current movie clip, and this should be added

    So, when calling a function, it's okay to use the absolute path or the relative path correctly.

Related questions
14 answers2024-02-09

It's a variable, which can be simply understood as a global variable that can be called anywhere in flash (mc, timeline, or button). >>>More

9 answers2024-02-09

That 1 represents the level, and you load it first and then load it, so the former is covered by the latter. >>>More

11 answers2024-02-09

You add ** to the movie clip, but not to the timeline, click the keyframe after f9, don't click the movie clip after f9 >>>More

11 answers2024-02-09

Because the module is only for flash under the domain name, it is impossible to add external links if you want to. Whether it's selfish or security reasons, as long as it's not a domain name, the link can't be added. >>>More

14 answers2024-02-09

You pay attention to see if the line above the frame when you generate the tween animation becomes a dashed line, if so, the head and tail keyframes are inconsistent, see if the elements are consistent, the tween first make sure that the head and tail keyframes are the same element, and then change your tail frame to the position and shape you want, and then create a tween, according to this order should not go wrong.