kendry Posted August 13, 2013 Posted August 13, 2013 Hi, I've banners rotator on my shop which uses xml files. How to make the banners displayed random? My xml file: <?xml version="1.0" encoding="UTF-8" ?> <flash_parameters copyright="socusoftFSMTheme"> <preferences> <golbal> <basic_property movieWidth="478" movieHeight="270" decoration="" html_title="Title" loadStyle="Bar" hideAdobeMenu="false" socusoftMenu="false" photoDynamicShow="true" enableURL="true" transitionArray=""/> <title_property photoTitle="false" photoTitleX="5" photoTitleY="5" photoTitleSize="15" photoTitleFont="Verdana" photoTitleColor="0xffffff"/> <music_property path="" stream="true" loop="true"/> <photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/> <properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" 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"/> </golbal> <thumbnail> <basic_property showPrview="false" prviewWidth="100" prviewHeight="75" lineColor="0xffffff" numberColor="0xffffff" hovrColor="0xff0000" prviewBorderColor="0xffffff"/> </thumbnail> </preferences> <album> <slide jpegURL="thumbs/Newsletter_06.jpg" d_URL="slides/Newsletter_06.jpg" transition="36" panzoom="1" URLTarget="2" phototime="6" url="dog-feed-c-1306090122383_812.html" title="" width="478" height="250"/> <slide jpegURL="thumbs/Newsletter_07.jpg" d_URL="slides/Newsletter_07.jpg" transition="36" panzoom="1" URLTarget="2" phototime="6" url="toys-c-1361526677523.html" title="" width="478" height="250"/> <slide jpegURL="thumbs/Newsletter_Newsletter_08.jpg" d_URL="slides/Newsletter_08.jpg" transition="36" panzoom="1" URLTarget="2" phototime="6" url="advanced_search_result.php?keywords=agrifarm&x=-769&y=-101&inc_subcat=1&search_in_description=1" title="" width="478" height="250"/> </album> </flash_parameters>
MrPhil Posted August 13, 2013 Posted August 13, 2013 Is the tag really "golbal" and not "global"? Is it the three "slide" JPEGs you want to appear in random order, and not sequentially? I'm not familiar with Flash, but my guess would be that there would be a parameter for the <album> tag, or a subtag to put under <album>, that would control the order of appearance. Read the documentation is all I can suggest.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.