dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: textfield loads locally but not online?

Threaded View

  1. #1
    Senior Member
    Join Date
    Nov 2003
    Location
    Bournemouth, UK
    Posts
    144

    textfield loads into .swf but not when loaded into main movie?

    I'm loading a textfile into a textfield, this works fine locally but when I upload to the site the textfield remains empty? Heres my code: -

    code:

    loadVarsText = new loadVars();
    loadVarsText.load("mytextfile.txt");
    loadVarsText.onLoad = function (success){
    if (success){
    textfield.text = this.mytext;
    }else{
    textfield.text = "not loaded";
    }
    }


    it doesn't even display the text "not loaded".
    Any help appreciated, cheers
    Last edited by danthomas; 03-16-2004 at 01:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center