Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-29-2002, 05:53 AM   #1
belzarrath
Registered User
 
Join Date: Mar 2002
Posts: 3
Default loading .txt files

I am wanting to load different .txt file into the same movie. By using the loadvariables action. I have no problem loading the .txt when opening the movie, but using the same movie and using buttons to load different txt files in it has been a problem.
belzarrath is offline   Reply With Quote
Old 03-29-2002, 08:23 AM   #2
IFZen
Even graphists R objects
 
IFZen's Avatar
 
Join Date: Jun 2001
Location: Paris
Posts: 273
Default

Hi belzarrath,

You should'nt have problem with loadVariable actions. When you use it into a button, code like this :

this.loadVariables(url);

Will load the file into the clip that embed your button (into _root if your button is placed directly on the stage). Then at the end you should have your loaded variables defined where you loaded them. You also can load your variables elsewhere by applying the action to the recipient clip :
_root.mc1.loadVariables(url);
will load datas into the _root.mc1 MovieClip.

I had at a time some problems with multiple concurent loads and it happend that some connections get lost. If it is your case, try to load your different files one by one. Use for that a clip that will trigger the data event to know when you can launch a new load.

Hope it helps,
BZen
__________________
Oh Lord, shut me down !
IFZen is offline   Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading external .txt or .html files inside of a Text Area using a button to trigger? ryan@eventstrea Components 5 08-31-2005 12:32 AM
loading specific .txt files into an .swf... carwash ActionScript 2.0 1 01-27-2005 08:48 AM
loading a .txt file. It won't work anatole Server-Side Scripting 4 04-02-2004 11:32 AM
files not loading from the web or locally yorkeylady Other Flash General Questions 1 03-12-2003 06:53 PM
Dynamic Loading of MPEG files baburaj ActionScript 1.0 (and below) 0 01-31-2003 09:30 AM


All times are GMT. The time now is 07:38 PM.

///
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.