Bonjour,
Dans mon application flash, je dois enregistrer des données sur la machine client en local.
J'utilise donc l'outils sharedobject de cette façon :
J'ai l'impression que ça enregitre bien, car à la lecture du fichier, j'arrive à recuperer des informations de ce fichier de cette maniere :Code:
1
2
3
4
5
6
7
8
9
10
11 monObjet = SharedObject.getLocal("mesStatistiques","/"); monObjet.data.Image1Planche1 = Image1; monObjet.data.Image2Planche1 = Image2; monObjet.data.Image3Planche1 = Image3; monObjet.data.Image4Planche1 = Image4; monObjet.data.Image5Planche1 = Image5; monObjet.data.Image6Planche1 = Image6; // save information about answer monObjet.data.Statistiques = statistiques; // save information monObjet.flush();
Seulement jen'arrive à trouver ce fameux fichier, sur ma machine, et j'aurai besoin de pouvoir visualiser commment il ets fait (pour les besoins d'un rapport)Code:
1
2
3 monObjet = SharedObject.getLocal("mesStatistiques","/") // load the result wrongAnswer.text = 36 - monObjet.data.Statistiques.goodReponse;
j'ai lu que le fichier creer était un fichier .sol, mais je ne trouve rien en cherchant sur mon ordi.
Quelqu'un à une explication ? Une erreur que je fias ? ou peut etre que je ne chercher pas la bonne extension mais laquelle ?
meric