StickeR
08-03-2006, 01:24 AM
Hi all,
I hope this could be clariefied for me, I am trying to load information fro a php file on my site.
Just to clarify, in the end it need to be run from a users harddrive, not online.
It doesn't work :(
when doing the same from my harddrive it works, but when trying from www it gives 'undefined'.
i have this for code:
loadText = new LoadVars();
loadText.load("http://www.mysite.com/flash.php");
loadText.onLoad = function() {
_root.sho.text=this.flashtext;
};
What am I missing?
I hope this could be clariefied for me, I am trying to load information fro a php file on my site.
Just to clarify, in the end it need to be run from a users harddrive, not online.
It doesn't work :(
when doing the same from my harddrive it works, but when trying from www it gives 'undefined'.
i have this for code:
loadText = new LoadVars();
loadText.load("http://www.mysite.com/flash.php");
loadText.onLoad = function() {
_root.sho.text=this.flashtext;
};
What am I missing?