Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: Adobe Flash ForumAdobe Flash TutorialsAdobe Flash Video TutorialsWeb Streaming ForumAdobe Flash

Loading an external TXT file

Cow Forums : Adobe Flash
Loading an external TXT file
by joseph Wilkins (joseph wilkins) 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


Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]