#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    1
    Rep Power
    0

    Unhappy Help with Dynamic Text


    ok my problem is as follows.

    i have a dynamic text box that i named variable" text ". and i have a file on my website named " text.txt ". i want my dynamic text box labeled " text " to have the same exact text in the file
    " text.txt ".

    i tried to make the text box a movie and have an onload event that makes

    text=_url.text.txt

    but that doesnt help much. i even tried

    text=_loadvariables.text.txt


    the problem is that i dont know how to do it and i tried almost everything but i dont know flash very well and i dont have a handbook. HOW DO I DO IT PLEASE HELP?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Copenhagen, DK
    Posts
    231
    Rep Power
    14
    Doubleclick the frame you where the dynamic textfield "text" is placed, and set action for the frame to

    loadVariablesNum ("text.txt", 0, "GET");


    In your textfile:

    _root.text=
    this is the text you want to get loaded.


    that should work.

IMN logo majestic logo threadwatch logo seochat tools logo