[thelist] Tweak XML file for SWF File - Background Color
Rich Points
rich at richpoints.com
Fri Sep 23 12:54:37 CDT 2005
Howdy,
I recently bought a Flash map of the United States and I need to
customize the xml. I only have the swf file I didn't get the .fla file
with the purchase.
The xml is currently set up where the default color of the state is an
alpha percentage which is written like this
defaultAlphaPercent="70"
and then there is an array with the colors you can choose from.
When you mouse over one of the states the color renders at 100% alpha.
I would like this to function in the opposite direction where the mouse
over renders the alpha value and the default is 100% alpha. It would
also be fine to be able to set the default color and the hover color,
the alpha isn't crucial.
Can I tweak this xml to get this functionality? Here is a page with the
map graphic-arts-schools.com/index.php
<http://www.graphic-arts-schools.com/index.php>
Here is the code, note that I'm not using the tool tip functionality
<Constants>
<MainSettings
globalTooltipsOn="0"
globalButtonClicksOn="1"
buttonAbbrOn="1"
thinOutlinesOn="1"
thickOutlinesOn="0"
thinOutlinesColor="000000"
thickOutlinesColor="000000"
mainDescriptionTextBorderOn="0"
mainDescriptionTextBorderColor="660000"
mainDescriptionTextBackgroundOn="1"
mainDescriptionTextBGColor="FFFFFF"
tooltipBorderOn="1"
tooltipBorderColor="000000"
tooltipBackgroundOn="1"
tooltipBGColor="DDDDDD"
defaultAlphaPercent="70"
backgroundColor="FFFFFF"
backgroundImagePath="" />
<MainDescription>
<![CDATA[<p align="center"><font size="+2"><strong>Find A
Graphic Arts School</strong></font></p>]]>
</MainDescription>
<ColorArray>
<Color id="0" hex="999900" />
<Color id="1" hex="FFCC33" />
<Color id="2" hex="CF7430" />
<Color id="3" hex="339900" />
<Color id="4" hex="993300" />
<Color id="5" hex="990033" />
<Color id="6" hex="666666" />
<Color id="7" hex="997755" />
<Color id="8" hex="AA00CC" />
</ColorArray>
</Constants>
More information about the thelist
mailing list