_root.loadVariables

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old Nov 12th, 2005, 14:04
New Member
Join Date: Nov 2005
Age: 25
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
_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
Reply With Quote

  #2 (permalink)  
Old Nov 28th, 2005, 10:03
New Member
Join Date: Nov 2005
Location: .:::.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Tags
_rootloadvariables

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 01:40.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43