14.03.2016, 00:22
|
Новичок на форуме
|
|
Регистрация: 14.03.2016
Сообщений: 6
|
|
ПРОШУ ВСЕХ ВНИМАНИЕ ! Заранее спасибо всем !!!
Это Игра в типе рулетка , помогите прочти очередь выпадание цифр . Заранее всем спасибо ! Весь код не поместится остальное напишу в коммент !
//\actions\scripts\DefineButton2_198\on(release).as
//----------------------------------------
on(release){
if(!(step == 0) && !(step == 4))
{
return undefined;
}
if(process)
{
reconnect();
}
else
{
if(game)
{
newreq("id=" + game + "&tmp=" + Math.round());
}
else
{
newgame();
}
}
}
//----------------------------------------
//\actions\scripts\DefineButton2_198\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint5._visible = false;
}
//----------------------------------------
//\actions\scripts\DefineButton2_198\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint5._visible = true;
}
//----------------------------------------
//\actions\scripts\DefineButton2_200\on(release).as
//----------------------------------------
on(release){
if(sndoff._visible)
{
sound.setVolume(100);
sndoff._visible = false;
}
else
{
sound.setVolume(0);
sndoff._visible = true;
}
}
//----------------------------------------
//\actions\scripts\DefineButton2_200\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint4._visible = false;
}
//----------------------------------------
//\actions\scripts\DefineButton2_200\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint4._visible = true;
}
//----------------------------------------
//\actions\scripts\DefineSprite_188\frame 1\DoAction.as
//----------------------------------------
if(_root.step < 2)
{
stop();
}
//----------------------------------------
//\actions\scripts\DefineSprite_188\frame 160\DoAction.as
//----------------------------------------
stop();
_root.step = 3;
//----------------------------------------
//\actions\scripts\DefineSprite_188\frame 65\DoAction.as
//----------------------------------------
sound.stop("loop");
sound.attachSound("result");
sound.start();
//----------------------------------------
//\actions\scripts\frame 1\DoAction.as
//----------------------------------------
function newgame()
{
_root.lastreq = "";
newreq("");
removeMovieClip(mcoin);
betar = bets.split(",",50);
mybet = mybets.split(",",50);
colors[win].setTransform(form(0));
i = 0;
while(i < ncoins)
{
removeMovieClip("ccoin" + i);
i++;
}
i = 0;
while(i < _root.wb.length)
{
colors[_root.wb[i]].setTransform(form(0));
i++;
}
game = 0;
betsum = 0;
ncoins = 0;
step = 0;
wbets = "";
popup._visible = false;
}
function reconnect()
{
if(!(_root.onEnterFrame == ut))
{
newreq(_root.lastreq);
}
}
function myData()
{
if(!_root.process)
{
return undefined;
}
_root.onEnterFrame = ut;
toggle(true);
utime = getTimer();
time = utime + time * 1000;
if(status == 1)
{
stop();
status = "Делайте ваши ставки!";
}
if(status == 2)
{
status = "Ставки сделаны!";
toggle(false);
if(win && step < 2 && process)
{
play();
game = 0;
rotat.inner._rotation = rotat.inner._rotation - (angles[win] - lasta);
lasta = angles[win];
rotat.play();
step = 2;
hilight(true);
}
}
if(status == 3)
{
status = "Игра окончена";
toggle(false);
game = 0;
}
removeMovieClip(mcoin);
i = 0;
while(i < _root.ncoins)
{
removeMovieClip("ccoin" + i);
i++;
}
_root.ncoins = 0;
var t = players.split(";;",10);
i = 0;
while(i < t.length)
{
set("popup.name" + (i + 1),t[i]);
i++;
}
i = i + 1;
while(i < 10)
{
set("popup.name" + i,"");
i++;
}
i = 1;
while(i < 5)
{
set("popup.bet" + i,"");
i++;
}
t = bets.split(",");
i = 0;
while(i < t.length)
{
tt = t[i].split("|",2);
tb = tt[1].split("-",6);
_root.attachMovie("coin" + nom[parseInt(tb[0])],"ccoin" + _root.ncoins,_root.ncoins);
var ob = eval("ccoin" + ncoins);
if(!parseInt(tb[1]))
{
newform(ob,4);
}
ob.pos = numpos(tt[0]);
var bound = eval(ob.pos);
ob._xscale = 75;
ob._yscale = 75;
ob._x = bound._x;
ob._y = bound._y;
ob.onRollOver = myRoll;
ob.onRollOut = myRollO;
ob.mybet = parseInt(tb[1]);
ob.bet1 = parseInt(tb[2]);
ob.bet2 = parseInt(tb[3]);
ob.bet3 = parseInt(tb[4]);
ob.bet4 = parseInt(tb[5]);
ncoins++;
i++;
}
process = false;
_root.onEnterFrame = ef;
swrecon.enabled = true;
swrecon._alpha = 100;
}
function ut()
{
if(time)
{
if(time > ctime)
{
timer = Math.floor((time - ctime) / 1000);
}
else
{
timer = "?";
}
}
}
function ef()
{
hilight(false);
ctime = getTimer();
if(process)
{
if(ctime - utime > 10000)
{
swrecon.enabled = true;
swrecon._alpha = 100;
}
return undefined;
}
if(time)
{
if(time > ctime)
{
timer = Math.floor((time - ctime) / 1000);
}
else
{
timer = "?";
if(!(game == 0))
{
newreq("id=" + game + "&");
play();
sound.attachSound("loop");
sound.start(0,20);
step = 1;
}
if(!process && game == 0 && step == 4)
{
newgame();
}
}
}
if(!(ctime - utime < 15000) && !process && !(game == 0))
{
newreq("id=" + game + "&");
utime = ctime;
}
}
function newreq(str)
{
loadVariables(script + "?" + str + "tmp=" + Math.random(),_root);
toggle(false);
process = true;
status = "Соединение...";
_root.lastreq = str;
swrecon.enabled = false;
swrecon._alpha = 75;
hint5._visible = false;
}
function myRoll()
{
popup._visible = true;
popup._x = _xmouse;
popup._y = _ymouse;
popup.betmy = this.mybet;
if(!(popup.name1 == ""))
{
popup.bet1 = this.bet1 || 0;
}
if(!(popup.name2 == ""))
{
popup.bet2 = this.bet2 || 0;
}
if(!(popup.name3 == ""))
{
popup.bet3 = this.bet3 || 0;
}
if(!(popup.name4 == ""))
{
popup.bet4 = this.bet4 || 0;
}
}
function myRollO()
{
popup._visible = false;
}
function endBet()
{
process = false;
moveBet();
toggle(false);
this.stopDrag();
sel._visible = false;
this.onMouseUp = nil;
this.onMouseMove = nil;
if(!this.denysign._visible)
{
ob = eval(dt(this));
this._x = ob._x + ob._parent._x;
this._y = ob._y + ob._parent._y;
_root.bet = _root.bet + this.price;
o = dt(this);
if(o.fields == undefined)
{
this.bet = o.substr(2,10);
}
else
{
this.bet = o.fields.join("-");
}
removeMovieClip(this.denysign);
newreq("id=" + game + "&bet=" + this.bet + "&coin=" + this.price + "&betid=" + betid + "&");
betid++;
}
else
{
ncount--;
cash = cash + this.price;
toggle(true);
removeMovieClip(this);
}
}
function moveBet()
{
var o = dt(this);
this.denysign._visible = o == false;
if(!(_root.last == o))
{
if(!(eval(_root.last).fields == undefined))
{
trmulti(eval(_root.last).fields,0);
}
if(gm(_root.last) == "n")
{
colors[gn(_root.last)].setTransform(form(0));
}
if(!(o == false))
{
if(!(o.fields == undefined))
{
trmulti(o.fields,1);
}
if(gm(o) == "n")
{
colors[gn(o)].setTransform(form(1));
}
}
_root.last = o;
}
}
function hilight(flag)
{
if(flag)
{
_root.wb = wbets.split(",",50);
i = 0;
while(i < _root.wb.length)
{
_root.wb[i] = gn(numpos(_root.wb[i]));
i++;
}
|
|
14.03.2016, 00:24
|
Новичок на форуме
|
|
Регистрация: 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);
}
//----------------------------------------
|
|
14.03.2016, 00:24
|
Новичок на форуме
|
|
Регистрация: 14.03.2016
Сообщений: 6
|
|
//\actions\scripts\frame 1\PlaceObject2_131\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,3 4,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_133\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,3,4,5,6,7,8,9,10,11,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_135\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 );
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_137\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32, 34,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(34,35);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_10\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(7,8);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_11\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(4,5);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_12\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_13\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(34,35,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_14\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(31,32,33);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_15\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(28,29,30);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_16\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,26,27);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_17\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(22,23,24);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_18\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,20,21);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_19\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(16,17,18);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(31,32);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_20\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,14,15);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_21\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(10,11,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_22\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(7,8,9);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_23\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(6,5,4);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_24\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,3);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_25\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(35,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_26\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(32,33);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_27\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(29,30);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_28\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(26,27);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_29\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(23,24);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(28,29);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_30\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(20,21);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_31\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(17,18);
}
//----------------------------------------//\actions\scripts\frame 1\PlaceObject2_139_32\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(14,15);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_33\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(11,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_34\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(8,9);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_35\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(5,6);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_36\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,3);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_4\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,26);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_5\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(22,23);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_6\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,20);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_7\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(16,17);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_8\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,14);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_139_9\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(10,11);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,3,37,38);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_10\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,4,5);
}
//----------------------------------------
|
|
14.03.2016, 00:25
|
Новичок на форуме
|
|
Регистрация: 14.03.2016
Сообщений: 6
|
|
//\actions\scripts\frame 1\PlaceObject2_140_11\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,38);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_12\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(31,32,33,34,35,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_13\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(28,29,30,31,32,33);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_14\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,26,27,28,29,30);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_15\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,20,21,22,23,24);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_16\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(16,17,18,19,20,21);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_17\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,14,15,16,17,18);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_18\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(7,8,9,10,11,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_19\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(4,5,6,7,8,9);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(31,32,34,35);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_20\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,2,3,4,5,6);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_21\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(32,33,35,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_22\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(29,30,32,33);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_23\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(26,27,29,30);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_24\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(20,21,23,24);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_25\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(17,18,20,21);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_26\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(14,15,17,18);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_27\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(8,9,11,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_28\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(5,6,8,9);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_29\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,3,5,6);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(28,29,31,32);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_30\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,3,37);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_4\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,26,28,29);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_5\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,20,22,23);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_6\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(16,17,19,20);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_7\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,14,16,17);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_8\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(7,8,10,11);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_140_9\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(4,5,7,8);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(22,23,25,26);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(10,11,13,14);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(22,23,24,25,26,27);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141_4\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(10,11,12,13,14,15);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141_5\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(23,24,26,27);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_141_6\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(11,12,14,15);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(31,34);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_10\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(38,1);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_11\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(32,35);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_12\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(29,32);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_13\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(26,29);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_14\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(20,23);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_15\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(17,20);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_16\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(14,17);
}
|
|
14.03.2016, 00:25
|
Новичок на форуме
|
|
Регистрация: 14.03.2016
Сообщений: 6
|
|
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_17\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(8,11);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_18\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(5,8);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_19\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,5);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(28,31);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_20\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(33,36);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_21\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(30,33);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_22\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(27,30);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_23\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(21,24);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_24\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(18,21);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_25\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(15,18);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_26\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(9,12);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_27\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(6,9);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_28\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(3,6);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_29\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(2,3);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(25,28);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_4\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(19,22);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_5\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(16,19);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_6\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(13,16);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_7\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(7,10);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_8\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(4,7);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_142_9\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(1,4);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(22,25);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(10,13);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(23,26);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143_4\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(11,14);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143_5\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(24,27);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_143_6\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.fields = array(12,15);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_205\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint4._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_205\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint4._visible = true;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_205\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_208\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_210\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint1._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint1._visible = true;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.useHandCursor = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_2\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint3._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_2\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint3._visible = true;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_2\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.useHandCursor = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_3\on(rollOut).as
//----------------------------------------
on(rollOut){
_root.hint2._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_3\on(rollOver).as
//----------------------------------------
on(rollOver){
_root.hint2._visible = true;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_215_3\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this.useHandCursor = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_218\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_221\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_224\onClipEvent(load).as
//----------------------------------------
onClipEvent(load){
this._visible = false;
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_29_coin5\on(press).as
//----------------------------------------
on(press){
makebet(5,8);
}
//----------------------------------------
|
|
14.03.2016, 00:25
|
Новичок на форуме
|
|
Регистрация: 14.03.2016
Сообщений: 6
|
|
//\actions\scripts\frame 1\PlaceObject2_31_coin4\on(press).as
//----------------------------------------
on(press){
makebet(4,6);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_33_coin3\on(press).as
//----------------------------------------
on(press){
makebet(3,4);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_35_coin2\on(press).as
//----------------------------------------
on(press){
makebet(2,2);
}
//----------------------------------------
//\actions\scripts\frame 1\PlaceObject2_37_coin1\on(press).as
//----------------------------------------
on(press){
makebet(1,1);
}
//----------------------------------------
//\actions\scripts\frame 30\DoAction.as
//----------------------------------------
if(step < 3)
{
_root.gotoAndPlay(1);
}
//----------------------------------------
//\actions\scripts\frame 80\DoAction.as
//----------------------------------------
stop();
step = 4;
cash = parseInt(cash) + parseInt(wmoney);
colors[win].setTransform(form(2));
if(wmoney)
{
status = "Еще разок?";
}
else
{
status = "Еще разок?";
}
time = getTimer() + 15000;
t = nums.split("\n");
nums = (parseInt(win) != 37?parseInt(win) != 38?win:"0":"00") + "\n" + nums;
lbets = betsum + "\n" + lbets;
wins = wmoney - betsum + "\n" + wins;
//----------------------------------------
?
|
|
|
|