A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: dynamic text problem in html

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    16

    dynamic text problem in html

    I am currently designing a website in flash, when I test the site using control->test movie the dynamic text is displayed but when I test it in file->publish preview->html the dynamic text is not displayed. do I need to put some code into the html to tell it where the .txt file is?

  2. #2
    over the hill
    Join Date
    Nov 2003
    Location
    Fort Worth, Texas
    Posts
    84
    are you using loadvariable("text.txt") to load your dynamic text?
    ---- the more I learn the less I know ---

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Posts
    16
    I'm using loadVariablesNum("text.txt"..)

  4. #4
    over the hill
    Join Date
    Nov 2003
    Location
    Fort Worth, Texas
    Posts
    84
    try:

    on(release) {
    loadVariables("data.txt", "_root.varTarget");
    }

    where _root.varTarget the variable you want the text to load
    ---- the more I learn the less I know ---

  5. #5
    Junior Member
    Join Date
    Jan 2004
    Posts
    16
    when i tried what you said it opened the whole text file in a new window instead of displaying the information in the dynamic text box.

  6. #6
    over the hill
    Join Date
    Nov 2003
    Location
    Fort Worth, Texas
    Posts
    84
    on(release) {
    loadVariables("data.txt", 0);
    }


    use level instead of target.

    sorry, this should work.
    ---- the more I learn the less I know ---

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