-
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.
-
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.
-
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.
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|