ERLEDIGT
JA
JA
ANTWORTEN
0
0
ZUGRIFFE
228
228
EMPFEHLEN
-
Ich habe folgendes Problem:
Ich habe eine Flashseite mit Hintergrundmusik erstellt. Nun läuft offline auch alles wunderbar, nur online eben nicht. Am Preloader liegt es nicht ! Ich hoffe Ihr habt noch eine Idee was ich tun kann, meine Ideen gehen langsam aus. Es folgt der Action Script Quelltext. Vielen Dank schonmal im vorraus.
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
/*---------------------------------SOUNDSTEUERUNG-----------------------------------------*/ soundObj = new Sound(); soundObj.attachSound("lounge"); soundObj.start(); _play = 1;// = true soundObj.setVolume(100);// 0 = aus --- 100 = voll soundObj.onSoundComplete = function() { soundObj.start(); }; songLength_txt.text = soundObj.duration/1000+" sec"; function abspielen() { onEnterFrame = function () { aktuellePosition_txt.text = soundObj.position/1000; }; if (!_play) { if (soundObj.position == soundObj.duration) { soundObj.start(); } else { soundObj.start(_pause); } _play = 1; } } abspielen(); function pauseFunc() { delete onEnterFrame; _play = 0; _pause = soundObj.position/1000; soundObj.stop(); } btn_stop.onPress = pauseFunc; btn_play.onPress = abspielen;
Ähnliche Themen
-
Sound funktioniert nicht mehr
Von Jennesta im Forum HardwareAntworten: 1Letzter Beitrag: 12.08.09, 01:16 -
Sound funktioniert nicht im Browser
Von corona im Forum Flash PlattformAntworten: 4Letzter Beitrag: 25.10.05, 22:21 -
Sound+Film online nicht synchron
Von Snap164 im Forum Flash PlattformAntworten: 1Letzter Beitrag: 30.05.05, 17:46 -
sound loop funktioniert nicht
Von janoe im Forum Flash PlattformAntworten: 6Letzter Beitrag: 05.02.05, 11:52 -
sound einfügen funktioniert nicht...
Von unrealelement im Forum Cinema 4DAntworten: 7Letzter Beitrag: 07.09.04, 12:35





Zitieren
Login





