Solved

editing flash file \ xml

Posted on 2011-03-07
7
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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.
The viewer will learn how to count occurrences of each item in an array.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

630 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