parazit
🌱Yeni Üye🌱
Arkadaşlar bu sorunla 3 gündür uğraşıyorum.Flashda fazlası ile bilgili değilim bu işin içinden çıkamadım.Ana swf deki kodlar şu şekilde
Üstteki movie.swf çağırmıyor bir türlü sürekli es geçiyor ve View.swf gösteriyor üsttekini bir türlü çağırttıramadım.
İlgilenen arkadaşlara şimdiden çok teşekkür ederim
Kod:
function EnterFrame(mc, val)
{
if (val)
{
mc.onEnterFrame = function ()
{
if (mc._currentframe != mc._totalframes)
{
mc.nextFrame();
}
else
{
delete mc.onEnterFrame;
} // end else if
};
}
else
{
mc.onEnterFrame = function ()
{
if (mc._currentframe != 1)
{
mc.prevFrame();
mc.prevFrame();
}
else
{
delete mc.onEnterFrame;
} // end else if
};
} // end else if
} // End of the function
function loadFun(No)
{
if (No == "introGo")
{
loadMc.loadMovie(_rootURLL + "movie.swf");
trace ("----------- ??? ?? -----------");
}
else if (No == "viewGo")
{
loadMc.loadMovie(_rootURLL + "View.swf");
trace ("----------- ??? ?? -----------");
skip_btn._visible = 0;
todayCheck._visible = 0;
gs.TweenMax.to(sungo_btn, 4.000000E-001, {_x: 445, ease: gs.easing.Cubic.easeInOut});
} // end else if
loadMc._alpha = 100;
} // End of the function
Stage.scaleMode = "noscale";
Stage.align = "TL";
var _this = this;
var _rootURLL;
var result_var;
var cookiecheck;
var sunURL;
if (_url.substr(0, 4) == "file")
{
_rootURLL = "https://www.siteadı.com";
cookiecheck = "N";
sunURL = "https://www.siteadı.com";
trace (_url.substr(0, 4));
}
else
{
_rootURLL = _root.URLL;
cookiecheck = _root.strCookie;
sunURL = _root.strMainUrl;
} // end else if
if (cookiecheck == "Y")
{
loadFun("viewGo");
}
else if (cookiecheck == "N")
{
loadFun("introGo");
} // end else if
todayCheck.onPress = function ()
{
this.gotoAndStop(2);
};
todayCheck.onRelease = function ()
{
flash.external.ExternalInterface.call("fnSetCookie", "WZ_SUN_INTRO", "done");
gs.TweenMax.to(loadMc, 2.000000E-001, {_alpha: 0, ease: gs.easing.Cubic.easeInOut, onComplete: loadFun, onCompleteParams: ["viewGo"]});
};
skip_btn.onRollOver = function ()
{
EnterFrame(this, true);
this.onRollOut = function ()
{
EnterFrame(this, false);
};
};
skip_btn.onRelease = function ()
{
gs.TweenMax.to(loadMc, 2.000000E-001, {_alpha: 0, ease: gs.easing.Cubic.easeInOut, onComplete: loadFun, onCompleteParams: ["viewGo"]});
};
sungo_btn.onRollOver = function ()
{
EnterFrame(this, true);
this.onRollOut = function ()
{
EnterFrame(this, false);
};
};
sungo_btn.onRelease = function ()
{
getURL(sunURL, "");
};
logo.onRelease = function ()
{
getURL(sunURL, "");
};
Üstteki movie.swf çağırmıyor bir türlü sürekli es geçiyor ve View.swf gösteriyor üsttekini bir türlü çağırttıramadım.
İlgilenen arkadaşlara şimdiden çok teşekkür ederim