| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Jan 2008
Beiträge: 31
| mal wieder root Funktion
Hallo ! habe eine kleines Problem was natürlich für einen Flasher ein witz ist, aber ich gebe gerade auf oder sehe den Fehler nicht. ich habe auf der haubtleiste die homepage und in einen anderen MC die navigationsleiste die noch ein weiteren mc als unterfunktion enthält . ich möchte über der hauptleiste das menü ansprechen und swf´s einladen . ich habe zwar die Funktion aber die swf läd nicht .. hilfe gruß micha Code: stop();
this.balken._visible = false;
this.balkentext._visible = false;
function fadeOut(ladeziel, speed) {
this.onEnterFrame = function() {
if (this.mc_inhalt._alpha>1) {
this.mc_inhalt._alpha -= speed;
} else {
this.mc_inhalt.loadMovie(ladeziel);
this.onEnterFrame = function() {
this.balken._visible = true;
this.balkentext._visible = true;
this.balken._xscale = int(Math.round(mc_inhalt.getBytesLoaded()/mc_inhalt.getBytesTotal()*100));
this.balkentext.text = int(Math.round(mc_inhalt.getBytesLoaded()/mc_inhalt.getBytesTotal()*100))+" % geladen";
if (mc_inhalt.getBytesLoaded()>=mc_inhalt.getBytesTotal() && mc_inhalt.getBytesLoaded()>12) {
delete onEnterFrame;
this.balken._visible = false;
this.balkentext._visible = false;
fadeIn(speed);
}
};
}
};
}
function fadeIn(speed) {
this.onEnterFrame = function() {
if (this.mc_inhalt._alpha<99) {
this.mc_inhalt._alpha += speed;
} else {
delete this.onEnterFrame;
}
};
}
_root.menu.home_btn.onRelease = function() {
if(_root.aktiv != this) {
this._parent.fadeOut("home.swf", 5);
_root.aktiv = this }
};
this.btn_mc2.onRelease = function() {
if(_root.aktiv != this) {
fadeOut("btn_mc2.swf", 5);
_root.aktiv = this }
};
this.btn_mc3.onRelease = function() {
if(_root.aktiv != this) {
fadeOut("btn_mc3.swf", 5);
_root.aktiv = this }
};
this.btn_mc4.onRelease = function() {
if(_root.aktiv != this) {
fadeOut("btn_mc4.swf", 5);
_root.aktiv = this }
};
this.btn_mc5.onRelease = function() {
if(_root.aktiv != this) {
fadeOut("btn_mc5.swf", 5);
_root.aktiv = this }
};
this.btn_mc1.onRelease() |
| | |
| | #2 (permalink) |
| Gast
Beiträge: n/a
|
Schau dir mal meine Tutorials zu Bildergalerien an. SWFs können genauso wie Bilder mit der MovieClipLoader-Klasse nachgeladen und mit der Tween-Klasse gefadet werden, dadurch ersparst du dir viel überflüssiges Script.
|
|
| | #7 (permalink) | ||
| Gast
Beiträge: n/a
| Zitat:
Zitat:
PHP-Code: | ||
|
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |