Try
nome=your text
without &
This is a discussion on Dynamic field empty....help within the HELP free utilities forums, part of the Flash English category; Hi I have this code in (apart) movie clip, this one belongs to ther one called (pagina): The field is ...
Hi
I have this code in (apart) movie clip, this one belongs to ther one called (pagina): The field is instanced as nome_text and the variable is "nome"
In the output from flash he loads the text, but the text field is empty
The AS is the second layer from "apart" mc
The field has embedd character.Code:var myLoadVars = new LoadVars(); myLoadVars.onLoad = function() { trace(this.nome); nome_txt.text = this.nome } myLoadVars.load("text.txt");
the txt has ( &nome=your text)
What's wrong?
regards
Last edited by OrientExpress; 02-10-09 at 07:39. Reason: added CODE tags
Try
nome=your text
without &
Hi
the same, in the output ftom flash i receive this:
myLoadVars load success is true
your text
But the field still empty...:(
what's wrong?
regards
You must embed characters in your textfield, have a look:
Emded fonts into SWF
Hi
Thanks for your help, did it already and nothing:
My code now:
Still don't get what's wrong....:(Code:myLoadVars = new LoadVars(); myLoadVars.load("text.txt", "apart"); border = false; multiline = true; wordWrap = true; embedFonts=true variable = nome; myLoadVars.onLoad = function(result){ trace("myLoadVars load success is " + result); trace(this.nome); caixa.text = this.nome }
Last edited by OrientExpress; 02-10-09 at 10:17. Reason: added CODE tags
Bookmarks