En ce moment :Genshin Impact, Valhalla, Breath of the wild, Animal Crossing, GTA 5, Red dead 2
PCPS5Xbox SeriesSwitch 2
Liste des sujets
Flash MX : Barre de chargement help
Vladico
Niveau 10
30 octobre 2006 à 17:33:08
Bonsoir,
Je voudrais programmer une barre de chargement pour un site
J´ai programmé ça mais Flash insiste pour me dire que le script contient des erreurs, j´ai beau à chercher je ne vois pas ce qui cloche, aidez moi please
Script:
stop(); onEnterFrame = function() { var framesLoaded = (Math.ceil (( _parent._framesloaded / _parent.totalframes) x 100)); gotoAndStop (framesLoaded); info_txt.text = framesLoaded + "% completed"; if (framesLoaded >=90) { _root.gotoAndPlay("Start"); } }