|
|
|||||
Регистрация: 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. |
|
|||||
Регистрация: May 2008
Сообщений: 476
|
unloadMovie
__________________
Случайность, господа, это знаете ли непознанная необходимость. |
|
|||||
Регистрация: Aug 2008
Сообщений: 2
|
не получается!
|
|
|||||
Ветеран форума
Регистрация: Jul 2006
Адрес: Грузия, Тбилиси
Сообщений: 2,675
|
Код нужно офoрмлять тегами [code][/code]. Название темы нужно подбирать соответствующее вопросу. Срочные вопросы на данном форуме решаются исключительно в разделе вакансий. Прежде чем что-либо запостить нужно хорошенько ознакомится с правилами форума.
Тема закрыта. |
Часовой пояс GMT +4, время: 20:42. |
|
« Предыдущая тема | Следующая тема » |
|
|