Показать сообщение отдельно
  #2 (permalink)  
Старый 14.03.2016, 00:24
Новичок на форуме
Отправить личное сообщение для Rashid Посмотреть профиль Найти все сообщения от Rashid
 
Регистрация: 14.03.2016
Сообщений: 6

}
if(!(_root.wbets.length > 0) || !(step == 4))
{
return undefined;
}
var f = !(Math.round(getTimer() / 500) % 2)?0:3;
i = 0;
while(i < _root.wb.length)
{
colors[_root.wb[i]].setTransform(form(f));
i++;
}
}
function dt(ob)
{
td = ob._droptarget;
if(!(gm(td) == "n") && td.fields == undefined)
{
if(td.substr(1,5) == "ccoin" || td.substr(1,5) == "cmark")
{
td = td.pos;
}
else
{
return false;
}
}
return td;
}
function newform(ob, f)
{
c = new Color(ob);
c.setTransform(form(f));
return c;
}
function form(form)
{
switch(null)
{
case 0:
return tform(100,0,100,0,100,0,100,0);
case 1:
return tform(0,255,100,125,100,0,100,0);
case 2:
return tform(100,255,0 - 100,255,0 - 100,0,100,0);
case 3:
return tform(100,255,0 - 100,175,0 - 100,0,100,0);
case 4:
return tform(50,75,50,75,50,75,100,0);
default:
}
}
function tform(ra, rb, ga, gb, ba, bb, aa, ab)
{
myColorTransform = new Object();
myColorTransform.ra = ra;
myColorTransform.rb = rb;
myColorTransform.ga = ga;
myColorTransform.gb = gb;
myColorTransform.ba = ba;
myColorTransform.bb = bb;
myColorTransform.aa = aa;
myColorTransform.ab = ab;
return myColorTransform;
}
function gn(s)
{
return parseInt(s.substr(2,5));
}
function gm(s)
{
return s.substr(1,1);
}
function trmulti(ar, f)
{
i = 0;
while(i < ar.length)
{
colors[ar[i]].setTransform(form(f));
i++;
}
}
function numpos(s)
{
if(!(s.indexOf("-") > 0))
{
return "/n" + s;
}
var i = 0;
while(i < 110)
{
var o = eval("/f" + i);
if(o && o.fields && o.fields.join("-") == s)
{
return "/f" + i;
}
i++;
}
var i = 39;
while(i < 51)
{
var o = eval("/n" + i);
if(o && o.fields && o.fields.join("-") == s)
{
return "/n" + i;
}
i++;
}
return undefined;
}
_root.onLoad = function()
{
_global.script = "ruletka.pl";
_global.sound = new Sound();
_global.step = 0;
_global.ncoins = 0;
_global.ot = 0;
_global.col = 0;
_global.nom = Array(0,1,2,0,3,0,4,0,5);
_global.utime = 0;
_global.process = false;
0.526[28.421] =Array(0,170.526,0.473,-9,132.631,0.368,-47,94.736,0.263,-85,56.842,0.157,-123,18.947,0.052,-161,47.368,0.631,-132,161.052,0.947,-18,123.157,0.842,-56,85.263,0.736,-94,0.684,-113,66.315,0.789,-75,104.21,0.894,-37,142.105,0.578,-151);
_global.game = 0;
_global.time = 0;
_global.win = 0;
_global.betid = 0;
_global.lasta = 0;
_global.maxbet = 100;
_root.last = false;
rotat.enabled = false;
newreq("");
_root.selmask._visible = false;
colors = array();
i = 1;
while(i < 51)
{
colors[i] = newform(eval("n" + i),0);
i++;
}
_root.attachMovie("popup","popup",1000);
popup._visible = false;
stop();
onData = myData;
};
_root.onEnterFrame = ef;
_global.makeBet = function(n, price)
{
if(process)
{
exit;
}
process = true;
attachMovie("coin" + n,"mcoin",100);
ob = mcoin;
ob._x = _root._xmouse;
ob._y = _root._ymouse;
ob.startDrag(false);
ob._xscale = 75;
ob._yscale = 75;
ob.price = price;
ob.onMouseUp = endBet;
ob.onMouseMove = moveBet;
ob.attachMovie("deny","denysign",1);
ob.denysign._xscale = 200;
ob.denysign._yscale = 200;
cash = cash - price;
};
_root.toggle = function(param)
{
acoin1.enabled = param && !(cash < 1) && parseInt(betsum) < maxbet;
acoin2.enabled = param && !(cash < 2) && parseInt(betsum) + 1 < maxbet;
acoin3.enabled = param && !(cash < 4) && parseInt(betsum) + 3 < maxbet;
acoin4.enabled = param && !(cash < 6) && parseInt(betsum) + 5 < maxbet;
acoin5.enabled = param && !(cash < 8) && parseInt(betsum) + 7 < maxbet;
acoin1._alpha = !(param && !(cash < 1) && parseInt(betsum) < maxbet)?70:100;
acoin2._alpha = !(param && !(cash < 2) && parseInt(betsum) + 1 < maxbet)?70:100;
acoin3._alpha = !(param && !(cash < 4) && parseInt(betsum) + 3 < maxbet)?70:100;
acoin4._alpha = !(param && !(cash < 6) && parseInt(betsum) + 5 < maxbet)?70:100;
acoin5._alpha = !(param && !(cash < 8) && parseInt(betsum) + 7 < maxbet)?70:100;
};
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_117\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(3,6,9,12,15,18,21,24,27,30,33,36);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_118\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,5,8,11,14,17,20,23,26,29,32,35);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_119\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,4,7,10,13,16,19,22,25,28,31,34);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_121\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,26,27,28,29,30,31,32,33,34,35,36);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_123\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,3 3,35);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_125\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,20,21,22,23,24,25,26,27,28,29,30,31,32,33 ,34,35,36);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_127\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,14,15,16,17,18,19,20,21,22,23,24);
}
//----------------------------------------

//\actions\scripts\frame 1\PlaceObject2_129\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31, 33,35);
}
//----------------------------------------
Ответить с цитированием