Howdy
I´m having a textfield that is editable and then saved (by a button click) to a txt file. when pressing that button the visitor goes to another frame that just tells the user that the text is saved. Now my problem is that when the user goes back to the frame where he/she can edit the text the latest changes aren´t visible, but when closing the browser and returning to the page the new changes appears.
The code in my first frame (as learned from kirupa tutorials to make the scroller work).
[AS]
loadText = new loadVars();
loadText.load(“skivlog.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.newtext;
};
stop();
[/AS]
The php I use to save the text works I just can´t figure out how to “refresh” the textfield when new text is edited. I tought that jumping to another frame where the scroller.text = “”, and then back would automaticly reload the text?
Very tankful for all help…
Here´s a link to the fla if anyone likes to try something similar.
Link to fla