|
|
срочно нужен ответ
как можно выгрузить этот мувик! мувик загружается с этим скриптом!
Код:
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;
};
}
}
};
|
Alex_beginner |
03.08.2008 15:19 |
unloadMovie:)
|
screamge |
03.08.2008 17:25 |
Код нужно офoрмлять тегами [code][/code]. Название темы нужно подбирать соответствующее вопросу. Срочные вопросы на данном форуме решаются исключительно в разделе вакансий. Прежде чем что-либо запостить нужно хорошенько ознакомится с правилами форума.
Тема закрыта.
|
Часовой пояс GMT +4, время: 16:42. |
|
Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.