Solved

editing flash file \ xml

Posted on 2011-03-07
7
539 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

820 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