August 22, 200619 yr I am trying to print a set and print a string using xml. ie. you click different buttons and the string diplayed changes. Is there a way to set strings using "STRING" (>L:Mode)? Or should i be using some complicated if els statements?Thanks
August 23, 200619 yr XML for FS9 can't handle strings but the best way to deal with this is to use the FORMATTED TEXT tag.Formatted text is probably the most powerful tag in FS9's XML but it uses a different syntax. The bad news is that it takes a day or so to get the hang of it. The good news is that once you know it you can circumvent a lot of limits in the FS9 XML tag set.In this case, you could use a FORMATTED TEXT setup to run a switch and have that switch handle your text selection. The "images only" limitation only applies to the SELECT CASE tags, not the SELECT CASE syntax within formatted text... which can be used to select images, macros and other things.It still won't store strings but by using formatted text you can use a switch rather than a tangled, nested if / else set.Do a forum search and be ready to invest a day or so learning... it's well worth the effort.Scott / Vorlin
Create an account or sign in to comment