User Tag List

Results 1 to 6 of 6

Thread: one actione when the sample file is finished??

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    one actione when the sample file is finished??

    what must I do for having an action when a sample.wav is finished?
    es:
    when I press the key 1, the program MMF2 makes to play the sample SOUND EFFECT.wav
    very simple action, but as I do to have an action when this file finishes the sound?

    I cannot use the time, I must have as reference the duration of this file, only at the end of her reproduction, I can have an action.

    HELP ME PLEASE!!!



  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: one actione when the sample file is finished??

    When you play your first sound set a flag or a global value at that time.

    Then make a second event with the following

    Conditions
    Check for the value you set above
    +
    Is specific sample not playing

    Actions:
    Reset flag or value to beginning state or value
    Play your second sound file

    Let me know if you need an example file of this.

  3. #3
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: one actione when the sample file is finished??

    +Is specific sample not playing
    +only one action when event loops

    maybe.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: one actione when the sample file is finished??

    NO sorry, but this solution it puts the sound in play as soon as the frame is in execution.

    if I make this event:

    MY EFFECT is not playng +
    Only one action when event loop

    --- play sample file MY EFFECT 2

    The Sound PLAY EFFECT 2 Play As soon as I Perform The Level Because at that time That SAMPLE NoT he is Playing. IF I ADD A CONDITION WITH A VARIABLE PLANNED ON THE VALUE 1 THIS SAMPLE NON IT PLAYS UP TO WHEN THE VARIABLE HAS NOT ALSO REACHED UNFORTUNATELY THE VALUE 1 MA WITH THIS SOLUTION IT DOESN'T WORK

    AS THIS EXAMPLE:


    MY EFFECT is not playng +
    Only one action when event loop +
    global value h=1

    in this case the sample doesn't play thanks to the variable that works as switch, but when I go to put the varying H to the valore1, the sample it doesn't play, because?





  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: one actione when the sample file is finished??

    Is this what you want?

    www.flyinvinteractive.com/one_sample_after_another_one.mfa

    Otherwise I can't understand what your trying to do.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleXNA Export Module
    daniele's Avatar
    Join Date
    Nov 2007
    Location
    italy
    Posts
    413
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: one actione when the sample file is finished??

    THANKSSSSSSSSSSSSSSSSSSSSS A LOT
    :-)))))

    WORK FINE

Similar Threads

  1. play sample file name
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th December 2011, 12:21 PM
  2. How know when an writable text file is finished.
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st June 2008, 06:13 PM
  3. Play sample file bug?
    By Jarzka in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 10th July 2007, 04:24 PM
  4. EasyXML - file finished parsing?
    By spyfrog in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th April 2007, 07:10 PM
  5. play sample when another sample has finished?
    By edward in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th October 2006, 02:55 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
  •