This is a discussion on "_root.loadVariables" within the Flash & Multimedia Forum section. This forum, and the thread "_root.loadVariables are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
_root.loadVariables
|
||
| Notices |
![]() |
|
|
LinkBack (1) | Thread Tools |
|
|||
|
_root.loadVariables
--------------------------------------------------------------------------------
Hello all, can somebody help... I want to load text into swf with _root.loadVariables("eng.txt"); and in the var Dynamic text box: _root=home in the eng.txt i put : &home=Test home This actually works but now I have the problem that i want give a choice between english and french in the same movie. Does anyone know a script that there will be a choice in languages in the same movie with var eng.txt and fr.txt??? Please help mee...?!? Burbie |
|
|
|
|||
|
Re: _root.loadVariables
Create a global variable within the flash, _root.language or similar, default it to whichever. above the script for loading the variable put in an if statment, ie if _root.language ="french" loadVariables lala.txt _root.language ="english" loadVariables blah.txt.
On the button to select languages, repeat the if/load script. This will refresh the content to the new language. That should do it. |
![]() |
| Tags |
| _rootloadvariables |
| Thread Tools | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.webforumz.com/flash-and-multimedia-forum/3764-_root-loadvariables.htm
|
||||
| Posted By | For | Type | Date | |
| ÀÏÎÐÒ: Lanni Burbie | Post #1 | Refback | Apr 1st, 2007 05:02 | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LoadVariables from text file into Actionscript. | Andy K | Flash & Multimedia Forum | 5 | Mar 26th, 2008 21:09 |