Flash - XML, collegamenti

« Older   Newer »
  Share  
max_400
view post Posted on 11/3/2010, 14:48     +1   -1




ecco un pacco completo

con componenti textarea e textinput che
prelevano le informazioni da un file xml

in flash per caricare il file xml

argomentiContent = new XML();
argomentiContent.ignoreWhite = true;
argomentiContent.load("ggg.xml");
argomentiContent.onLoad = function(success)
{
if(success)
{
myText.text = argomentiContent;
}
}


sempre in flash per il componente TextArea

//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;



per il componente TextInput

//init TextInput component
myText.html = true;
myText.label.condenseWhite=true;


in xml

CODICE
<argomenti>

<data1>prova </data1><br/>

</argomenti>

il file xml creato con un semplice note pad č salvato con la codifica dei caratteri UTF-8





Download attachment
textarea_textinput.rar ( Number of downloads: 7 )

 
Top
0 replies since 11/3/2010, 14:48   52 views
  Share