This project is read-only.

1 image loaded

Aug 3, 2009 at 6:33 AM

For some reason, i'm only getting one image loaded. I'm seeing the image fade out but it comes right back up... Do I have a bug in the settings?

 

I've got a simple slide show. Here's the code:

<object type="application/x-silverlight-2" data="data:application/x-silverlight-2," width="95%" height="600px">

  <param name="background" value="#141414" />

  <param name="source" value="Vertigo.SlideShow.xap" />

  <param name="initParams" value="ConfigurationProvider=XmlConfigurationProvider;Path=../Configuration.xml,DataProvider=XmlDataProvider;Path=../Data.xml"/>

</object>

Here's the Config file:

 

<?xml version="1.0" encoding="utf-8" ?>
<configuration background="#124124">
  <module name="DataProvider">
    <option name="type" value="XmlDataProvider" />
  </module>
  <module name="SlideNavigation">
    <option name="Enabled" value="false" />
  </module>
  <module name="NavigationTray">
    <option name="Enabled" value="false" />
  </module>
  <module name="ToggleAlbumViewButton">
    <option name="Enabled" value="false" />
  </module>
  <module name="ToggleFullScreenButton">
    <option name="Enabled" value="false" />
  </module>
  <module name="SlideDescription">
    <option name="Enabled" value="false" />
  </module>
  <module name="AlbumViewer">
    <option name="Enabled" value="false" />
  </module>
  <module name="ThumbnailViewer">
    <option name="Enabled" value="false" />
  </module>
</configuration>

Here's the data file:

 

<?xml version="1.0" encoding="utf-8" ?>
<data transition="CrossFadeTransition">
  <album title="" description="">
    <slide title="" description="" source="../Portfolio/Bridal/allclose.jpg" />
    <slide title="" description="" source="../Portfolio/Bridal/smaller.jpg" />
  </album>
</data>

 

 

Aug 3, 2009 at 7:48 PM

mmcgehee,

I tried to recreate your issue using the latest code by modifying the XMLConfiguration sample, but was unable to reproduce the error.  I used your configuration.xml and stripped the data file down to just two pictures with no title or description (just like you have) and it worked without a problem.

I don't see anything wrong with what you have shown. assuming you are using the latest version.

Aug 7, 2009 at 6:11 PM

What version are you using? Are you using Silverlight 2 or 3?

Aug 24, 2009 at 12:55 AM

I have the silverlight 3 client installed and have tried to reproduce your issue, unsuccessfully, using both the Silverlight 2 and Silverlight 3 Tools for Visual Studio.  I suggest you start with the samples included in the source code.  I modified the XMLConfiguration sample to mimic what you have above without a problem.