Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 11-10-2002, 07:34 PM   #1
onlyrobot
Registered User
 
Join Date: Jul 2002
Location: brooklyn, new york
Posts: 6
Send a message via AIM to onlyrobot
Default problem loading variables into dynamic text fields

Hi everyone. I'm trying to load some text from a .txt file into a dynamic text field (for use as a "news" section of my site) and it isn't working.

I have the dynamic text field named "newstext" and the text file is called "news.txt". It's always in the same directory as my .swf.

In the text file itself, it says:

&thetext=test!


In frame 1 of the layer that newstext, the text field is on, the actionscript is:

loadVariables("news.txt", _root)
newstext.text = _root.thetext

It just doesn't work. I don't understand. Any suggestions would be greatly appreciated, thanks much.

Noah
onlyrobot is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:35 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.