xboxscene.org forums

OG Xbox Forums => Official MediaXMenu (MXM) Forum => Dashboard Forums => MXM Developer/Skinner Forum => Topic started by: bbagnall on October 27, 2003, 01:28:00 PM

Title: Random Image
Post by: bbagnall on October 27, 2003, 01:28:00 PM
I'm trying to make a skin that will randomly select one of 5 movies to play. Here is the code I have in MXM_Skin.xml for the resource:

 <Resource Type="Image" Name="MainMovie">
   <RandomSource>True</RandomSource>
   <File>Mediamoviea.wmv</File>
   <File>Mediamovieb.wmv</File>
   <File>Mediamoviec.wmv</File>
   <File>Mediamovied.wmv</File>
   <File>Mediamoviee.wmv</File>
 </Resource>

I thought this would be all I would have to do to make it choose one randomly, but it just plays the first file each time. Anyone know how to make this work?
Title: Random Image
Post by: BenJeremy on October 27, 2003, 02:03:00 PM
I'm looking into the issue.