dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Want to place advanced color behavior in XML file

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    21

    Want to place advanced color behavior in XML file

    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
    Code:
    <?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
    Code:
     
    <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>

  2. #2
    Junior Member
    Join Date
    May 2010
    Posts
    1
    hello! i nedd this function for my site. if you can, please, give me the fla file of this project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center