Announcement

Collapse
No announcement yet.

MP3.Play OnPlay

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MP3.Play OnPlay

    I'm trying to figure out a way to do a SubRoutine with my Actions. I seem to be doing a lot of cutting and pasting of the same Actions into several buttons. The only things that really change are some seed variables to the Actions.

    What I've tried is loading a silent MP3 and then use the MP3.Play action to fire the OnPlay Action of the MP3 Player. Within that Action I do my core manipulation.

    It seems to work very well, but my biggest question is: Does the OnPlay Action fire and process all the way through even if the MP3.Stop Action is called immediately after the MP3.Play?

    Or, is there a way to do a subroutine already that I am overlooking??

  • #2
    Re: MP3.Play OnPlay

    Once fired, the event's actions will go until completion. So your method should work. Functions are something that we do plan on getting into a future major release.

    Comment


    • #3
      Re: MP3.Play OnPlay

      <Recovered Memory>Conjunction junction what's your function?</Recovered Memory>

      Corey Milner
      Creative Director, Indigo Rose Software

      Comment


      • #4
        Re: MP3.Play OnPlay

        Cool, then I should be able to set a variable and use the GOTO Action with the Return Action to branch out. Do you think there would be any BIG performance hits using this method? Is there some other object that has a similar Action that would take less overhead?

        Comment

        Working...
        X