Bonjour !

Alors voilà je voudrais essayer de mettre le contenu d'un fichier php un textField mais je ne sais pas trop comment m'y prendre...

Bon pour l'instant j'ai ça qui marche :

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
 
	public function changeText(contenu:String):void
	{
		myTextBox.x = 25;
		myTextBox.y = 15;
		myTextBox.width = 380; 
		myTextBox.height = 540; 
		myTextBox.alpha = 0;
 
		var fichier:String = new String();
		fichier = "data.php?=" + contenu;
 
		myTextBox.htmlText = fichier;
 
		TweenLite.to(this,1,{delay:1,alpha:1,x:"10"});
	}
Donc là ca m'affiche juste le nom du fichier que je veux afficher. Mais je cherche une fonction qui puisse interpréter le lien et l'afficher ... rien que ça mdr ^^

Merci