Solved

editing flash file \ xml

Posted on 2011-03-07
7
537 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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 viewer will learn how to dynamically set the form action using jQuery.
The goal of the tutorial is to teach the user how to how to record live broadcast.

776 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