xboxscene.org forums

Author Topic: Random Image  (Read 46 times)

bbagnall

  • Archived User
  • Full Member
  • *
  • Posts: 171
Random Image
« 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?
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Random Image
« Reply #1 on: October 27, 2003, 02:03:00 PM »

I'm looking into the issue.
Logged