bonjour voila mon problème

comment faire pour que mon sound flash ce charge un peu et commence a être jouer? car la quand je click sur play il est jouer immédiatement et une foi charger il repart a zéro et l'animation de la bar commence.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
var fichier = "extrai/"+zik;
var decalage = 0;
var charge = false;
var duree, si;
txt.text = "Prêt!";
chanson = new Sound();
txt_titre.text = titrezik;
 
chanson.onSoundComplete = function() {
	_root.arreter();
};
 
function arreter() {
	chanson.stop();
	clearInterval(si);
	decalage = 0;
	bar_prog._width = 228;
	_root.txt.text = "Prêt!";
	charge = false;
}
 
 
function majTxt() {
	pc = Math.round((chanson.position*100)/chanson.duration);
	txt.text = Math.round(chanson.position/1000)+"/"+duree;
	txt.text += " - "+pc+"%";
	bar_prog._width = 228*pc/100;
	decalage = chanson.position/1000;
}
 
function jouer() {
  if (charge == false) {
    chanson.onLoad = function(ok) {
      txt.text = "Chargement...";
      if (ok=true) {
        charge = true;
        duree = Math.round(chanson.duration/1000);
        txt.text = "0/"+duree+" - 0%";
        chanson.start();
        si = setInterval(majTxt, 10);
      }
    };
    chanson.loadSound(fichier, true);
  } else {
    chanson.start(decalage);
    si = setInterval(majTxt, 10);
  }
}
 
bt_play1.onRelease = function() {
	_root.jouer();
};
 
bt_stop1.onRelease = function() {
	_root.arreter();
};
pour constater le prob : http://www.puissance5.net/dev/news.p...=United_Fools_ (pour pouvoir bien voir le problème vider votre cache)

merci de votre aide