As always: Just another wierd q from me:p:
In a html-code i could use the print-function if I wanted to load something from my database.
for instance:
<div class="headline"><? print $query["headline"]; ?></div>
Is it possible to do this, or something similar in actionscript?
my code:
on (release) {
unique=Math.round(Math.random()*10000);
loadText = new LoadVars();
loadText.load("[http://www.filaung.no/moduler/test.php?text=1&unique](http://www.filaung.no/moduler/test.php?text=1&unique)=" add getTimer());
loadText.onLoad = function() {
nyheter.Htmltext = this.nyheter;
}
}
on (rollOver) {
_root.x = 1;
_root.caption.words = "**[color=red]Nyheter1![/color]**";
}
on (rollOut) {
_root.x = 0;
_root.caption.words = " ";
}
I want to load the [color=red]red[/color] text from the the test.php-file. Can I do that?
ps: it should load “text=1o”
:h: