ERLEDIGT
NEIN
NEIN
ANTWORTEN
1
1
ZUGRIFFE
635
635
EMPFEHLEN
-
Hallo Freunde,
ich habe diesen Code um eine Animation zu Starten/ Pausieren.
Code :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
on(release){ if(_root.vars.stop_and_go == 1){ alles.box1.stop(); alles.box2.stop(); alles.box3.stop(); alles.box4.stop(); alles.box5.stop(); alles.box6.stop(); _root.platte_alles.stop(); _root.vars.stop_and_go = 0; } else{ alles.box1.play(); alles.box2.play(); alles.box3.play(); alles.box4.play(); alles.box5.play(); alles.box6.play(); platte_alles.play(); _root.vars.stop_and_go = 1; } }
Nun möchte ich aber gerne das, wenn man auf play / pause drückt, die mp3 auch Pausiert wird.
Leider geht:
Code :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
on(release){ if(_root.vars.stop_and_go == 1){ alles.box1.stop(); alles.box2.stop(); alles.box3.stop(); alles.box4.stop(); alles.box5.stop(); alles.box6.stop(); HTrack12.stop(); _root.platte_alles.stop(); _root.vars.stop_and_go = 0; } else{ alles.box1.play(); alles.box2.play(); alles.box3.play(); alles.box4.play(); alles.box5.play(); alles.box6.play(); HTrack12.play(); platte_alles.play(); _root.vars.stop_and_go = 1; } }
nicht so wie ich das möchte.
die Mp3 Befindet sich in der Bibliothek. Wenn ich die MP3 direkt in den Film zieh wird sie zwar abgespielt läuft aber dauer. Hat jemand eine Ahnung ?
Hier mal der Link zur swf damit ihr das Visualisieren könnt.
** Achtung
*** nicht erschrecken die musik Fängt laut und plötzlich an - also boxen leise machen 
- dat.swf -
Danke vielmals,
René
-
Hallo,
guckst du am besten mal hier.
Als kleiner Tipp:
Sound-Objekte werden so gestartet:
Code actionscript:1
meinSound.start();
gruss
Ähnliche Themen
-
C# Warten bis Prozess beendet ist - erst dann mit Code fortfahren.
Von Carpo im Forum .NET Windows FormsAntworten: 1Letzter Beitrag: 30.09.10, 21:31 -
Film als Textur zeitgenau abspielen/ verzögert abspielen
Von pixelmirror im Forum Cinema 4DAntworten: 8Letzter Beitrag: 13.08.08, 10:05 -
Datei öffnen und fortfahren
Von Gentrix1990 im Forum C/C++Antworten: 3Letzter Beitrag: 09.03.08, 20:41 -
nach einer Fehlermeldung fortfahren ORACLE
Von cullmann im Forum Relationale DatenbanksystemeAntworten: 8Letzter Beitrag: 07.02.07, 19:52 -
videos pausieren
Von redhead im Forum Videoschnitt, Videotechnik & -produktionAntworten: 4Letzter Beitrag: 15.05.02, 20:37





Zitieren
Login





