The flexibility of the film!

xiaoxiao2021-03-06  40

This is a very topic, but it is not very understanding, I got it today ... Compare Easy

The core code is this._x = (destination ._x-this._x) / A is OK,

http://www.gotoandplay.it/articles/

There is another original program!

Put the time axis: Two movieclip, a call called Ball, a button is OK, the code is as follows:

Ball is above

OnClipEvent (Enterframe)

{

IF (_root.ballplay == true)

THIS._X = (_ root.ballarrival._x-this._x) / 9;

}

Add:

OnRelease ()

{

_Root.ballplay = true;

}

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

New Post(0)