Hi Folks...
Well my solution doesn't really work and my time's running up...
I got two timelines: Preloader Configurator
In the Preloader [frame 2] I've got a String-Variable [lang] with the name
of the default XML-File [conf_de.xml].
In the Configurator [frame 2] I've got the XML-onLoad()-declaration and
there I load the XML-Object with a defaultlanguage (for starters) -
lang_xml.load(lang);
Then I've got my lang-Buttons on which I can click (onRelease()). This
function gets the required lang-File-string (i.e. conf_en.xml for english)
and loads then that file - _root.lang_xml.load(_root.lang); // _root
because my Buttons are in another mc!
Can someone help me out here?
Cryzto
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Cristo @
cryzto.ch
Gesendet: Donnerstag, 28. Juni 2007 12:51
An: flashcoders@chattyfig.figleaf.com
Betreff: AW: [Flashcoders] XML.load() and then build some buttons
Hi Folks...
I think I just had an Ilumination...
I think all I just have to do is to tell my onLoad()-function:
gotoAndPlay(next Frame) and in my onLoad-Frame: stop()...
Man sometimes, when u're tired over days, ur brain doesn't really perform..
Thnx anyway... I'll answer again if it shouldn't work
Cryzto
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Cristo @
cryzto.ch
Gesendet: Donnerstag, 28. Juni 2007 12:23
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] XML.load() and then build some buttons
Hi Folks
Im working on a configurator and now Ive got an severe problem and not
much time left at all to solve it!
In my preloader I load an XML-File with some multi-language-elements.
In my configurator are some movieclips with buttons (-Button.label),
Accordions (labels too), TextFields and TextAres inside
Now my problem is that when the configurator (and the preloader too) is
running, Id like to dynamically change all those text-Fields but the
XML-File takes its time to parse and fill up some Arrays ive created for my
language-update-purpose, so that when I want to change/create those
text-fields, my configurator doesnt know whats inside these Arrays
it
means, that the XML wasnt finished parsing yet
.
Can someone please help me???
Thnx
cryzto
--
Ich verwende die kostenlose Version von SPAMfighter für private Anwender,
die bei mir bis jetzt 1065 Spammails entfernt hat.
Bezahlende Anwender haben diesen Hinweis nicht in ihren E-Mails.
Laden Sie SPAMfighter kostenlos herunter: http://www.spamfighter.com/lde
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.12/878 - Release Date: 28.06.2007
17:57
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com