# Want to place advanced color behavior in XML file

**URL:** <https://forum.kirupa.com/t/want-to-place-advanced-color-behavior-in-xml-file/296929>\
**Category:** flash\
**Created:** [September 22, 2009, 9:10pm UTC](https://forum.kirupa.com/t/want-to-place-advanced-color-behavior-in-xml-file/296929 "2009-09-22T21:10:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisdegrote](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Post date:** [September 22, 2009, 9:10pm UTC](https://forum.kirupa.com/t/want-to-place-advanced-color-behavior-in-xml-file/296929/1 "2009-09-22T21:10:40Z")

</div>

Hey all,

I’ve got a question about how to integrate advanced color/radial effects. I’m new to XML and got not a clue how to integrate the one code in the other.  
Hopefully somebody can point out to me how to integrate the effects in my config file

This is my config file

```auto

<?xml version="1.0" encoding="UTF-8"?>
<template_config bgColor="0x000000" handlerOpacity="100" textColor="0xFFFFFF" logoUrl="logo.png" defaultBg="kandidaten.swf" bgMusic="false" startSound="false">
<nameOfYourWebsite>website</nameOfYourWebsite>
	<rubs>
		<rub>
			<title>home</title>
			<folder>modules/home/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>html text</title>
			<folder>modules/text/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>news</title>
			<folder>modules/news/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>team</title>
			<folder>modules/team/</folder>
			<background></background>
		</rub>
		<rub>
			<title>mini slideshow</title>
			<folder>modules/mini_slideshow/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>multimedia gallery</title>
			<folder>modules/multimedia_gallery/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>your swf</title>
			<folder>modules/swf/</folder>
			<background>kandidaten.swf</background>
		</rub>
		<rub>
			<title>links</title>
			<folder>modules/links/</folder>
			<background></background>
		</rub>
		<rub>
			<title www="http://www.des.net">external link</title>
			<folder></folder>
			<background></background>
		</rub>	
		<rub>
			<title>contact</title>
			<folder>modules/contact/</folder>
			<background>opdrachtgeverstest.swf</background>
		</rub>
	</rubs>
	<bottom_menu>
		<twitter>tidamz</twitter>
		<rss>http://feeds.feedburner.com</rss>
	</bottom_menu>

</template_config>

```

This are the effects I want to import

```auto

<environments>
	<environment audio="../swf">
		<name>home</name>
		<upperalpha>100</upperalpha>
		<loweralpha>50</loweralpha>
		<upperscale>100</upperscale>
		<lowerscale>100</lowerscale>
		<clusters>10</clusters>
		<clustermin>3</clustermin>
		<clustermax>5</clustermax>
		<backgroundcolorouter>0x3003300</backgroundcolorouter>
		<backgroundcolorinner>0x99cc00</backgroundcolorinner>
		<backgroundcolorfilltype>linear</backgroundcolorfilltype>
		<shape colortype="monotone">
			<name>Petal</name>
			<color>FFFFFF</color>
			<color>ccff99</color>
		</shape>
	</environment>

```
