Jump to content


gente estou com problema nesse meu arquivo de flash para colocar o link do google, não sei mais o que eu faço , se puderem me ajudar desde já agradeço


  • Please log in to reply
No replies to this topic

#1 Jessi

Jessi
  • Membros
  • 1 posts

Posted 21 February 2011 - 10:39 PM

gente estou com problema nesse meu arquivo de flash para colocar o link do google, não sei mais o que eu faço,
se puderem me ajudar desde já agradeço



function menu_on(num)
{
_root["menu" + num].bg.Valalpha = 0;
_root["menu" + num].bg.scale = 40;
_root["menu" + num].txt.PosY = -72;
} //
function menu_out(num)
{
_root["menu" + num].bg.Valalpha = 100;
_root["menu" + num].bg.scale = 100;
_root["menu" + num].txt.PosY = _root["menu" + num].txt.defY;
} // End of the function
stop();
friction = 0.450000;
menu_num = 4;
movieClip.prototype.Moving = function (Val, PosX, PosY, scale, Valalpha)
{
this._x = this._x + Val * (PosX - this._x);
this.next_pos = (this.PosY - this._y) * Val + this.next_pos * _root.friction;
this._y = this._y + this.next_pos;
this._xscale = this._xscale + Val * (scale - this._xscale);
this._yscale = this._yscale + Val * (scale - this._yscale);
this._alpha = this._alpha + Val * (Valalpha - this._alpha);
};
for (e = 1; e <= menu_num; e++)
{
_root["menu" + e].defX = _root["menu" + e].PosX = _root["menu" + e]._x;
_root["menu" + e].defY = _root["menu" + e].PosY = _root["menu" + e]._y;
_root["menu" + e].txt.defX = _root["menu" + e].txt.PosX = _root["menu" + e].txt._x;
_root["menu" + e].txt.defY = _root["menu" + e].txt.PosY = _root["menu" + e].txt._y;
_root["menu" + e].bg.defX = _root["menu" + e].bg.PosX = _root["menu" + e].bg._x;
_root["menu" + e].bg.defY = _root["menu" + e].bg.PosY = _root["menu" + e].bg._y;
_root["menu" + e].bg.Valalpha = _root["menu" + e].bg.scale = 100;
_root["menu" + e].onEnterFrame = function ()
{
this.Moving(0.300000, this.PosX, this.PosY, 100, 100);
};
_root["menu" + e].bg.onEnterFrame = function ()
{
this.Moving(0.300000, this.PosX, this.PosY, this.scale, this.Valalpha);
};
_root["menu" + e].txt.onEnterFrame = function ()
{
this.Moving(0.200000, this.PosX, this.PosY, 100, 100);
};
_root["menu" + e]._x = -100;
_root["menu" + e].onRollOver = function ()
{
name = this._name;
num = name.substring(4, 6);
_root.menu_on(num);
};
_root["menu" + e].onRollOut = function ()
{
name = this._name;
num = name.substring(4, 6);
_root.menu_out(num);
};
_root["menu" + e].onRelease = function ()
{
name = this._name;
num = name.substring(4, 6);
getURL(urlLink[num], "");
};
} // end of for
urlLink = new Array();
urlLink[1] = on(press){
getURL("http://www.google.co...om.br","_blank");
}
urlLink[2] = "#";
urlLink[3] = "#";
urlLink[4] = "#";




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)