Показать сообщение отдельно
Старый 03.08.2008, 15:15
ePifani вне форума Посмотреть профиль Отправить личное сообщение для ePifani Найти все сообщения от ePifani
  № 1  
ePifani

Регистрация: Aug 2008
Сообщений: 2
По умолчанию срочно нужен ответ

как можно выгрузить этот мувик! мувик загружается с этим скриптом!

Код:
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("xxxx.xml");
myXML.onLoad = function(success) {
	if (success) {
		total = myXML.firstChild.childNodes.length;
		radius = 250;
		var nam:Array = [];
		ugol = 0;
		logo.swapDepths(100);
		smes = (Math.PI*2)/total;
		for (i=0; i<total; i++) {
			nam[i] = "fgh"+i;
			_root.attachMovie("zzz", nam[i], i+10);
			_root[nam[i]].cl.kar.loadMovie(myXML.firstChild.childNodes[i].attributes.img);
			_root[nam[i]].num = _root[nam[i]];
			_root[nam[i]].cl.clip = _root[nam[i]].cl;
			_root[nam[i]].sm = smes*i;
			_root[nam[i]].cl.link = myXML.firstChild.childNodes[i].attributes.link;
			_root[nam[i]].cl.onRollOver = function() {
				this.clip.onEnterFrame = function() {
					this.clip._yscale = this.clip._yscale+((130/this.clip._yscale)-1)*20;
					this.clip._xscale = this.clip._yscale;
				};
			};
			_root[nam[i]].cl.onRollOut = function() {
				this.clip.onEnterFrame = function() {
					this.clip._yscale = this.clip._yscale-((this.clip._yscale/100)-1)*20;
					this.clip._xscale = this.clip._yscale;
				};
			};
			_root[nam[i]].cl.onPress = function() {
				getURL(this.link,"_blank");
			};
			_root[nam[i]].onEnterFrame = function() {
				speed = (300-_xmouse)/1500;
				glub = 100+radius*Math.cos(ugol+this.sm);
				this.num._x = 300+radius*Math.sin(ugol+this.sm);
				this.num._y = 100;
				this.num._xscale = radius/2.5*Math.cos(ugol+this.sm);
				this.num.swapDepths(glub);
				if (this.num._xscale<0) {
					this.num._yscale = this.num._yscale-((this.num._yscale/80)-1)*10;
					this.num._alpha = 20;
				} else {
					this.num._yscale = this.num._yscale+((100/this.num._yscale)-1)*10;
					this.num._alpha = 100;
				}
				ugol += speed/total;
			};
		}
	}
};


Последний раз редактировалось screamge; 03.08.2008 в 17:26.