P
Pentrarer
Hallo,
also meine frage es sieht so aus das ich jeden angezeigten link mit nem unterschiedlichen bild angezeigt wird habe im moment nur ein bild was auf alle links angewendet wird und würde dies gerne ändern hoffe jemand kann mir helfen.
Mfg Pentrarer
also meine frage es sieht so aus das ich jeden angezeigten link mit nem unterschiedlichen bild angezeigt wird habe im moment nur ein bild was auf alle links angewendet wird und würde dies gerne ändern hoffe jemand kann mir helfen.
Code:
fscommand("allowscale", "false");
links = new Array();
links[1] = ["http://www.holeab.de/holeab/jgs_portal.php", "P"];
links[2] = ["http://www.holeab.de/holeab/index.php", "B"];
links[3] = ["http://www.holeab.de/holeab/jgs_chat.php", "C"];
links[4] = ["http://www.holeab.de", "E"];
links[5] = ["http://www.holeab.de/party/index.html", "P"];
links[6] = ["http://www.holeab.de/holeab/jgs_portal_statistik.php", "S"];
posX = Stage.width / 2;
posY = Stage.height / 2;
anzahl = links.length - 1;
var i = 1;
while (i < anzahl + 1)
{
attachMovie("clip", "clip" + i, i);
i++;
} // end while
_global.signal = true;
this.onEnterFrame = function ()
{
if (signal)
{
mausPos = mausPos + (_root._xmouse - posX) / 200;
var i = 1;
while (i < anzahl + 1)
{
winkel = (mausPos + 360 / anzahl * i) * 3.141593 / 180;
this["clip" + i]._x = posX + Math.sin(-winkel) * 300;
this["clip" + i]._y = posY + Math.cos(-winkel) * 50;
this["clip" + i]._xscale = 100 + Math.cos(winkel) * 50;
this["clip" + i]._yscale = 100 + Math.cos(winkel) * 50;
this["clip" + i].swapDepths(1000 + Math.cos(winkel) * 100);
this["clip" + i].txtName = links[i][1].toUpperCase();
this["clip" + i].url = links[i][0];
this["clip" + i].onRelease = function ()
{
getURL(this.url, "_self");
signal = false;
};
this["clip" + i].onRollOver = function ()
{
signal = false;
};
this["clip" + i].onRollOut = function ()
{
signal = true;
};
i++;
} // end while
} // end if
};
planet.swapDepths(1000);
Mfg Pentrarer