欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

做了個(gè)flash對(duì)mc移動(dòng)的控制,代碼很簡(jiǎn)單:)

 更新時(shí)間:2007年01月23日 00:00:00   作者:  
復(fù)制代碼 代碼如下:

里面創(chuàng)建了4個(gè)MC,分別是zzcn_top_mc zzcn_end_mc zzcn_left_mc zzcn_right_mc .

很簡(jiǎn)單的。。大家可以參考下哦。。呵呵。。

var place_x:Number = _xmouse;
var place_y:Number = _ymouse;
var sulv:Number = 6;
zzcn_top_mc.onEnterFrame = function(){
    this._x += (place_x - this._x)/sulv;
    place_x = _xmouse;
    };
zzcn_end_mc.onEnterFrame = function(){
    this._x += (place_x - this._x)/sulv;
    place_x = _xmouse;
    };
zzcn_left_mc.onEnterFrame = function(){
    this._y += (place_y - this._y)/sulv;
    place_y = _ymouse;
    };
zzcn_right_mc.onEnterFrame = function(){
    this._y += (place_y - this._y)/sulv;
    place_y = _ymouse;
    };


http://www.zzcn.net/blog/attachments/month_0612/l2006121018639.swf

相關(guān)文章

最新評(píng)論