Je voudrais précharger un fichier.swf externe dans mon intro.swf ...mon intro doit précharger un fichier externe.swf avec ce code:
Au lieu _root, il me faudrait le fichier à externe à précharger
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 onLoad () { bt = _root.getBytesTotal(); trace(bt); } onEnterFrame() { bl = _root.getBytesLoaded(); ratio=bl/bt; trace("total = "+ bt+ " chargé = " + bl+ " ratio= "+ ratio); Bande.barre_bleu._x=-356+(168*ratio); pourcent.text=math.round(100*ratio); } onFrame (70) { if (ratio==1) { getURL ("Javascript:popupwindow()"); } }![]()
Partager