Don't be too "anxious"

xiaoxiao2021-03-06  100

Yesterday I had a friend asked me when using loadingmovie () and unloadMovie () reprinted and uninstalling pictures. I also tried it, there is such a problem. As follows:

Suppose the width of the picture is 100,

On (Press)

{

THISLOADMOVIE ("c: //tomato.jpg");

TRACE (this._width);

}

// When you first click, Output is 0, and then click again. Output is 100

On (Press)

{

THIS.UnLoadMovie ();

TRACE (this._width);

}

// When you first click, Output is 100, then click again, Output is 0

When the TRACE (Mc._Width) statement is outside the Press event, even if it is immediately jumped to the specified frame by the gotoiststop () statement, it is also possible to return the value normally, that is, when the reprint is reproduced, when the transfer is Returns 0.

These reprints and unloading (not in the local machine) can be made (not in the local machine). So, it should be that loadmovie () or unloadMovie () can be changed immediately to the _width property. However, now, if you have a change in the event, you will return the property value that has not changed.

Then I did some other experiments, and the same results were also obtained in pressing in Tonet, and I could not return the value of the changed attribute after the same event class.

Please give LoadMovie () and unloadmovie () a little time, huh, even, even if you are not in the same event.

转载请注明原文地址:https://www.9cbs.com/read-96403.html

New Post(0)