hi hab da ne fla wo ich eine kl navi hab nur leider kenn ich mich mit den code nicht aus
wie und wo mus ich für jedes kleine bildchen sind 3 den Link zur hp machen ??
hatte es bei get url gemacht aber dann kennt er nur 1 link aber nicht 3 ??
Edit hier die scripte die da drin sind:
Script6Bild1
Script5Bild1
wie und wo mus ich für jedes kleine bildchen sind 3 den Link zur hp machen ??
hatte es bei get url gemacht aber dann kennt er nur 1 link aber nicht 3 ??
Edit hier die scripte die da drin sind:
Script6Bild1
Code:
function subSelect (sn) {
var i = 0
_global.onEnterFrame = function () {
i++
if (i >= 15) {
delete(_global.onEnterFrame)
if ((Test == chkNum) && (Test2 != chkSnum)) {
trace("aa")
} else {
_global["ss" + chkNum]["s" + chkSnum].targetPlay(15)
}
for ( k = 1; k <= this.numOf; k++){
_global["ss" + sn]["s" + k].linkNum = "('" + sn + "','" + k + "')"
_global["ss" + sn]["s" + k].onRollOver = function () {
this.oldMc = _global
trace("ok=" + _global._name)
_global.targetPlay(15)
Test2 = _global._name.slice(1, 2)
_global["ss" + chkNum]["s" + chkSnum].targetPlay(15)
}
_global["ss" + sn]["s" + k].onRollOut = _global["ss" + sn]["s" + k].onDragOut = function () {
this.onOut()
this.targetPlay(1)
this._parent.sub_outBox.targetPlay(1)
}
_global["ss" + sn]["s" + k].onRelease = function () {
getURL("http://www.gw-world.de/bwd/page.php?32", "_self");
trace("javascript:" + nameFunc + this.linkNum)
}
}
}
}
}
this.stop()
nameFunc = "gw"
topNameFunc = "gwt"
mmNameFunc = "gwm"
_global.numOf = 13
_global.depth = 0
this.navi["m" + chkNum].targetPlay(15)
this["ss" + chkNum].targetPlay(15)
for ( i = 1; i <= _global.numOf; i++){
this.navi["m" + i].subNum = i
this.navi["m" + i].linkNum = "('" + i + "','" + "1')"
this.ss["s" + i].subNum = i
this.navi["m" + i].onRollOver = function () {
for ( j = 1; j <= this.numOf; j++){
_global._parent._parent.navi["m" + j].targetPlay(1)
_global._parent._parent["ss" + j].targetPlay(1)
}
_global.targetPlay(15)
sub_bg.targetPlay(sub_bg._totalframes)
_global._parent._parent["ss" + _global.subNum].targetPlay(15)
_global._parent._parent["ss" + _global.subNum].swapDepths(1000)
test = _global._name.slice(1, 2)
this.oldMc = _global
subSelect (_global.subNum)
}
this.navi["m" + i].onRollOut = this.navi["m" + i].onDragOut = function () {
this.onOut()
subSelect (chkNum)
}
this.navi["m" + i].onRelease = function () {
getURL("javascript:" + nameFunc + this.linkNum, "")
trace("javascript:" + nameFunc + this.linkNum)
}
}
subSelect (chkNum)
for ( var i = 0; i < 4; i++){
top_navi["t" + i].linkNum = "('" + i + "')"
top_navi["t" + i].onRollOver = function () {
this.targetPlay(this._totalframes)
}
top_navi["t" + i].onRollOut = function () {
this.targetPlay(1)
}
top_navi["t" + i].onRelease = function () {
getURL("http://www.gw-world.de/bwd/page.php?37", "_self");
trace("javascript:" + topNameFunc + this.linkNum)
}
}
for ( var i = 0; i < 5; i++){
mm_navi["c" + i].linkNum = "('" + i + "')"
mm_navi["c" + i].onRollOver = function () {
this.targetPlay(this._totalframes)
}
mm_navi["c" + i].onRollOut = function () {
this.targetPlay(1)
}
mm_navi["c" + i].onRelease = function () {
getURL("http://www.gw-world.de/bwd/page.php?", "_self");
trace("javascript:" + mmNameFunc + this.linkNum)
}
}
Script5Bild1
Code:
setProperty ("",_quality,"best")
MovieClip.prototype.targetPlay = function (targetFrame) {
this.onEnterFrame = function () {
if (this._currentframe > targetFrame) {
this.prevFrame()
}
else if (this._currentframe < targetFrame) {
this.nextFrame()
} else {
this.gotoAndStop(targetFrame)
this.onEnterFrame = null
}
}
}
MovieClip.prototype.onOver = function () {
this.oldMc = _global
_global.targetPlay(15)
}
MovieClip.prototype.onOut = function () {
if (this.oldMc == _global) {
var i = 0
_global.onEnterFrame = function () {
i++
if (i >= 2) {
trace(_global._name + " : Out")
delete(_global.onEnterFrame)
for ( j = 1; j <= this.numOf; j++){
_global._parent._parent.navi["m" + j].targetPlay(1)
_global._parent._parent["ss" + j].targetPlay(1)
_global._parent._parent.navi["m" + j]._alpha = 100
sub_bg.targetPlay(1)
}
_global._parent._parent.navi["m" + chkNum].targetPlay(15)
_global._parent._parent["ss" + chkNum].targetPlay(15)
_global._parent._parent["ss" + chkNum]["s" + chkSnum].targetPlay(15)
_global._parent._parent.outLine.targetPlay(1)
}
else if (this.oldMc != _global) {
trace(_global._name + " : Out2")
delete(_global.onEnterFrame)
}
}
}
}
MovieClip.prototype.smoothMove = function (sp, tx, ty) {
this.onEnterFrame = function () {
this._x = this._x + (sp * ((tx - this._x)))
this._y = this._y + (sp * ((ty - this._y)))
if ((Math.abs(tx - this._x) < 0.5) && (Math.abs(ty - this._y) < 0.5)) {
this._x = tx
this._y = ty
delete(this.onEnterFrame)
}
trace("thisX : " + this._x)
trace("thisY : " + this._y)
}
}