Traduction
Delsol
Messages postés
1
Statut
Membre
-
onesdf Messages postés 375 Date d'inscription Statut Membre Dernière intervention -
onesdf Messages postés 375 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Quelqu'un pourrai me traduire ce ci s'il vous plait .
pcharger = this.getBytesLoaded();
ptotal = this.getBytesTotal();
rapport = pcharger / ptotal;
_root.pourcent.text = Math.ceil(rapport * 100) + ' %';
if (rapport == 1)
{
gotoAndPlay(2);
}
Quelqu'un pourrai me traduire ce ci s'il vous plait .
pcharger = this.getBytesLoaded();
ptotal = this.getBytesTotal();
rapport = pcharger / ptotal;
_root.pourcent.text = Math.ceil(rapport * 100) + ' %';
if (rapport == 1)
{
gotoAndPlay(2);
}
A voir également:
- Traduction
- Google traduction photo - Guide
- Hibiki traduction telecharger - Accueil - Intelligence artificielle
- Bible hébreu traduction mot à mot pdf - Télécharger - Vie quotidienne
- Kif'n'dir traduction ✓ - Forum Mail
- Traduction site web - Guide
1 réponse
Ca ressemble fort à une progression de téléchargement
pcharger = this.getBytesLoaded(); donne le nombre de bytes récupérés sur le fichier
ptotal = this.getBytesTotal(); donne le nombre total de bytes du fichier
rapport = pcharger / ptotal; effectue un ratio
_root.pourcent.text = Math.ceil(rapport * 100) + ' %'; affiche le %age dans une zone de texte
if (rapport == 1) téléchargement fini
{
gotoAndPlay(2); jouer le fichier
}
pcharger = this.getBytesLoaded(); donne le nombre de bytes récupérés sur le fichier
ptotal = this.getBytesTotal(); donne le nombre total de bytes du fichier
rapport = pcharger / ptotal; effectue un ratio
_root.pourcent.text = Math.ceil(rapport * 100) + ' %'; affiche le %age dans une zone de texte
if (rapport == 1) téléchargement fini
{
gotoAndPlay(2); jouer le fichier
}