IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Flash Discussion :

transfert ne s arrete pas


Sujet :

Flash

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    232
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 232
    Points : 169
    Points
    169
    Par défaut transfert ne s arrete pas
    bonjour,

    Voici mon problème :

    Je ne sais pas où est le problème, mais mes pages html contenant mes flash, indiquent en bas de la fenetre du navigateur : "données transferées...", comme si un transfert de donnée se faisait en continu sans jamais s arreter, savez vous d ou ca peut provenir?
    Mes fichiers flash chargeent un xml et il y a des ecouteur de chargement, peut etre le problème est là?

    merci d avance

  2. #2
    Membre émérite
    Avatar de jean philippe
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    2 062
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 2 062
    Points : 2 313
    Points
    2 313
    Par défaut
    salut
    il faudrait voir le code pour te répondre précisément

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    232
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 232
    Points : 169
    Points
    169
    Par défaut
    ok, je comprend
    voici mon code (si par ailleurs tu vois de grossieres fautes de redaction de code, tu peux me le signaler, car je sais qu en je dois en fiare des enormes )


    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
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    _root.mc_onglet_1.mc_barreMarron.gotoAndStop(6);
     
    var ongletActif:Number = 1;
     
    var adresseUrlTexte:Array = new Array;
    var titre_paragraphe:Array = new Array;
    var textes:Array = new Array;
     
    XMLprestations = new XML();
    XMLprestations.ignoreWhite = true;
    XMLprestations.direction = "receive";
    XMLprestations.ignoreWhite = true;
    XMLprestations.onLoad = function(success:Boolean) {
    	if (success) {
     
    		nombreDeParagraphes = XMLprestations.firstChild.childNodes.length;
    		for (i=0; i<nombreDeParagraphes; i++) {
    			adresseUrlTexte.push(XMLprestations.firstChild.childNodes[i].childNodes[0].attributes.url);
    		}
     
    		for (i=0; i<nombreDeParagraphes; i++) {
    			titre_paragraphe.push(XMLprestations.firstChild.childNodes[i].attributes.titre);
    		}
     
    		_root.mc_onglet_1.text_titre_onglet.text = XMLprestations.firstChild.childNodes[0].attributes.titre;
    		_root.mc_onglet_2.text_titre_onglet.text = XMLprestations.firstChild.childNodes[1].attributes.titre;
    		_root.mc_onglet_3.text_titre_onglet.text = XMLprestations.firstChild.childNodes[2].attributes.titre;
     
    		_root.text_titre.text = titre_paragraphe[0];
     
     
    		//Load the text.
     
    		var loadit_lv_1:LoadVars = new LoadVars();
    		loadit_lv_1.load(adresseUrlTexte[0]);
    		loadit_lv_1.onData = function(src:String) {
    			if (src != undefined) {
    				textes.push(src);
    				text_courant_para_1.text = textes[0];
    			} else {
    				text_courant_para_1.text = "un problème est survenu lors du téléchargement des données";
    			}
    		}
     
    		var loadit_lv_2:LoadVars = new LoadVars();
    		loadit_lv_2.load(adresseUrlTexte[1]);
    		loadit_lv_2.onData = function(src:String) {
    			if (src != undefined) {
    				textes.push(src);
    			}
    		}
     
    		var loadit_lv_3:LoadVars = new LoadVars();
    		loadit_lv_3.load(adresseUrlTexte[2]);
    		loadit_lv_3.onData = function(src:String) {
    			if (src != undefined) {
    				textes.push(src);
    			}
    		}
     
     
    	}
    };
     
    //////// chargement de l adresse du fichier xml a recuperer /////////////////////////////////
    XMLprestations.load("désolé mais je prefere masquer l adresse");
    ///////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////////////////////////////////////////
     
     
    ///////////////////////// gestion des onPress//////////////////////////////////////////////////////
     
    MovieClip.prototype.ChoixOnglet = function (x:Number) {
     
    	if (x!=ongletActif) {
    		_root["mc_onglet_"+ongletActif].mc_barreMarron.gotoAndPlay(7);
    	}
     
    	if(_root["mc_onglet_"+x].mc_barreMarron._currentframe===1) {
    		_root["mc_onglet_"+x].mc_barreMarron.gotoAndPlay(2);
    	}
     
    	ongletActif = x;
     
    	_root.text_titre.text = titre_paragraphe[x-1];
    	_root.text_courant_para_1.text = textes[x-1];
    }
     
    _root.mc_onglet_1.onPress = function () {
    	this.ChoixOnglet(1);
    }
     
    _root.mc_onglet_2.onPress = function () {
    	this.ChoixOnglet(2);
    }
     
    _root.mc_onglet_3.onPress = function () {
    	this.ChoixOnglet(3);
    }

  4. #4
    Membre habitué
    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    232
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 232
    Points : 169
    Points
    169
    Par défaut personne ne sait?
    pas d idee?

Discussions similaires

  1. Imprimante qui n'arrete pas d'imprimer
    Par redabadache3 dans le forum Périphériques
    Réponses: 5
    Dernier message: 13/07/2006, 13h19
  2. Réponses: 4
    Dernier message: 13/12/2005, 12h31
  3. [wxPython] Application qui ne s'arrete pas....
    Par Mr Hyde dans le forum wxPython
    Réponses: 9
    Dernier message: 10/11/2005, 16h28
  4. probleme breakpoint ne s arrete pas
    Par benoit70 dans le forum MFC
    Réponses: 4
    Dernier message: 16/03/2005, 11h24
  5. Halt - la machine ne s'arrete pas
    Par Slein dans le forum Administration système
    Réponses: 3
    Dernier message: 01/06/2004, 19h59

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo