Solved

editing flash file \ xml

Posted on 2011-03-07
7
525 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

758 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

22 Experts available now in Live!

Get 1:1 Help Now