home *** CD-ROM | disk | FTP | other *** search
- i = 0;
- while(i < 15)
- {
- _root.credits.attachMovie("spark1","spark" + _root.depth,_root.depth);
- _root.credits["spark" + _root.depth]._x = 0;
- _root.credits["spark" + _root.depth]._y = 0;
- _root.credits["spark" + _root.depth]._rotation = random(360);
- _root.credits["spark" + _root.depth]._xscale = _root.credits["spark" + _root.depth]._yscale = random(50) + 50;
- if(_root.depth < 100000)
- {
- _root.depth = _root.depth + 1;
- }
- else
- {
- _root.depth = 100;
- }
- i++;
- }
- i = 0;
- while(i < 15)
- {
- _root.credits.attachMovie("spark2","spark" + _root.depth,_root.depth);
- _root.credits["spark" + _root.depth]._x = 0;
- _root.credits["spark" + _root.depth]._y = 0;
- _root.credits["spark" + _root.depth]._rotation = random(360);
- _root.credits["spark" + _root.depth]._xscale = _root.credits["spark" + _root.depth]._yscale = random(50) + 50;
- if(_root.depth < 100000)
- {
- _root.depth = _root.depth + 1;
- }
- else
- {
- _root.depth = 100;
- }
- i++;
- }
-