User Tag List

Results 1 to 2 of 2

Thread: Random Sample not playing

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random Sample not playing

    Hello,
    In my main MMF folder, which is just called New Folder on my desktop, I have another folder called "o". I created an event where, when an animation of Object Y is playing, and when the frame of that animation is 8, a random sample should be played. I told it to this this only once when action loops.


    So, here's the code I put in after telling it to play a sample file on a specific channel:
    "./o/o"+Str$(Random(10)+1)+".wav"
    so I put "./l/" to indicate that folder called "o", and I put another "l" so it would choose a random sample out of o1-o12 (o1-o12 are in the "o" folder).

    For some reason though, the samples simply do not play. Miht anyone have any recommendations?
    Thanks very much.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Sample not playing

    It looks all right to me, at a glance. I'd suggest putting the same expression into an Edit box to make sure that the path looks as you expect, and performing another (arbitrary) action in that event so that you can see that it's definitely being activated.

Similar Threads

  1. Playing a music sample
    By TheGreatSolano in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 21st June 2011, 11:17 AM
  2. Sample playing on every frame
    By Heclegar in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th January 2011, 12:02 PM
  3. Does not know when sample is not playing
    By OldManClayton in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 19th March 2010, 07:49 AM
  4. Playing with random sample frequency
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th July 2008, 04:52 PM
  5. playing a Random Sample- possible?
    By mussashimits in forum The Games Factory 2 - Technical Support
    Replies: 12
    Last Post: 15th April 2007, 11:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •