A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loading html text in ext dynamic text box

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    8
    I have no problem understanding loading a text file into my main movie and calling the html into a dynamic text box from a button.
    I am having a problem when I load my variables on my main timeline and try to load text into a dynamic box from a button that resides outside the main movie. I have had no success from a separate swf file or a movie clip within the main timeline.

    Can anyone help or refer me to any documentation that might help me on this matter.

    thanks in advance.

  2. #2
    United States Presidential Hopeful in 2028
    Join Date
    Dec 2000
    Posts
    756
    It sounds like a targeting problem. If the text box is in a different movie than the button or the action, then you need to let Flash know where to send the command.

    So if you are trying to load text into a field on the main movie from a button in a movie loaded onto level 1 the action would look like: _level0.loadVariablesNum(whatever.txt)

    To do it the other way the _level0. would be _level1.

    You can also use the instance name of the clip such as instanceName.loadVariablesNum(whatever.txt)

  3. #3
    Junior Member
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    8
    To JC Savior Productions

    Thanks you for your help… It fixed my problem.

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