Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
apocalipsis19 #1
Image Path Through A XML File Issue
Hello Community:
I am not a flash wiz, rather I am a coldfusion developer. I have attached a
flash banner that reads two attributes from a XML file: image and link. Image
is the image that my flash movie will display and link is the link that will be
open if the user click on the banner. I have the file banner.html which is has
the follwoing code:
<!-- Flash Rotator -->
<html>
<body>
<div style="width:550px;height:160px;">
<div id="flashcontent">
<script type="text/javascript"
src="/cigars/include/FlashBanner/swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject("/cigars/include/FlashBanner/banner.swf",
"mymovie", "550", "160", "8");
so.addVariable("xmlPath", "/cigars/include/FlashBanner/data.xml");
so.addParam("menu", "false");
so.addParam("wmode", "opaque");
so.write("flashcontent");
</script>
</div>
</div>
</body>
</html>
<!-- End Flash Rotator -->
Then I have a XML file that has the following code:
<?xml version="1.0" encoding="UTF-8"?>
<Banner alignButtonsLeft="no" alignTextTop="no" autoPlay="yes"
bannerBackgroundColor="000000" bannerHeight="160" bannerWidth="550"
imageRandomizeOrder="no" imageResizeToFit="yes" showBackButton="no"
showNextButton="no" showNumberButtons="no" showNumberButtonsAlways="no"
showNumberButtonsAscending="no" showNumberButtonsHorizontal="no"
showPlayPauseOnTimer="no" showTimerClock="no" textAreaWidth=""
textBackgroundBlur="true" textBackgroundColor="000000"
textBackgroundTransparency="20" textColor="" textLetterSpacing="-0.5"
textLineSpacing="0" textMarginBottom="5" textMarginLeft="12" textSize=""
transitionBlur="yes" transitionDelayTimeFixed="5"
transitionDelayTimePerWord=".5" transitionRandomEffects="yes"
transitionSpeed="5" transitionType="1">
<item buttonLabel="" delay=""
image="http://www.url.com/cigars/images/weeklysale/RPC.jpg"
link="http://development.url.com/cigars/search/sr.cfm/st/1/bc/RPC/cm_sp=Home%20P
age-_-Weekly%20Banner-_-RPC" target="_self" textBlend="no"><!--<![CDATA[FAMOUS
DOMINICIAN SELECTION 1000.<BR>This is one <font color='#FFCC00'>sweet</font>
cigar.
]]>--></item>
<item buttonLabel="" delay=""
image="http://www.url.com/cigars/images/banners/macanudo_allstars.jpg"
link="http://www.url/cigars/search/sr.cfm?st=macallstar" target="_self"
textBlend="no"><!--<![CDATA[Go on a <font color='#FFFF00'>FRENZY</font><BR>and
pick out your favorite 5 cigars.
]]>--></item>
</Banner>
One thing that I noticed was that if the images reside in the same location as
my files then the images get displayed but if the images are in different
locations they don't get displayed. My images could even be in different
servers. Any thoughts? Someone having the same problem?
Thanks!
Ysais.
apocalipsis19 Guest
-
php include / image path
I have a site that uses php includes and i need to make those editable. The text is not the problem, I can tell the users to access the pages via ... -
UNC Path Issue
Anyone come across an issue where having IIS set to a UNC Path works for htm files but not for cfm files? I'm using Win2003/IIS6 with MX7. I'm able... -
DMXzone Smart Image Processor .tif file issue
I'm using the DMXzone ASPupload & smart image processor. I'm having an issue creating thumbnails from .tif files. All other formats work well. I've... -
Class Path Cold Fusion Administrator Issue
I tried to add a class path for an evaluating tag from Java and JVM of Cold Fusion Administrator. page. I am running MX 6.1 in Unix Sun Solaris. ... -
RubyCocoa 0.4.0 path [?] Issue
Any Mac OS X/Ruby users out there? Okay...I like the command line but I'm itching for a GUI. I'm using Mac OS X 10.2.6 and Ruby 1.6.8 (compiled... -
xchanin #2
Re: Image Path Through A XML File Issue
If you're able to see and load the images when they're in the same place as
your .swf, your problem could be a cross-domain issue, assuming the images
reside on a different domain than the one your .swf is on.
xchanin Guest



Reply With Quote

