A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Tutorial on using scroll panes with dynamic text

  1. #1
    Member
    Join Date
    Apr 2002
    Posts
    97

    Tutorial on using scroll panes with dynamic text

    I know this is probably easy but I am having trouble loading text from a eternal file off the server. How do I do this with a scroll pane.

  2. #2
    Member
    Join Date
    Dec 2002
    Location
    Auckland
    Posts
    66
    in the first frame on your timeline (or where necessary) use:

    loadVariablesNum("yourText.txt", 0);

    your text field should have a variable name associated with it eg. myText

    in the external text file make sure you refer to your textField variable name:

    myText=blah blah blah

    hope this is of some help. i have just completed a site using external text files and it seems to work ok.

  3. #3
    Member
    Join Date
    Apr 2002
    Posts
    97
    is there a tutorial on doing this I have never loaded anything into a scrollpane I have used code to load thumb nails and pictures but not into a pane. Thanks for the help.

  4. #4
    Member
    Join Date
    Dec 2002
    Location
    Auckland
    Posts
    66
    not sure about a tutorial - i imagine there would be tons if you did a search on this site or even yahoo or something.

    i have been referring to the flash MX bible. quite good.

    i am sure someone will be able to post a link to a suitable tutorial for you.

  5. #5
    Member
    Join Date
    Apr 2002
    Posts
    97
    Doing good so far as to your intructions but in the text file do I need to do anything to the

    myText=name

    or just have it at the top of the text I want in the scroll pane?

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