Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : text from external txt file


malspach
3/6/2004 10:26:23 PM
when my page is opened, it opens a second page as an interface on level 100,
therefore it is always above everything else, that page loads up another swf
file at level 2, in the correct spot and all, but the problem is this, it has a
dynamic text box that i cant get it to load the text into, the dynamic text
boxes variable is homeDisplay , the external file is called homepage.txt and is
located in the text/ directory which is inside the directory the swf is, so the
swf files themselves are in public_html/index.swf etc, and the text files are
in public_html/text/homepage.txt etc.. the files seem to load onto level 2 as
they should.. but it comes up saying undefined, you can see it here:

http://users.1freeworld.net/~ac1/index.swf

on the homepage.swf that is loaded that is requiring the text, the action
scrip is set liek this:

loadVariablesNum("/text/homepage.txt", 2)
homeDisplay = homeText;

inside of the homepage.txt file it reads like this:

homeText=<HTML><BODY>

this is a test of the dynamic test functions on this page, please ignore
anything you read here ;)
</BODY></HTML>

can anyone tell me what is wrong here?
kglad
3/7/2004 1:21:23 AM
AddThis Social Bookmark Button