Hi,
as you probally know, a corporate style uses a series of colours. Usually 3 to 5. I want these colours to come appear in the tour in the form of tooltip, bordercolor, fontcolor etc. I was thinking, Instead of filling in 30 attributes of different plugins, scattered over several xml. Is it possible to grab a serie of variables from a global xml and use those colors? That way I could change the whole style of a tour in a few clicks. I now use notepad++ find and replace in all open documents to alter the style.
global.xml
<corporatestyle
color1="0xFFFFFF"
color2="0x000000"
/>
then somewhere else:
<textstyle textcolor="color2" backgroundcolor="color1" />
<plugin name="locationmark" url="../plugins/textfield.swf" html="[p]Location 1[/p]" css="p{color:color2; font-family:Arial; font-size:12; text-align:right; }" background="false" border="false" height="26" align="bottom right" x="13" y="6" keep="true" />
Is this possible, and if yes, whats the correct syntax? Alsoo what would you recommend to store the variables in? a empty plugin, a data object or custom object? they need to be carried over to every xml, so it must support keep="true" and im not sure if the data object or custom object cant carried through the next xml with MERGE.