- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 动态创建布局LinearLayout和ImageView
LinearLayout linearLayout = null; LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 150); layoutParams.setMargins(0,15,0,0); LinearLayout.L
2017-11-28 18:00:07
1030
360度全景展示flash.
360度全景展示flash,下载即用
Stage.scaleMode = "noScale";
var obj = new Object();
obj.onResize = function() {
Stage.scaleMode = "noScale";
i = 0;
var _loc3 = Math.sqrt(Stage.width*Stage.width+Stage.height*Stage.height);
var _loc1 = Math.sqrt(width*width+height*height);
var _loc2 = _loc3/_loc1;
width = Stage.width;
height = Stage.height;
mc._x = ox=width >> 1;
mc._y = oy=height >> 1;
f = f*_loc2;
fun1();
Stage.align = "TL";
};
Stage.addListener(obj);
var obj1 = new Object();
var obj2 = new Object();
obj1.onMouseDown = function() {
bln = true;
dx = _xmouse;
dy = _ymouse;
};
2013-08-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人