0$房天下问答|以下几组代码是什么意思 flash中用的$https://m.fang.com/ask/ask_785529.html$https://static.soufunimg.com/common_m/m_public/201511/images/asksharedefault.png
packc/pages/ask/detail/detail?askid=785529
-
以下几组代码是什么意思 flash中用的
代码1stop();fr.onEnterFrame = function() { if (_xmouse<100) { this._x = this._x-(this._x-100)*0.2; } else if (_xmouse>500) { this._x = this._x-(this._x-500)*0.2; } else { this._x = this._x-(this._x-_xmouse)*0.2; }};代码2on (release) { _parent.screen.gotoAndPlay(2); _parent.screen.auto.gotoAndStop(1);}代码3startDrag(_root.xin, true);x = getProperty(_root.xin, _x);y = getProperty(_root.xin, _y);代码4on (release) { stopDrag();}on (press) { startDrag("xin");}另外如果有知道的人麻烦告诉我一下如何学习flash的代码并灵活掌握
更多
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。

关注成功