FORUMS: list search recent posts

Loading an external TXT file

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
joseph Wilkins
Loading an external TXT file
on Aug 15, 2008 at 10:33:40 pm

So I am pulling my hair out here...

I have a flash project where I am trying to load and external txt file.

I think the problem is incorrrect addressing, but I can't seem to figure out why...

If I put my text box on the main timeline, and run this action:

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

It all works... the text loads into the text field.

The problem is... I need it to load into a movie clip that's on the main timeline... not the main timeline itself.

I have tries multiple ways to address it, am get no errors when I run this:

loadVariablesNum("text.txt", this.MovieClip1);
stop();

But instead of loading the text into the text box, it makes a new browser window open with the text in it.


PLEASE HELP! :P

Thanks


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]