Bonjour,

j'ai créé un site avec une ancienne version de flash (je crois CS4) où j'avais pour faire attendre le chargement :

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
 
var Barre:MovieClip;
var Pourcentage:TextField;
var Attente:TextField;
 
PourPourcentage.html = true;
PourAttente.html = true;
function onEnterFrame(){
    var pc = _root.getBytesLoaded()*100/_root.getBytesTotal();
    Barre._xscale = pc;
    Attente.htmlText = "Merci de patienter";
	Pourcentage.htmlText = "<b>"+Math.round(pc)+"%</b> effectués";
    if (pc >= 100){
        delete onEnterFrame;
        Play();
    }
}
stop();
J'ai mis à jour le fichier avec CS6 et j'ai un bug maintenant (plus de pourcentage et texte brouillé).
Je le publie en sélectionnant flashplayer8 et actionscript2 ?? Mais ça ne règle pas le problème.

Quelqu'un saurait-il me sortir de là ?