Solved

editing flash file \ xml

Posted on 2011-03-07
7
533 Views
Last Modified: 2012-05-11
I am working on a flash slide show file on the website www.greenwoodridge.com .  I added a text description to the top of the photos (except the first slide)  I believe this text is controlled by the slides.xml file.  I have attached the code below.  I want to make the description text larger.  Can I add a font size to the xml file to increase the font?  If so, please provide the code and the required location in the file.
<?xml version="1.0" encoding="UTF-8" ?>
<flash_parameters copyright="socusoftFSMTheme">
    <preferences>
        <global>
            <basic_property movieWidth="530" movieHeight="360" startAutoPlay="true" backgroundColor="0x999999" continuum="true" html_title="Title" loadStyle="Bar" socusoftMenu="false" hideAdobeMenu="false" photoDynamicShow="false" enableURL="false" transitionArray=""/>
            <title_property photoTitle="false" photoTitleX="5" photoTitleY="15" photoTitleSize="14" photoTitleFont="Verdana" photoTitleColor="0x3c3c3c"/>
            <music_property path="" stream="true" loop="true"/>
            <photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
            <properties enable="true" backgroundColor="0xffffff" backgroundAlpha="100" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
        </global>
        <control>
            <basic_property showControl="false" showControlX="-30" showControlY="460" showPreviousButton="res/previous01.gif" showPreviousButtonX="50" showStopButton="res/stop01.gif" showStopButtonX="97" showPlayButton="res/play01.gif" showPlayButtonX="97" showNextButton="res/next01.gif" showNextButtonX="124" showSoundButtonX="182"/>
        </control>
    </preferences>
    <album>
        <slide jpegURL="thumbs/t_0001.jpg" d_URL="slides/p_0001.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"/>
        <slide jpegURL="thumbs/t_0002.jpg" d_URL="slides/p_0002.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA["Greenwood Ridge Vineyards is producing, bottle for bottle, some of California's finest wines." -Restaurant Magazine]]></slide>
        <slide jpegURL="thumbs/t_0003.jpg" d_URL="slides/p_0003.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA["Greenwood Ridge Vineyards is producing, bottle for bottle, some of California's finest wines." -Restaurant Magazine]]></slide>
        <slide jpegURL="thumbs/t_0004.jpg" d_URL="slides/p_0004.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA["...look for wines by Greenwood Ridge Vineyards, just about everything they produce these days is world-class."  -Coast Magazine]]></slide>
        <slide jpegURL="thumbs/t_0005.jpg" d_URL="slides/p_0005.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA["...look for wines by Greenwood Ridge Vineyards, just about everything they produce these days is world-class."  -Coast Magazine
											  ]]></slide>
        <slide jpegURL="thumbs/t_0006.jpg" d_URL="slides/p_0006.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA["If you have time for only one (winery), stop by the Greenwood Ridge Vineyards tasting room."  -Car & Travel Magazine]]></slide>
    </album>
</flash_parameters>

Open in new window

0
Comment
Question by:northernknight
  • 4
  • 3
7 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35064018
Seeing the xml it seems changing the fonsize in the attribute "cssText" might do the trick.
Though not sure how the flash handles this after parsing.

Warm Regards
Deepanjan Das
0
 
LVL 1

Author Comment

by:northernknight
ID: 35066593
Thanks deep,

I don't think that would do it since those two text colors are bright orange and the other blue.  The text I want to change is black.  I think I would need another piece of code.
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35066658
Okie, that means the cssText is not being used.

So try using the font tag directly within the CDATA and see. It may work provided the description field accepts htmlText format.

Warm Regards
Deepanjan Das
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 1

Author Comment

by:northernknight
ID: 35066740
cdata?  can you give me the code and where?
0
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 35067116
CDATA in the xml :)

Here you go:
<album>
        <slide jpegURL="thumbs/t_0002.jpg" d_URL="slides/p_0002.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="" title="" width="530" height="360"><![CDATA[<font size="12">"Greenwood Ridge Vineyards is producing, bottle for bottle, some of California's finest wines." -Restaurant Magazine</font>]]></slide>
        ....

Open in new window


Warm Regards
Deepanjan Das
0
 
LVL 1

Author Closing Comment

by:northernknight
ID: 35073203
Hey it worked, thanks alot!
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35077404
Great :)

Warm Regards
Deepanjan Das
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now