I can do this:
print “_root.textbox=$myvariable”
but this won’t work:
print “_root.textbox**.text**=$myvariable”
I nedd it to be .text so ican scroll the textbox! any ideas???
I can do this:
print “_root.textbox=$myvariable”
but this won’t work:
print “_root.textbox**.text**=$myvariable”
I nedd it to be .text so ican scroll the textbox! any ideas???
you only need to output something like like ‘myVar=$myvariable’, and then use a script like this:
lv = new LoadVars()
lv.onLoad = function(success) {
if(success) {
_root.textbox.text = this.myVar
} else {
trace("failed")
}
}
lv.load("myScript.php")
hope this helps
omg! It works! Thank you thank you thank you! I tried something similar but it didn’t work! Thanks again m8!
um… now another problem occurred!
Now that I use .text the html is disabled for the textbox!
oh mannn! Isn’t there any way to enable it?
hehe no problem
if you’re loading html, then replace this line:
_root.textbox.text = this.myVar
with
_root.textbox.htmlText = this.myVar
sounds good but no effect… :-\
are you sure html rendering is enabled?
Am I stoopid? First I didn’t know that htmlText thing (strange) then I saw it wasn’t working with the .text thing so turen the html off (I dunno why) !
ahhhhh I must be going nuts
thx man! =)
lol :beam:
glad it works