Frame 1
_parent.onClipLoaded();
txt_play_now = txt_play_now.split("\u20AC").join("\u00A4");
textfield.textfield2.text = txt_play_now;
var numStars = 40;
var w = 550;
var h = 50;
var turbulence = 1;
var turbFreq = 0.01;
var j = 0;
while (j < numStars) {
var particle = coinHolder.attachMovie("starParticle", "star_" + j, coinHolder.getNextHighestDepth());
particle._xscale = (particle._yscale = 20 + (Math.random() * 70));
particle._alpha = particle._yscale * 0.7;
particle._rotation = Math.random() * 360;
particle._x = Math.random() * w;
particle._y = (-20 + (Math.random() * h)) + 20;
j++;
}
this.onEnterFrame = function () {
var _local2 = 0;
while (_local2 < numStars) {
var _local1 = coinHolder["star_" + _local2];
var _local3 = turbulence * Math.cos(_local1._rotation * turbFreq);
_local1._x = _local1._x + ((-(turbulence / 2)) + _local3);
_local1._y = _local1._y - (_local1._yscale * 0.005);
_local1._rotation = _local1._rotation + (_local1._yscale * 0.05);
if (_local1._y < -20) {
_local1._y = h + 20;
_local1._x = Math.random() * w;
_local1.life = 0;
}
_local2++;
}
};
clicker.onRelease = function () {
flash.external.ExternalInterface.call("submitDepositForm");
};