Using stop() on Flash movie kills sound - why?

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Using stop() on Flash movie kills sound - why?

    Hi,

    I have a flash movie which I control using stop() and play(). That works
    fine, but when I change the Flash movie from stop() back to play() the sound
    does not restart, as if it has been muted. I am not sending any sound or
    volume commands.

    I can "hack" a fix by loading a different movie into my sprite and then
    loading the original movie again. This seems to reset the sound, but it's
    pretty messy.

    Question is, why does this happen and how can I resolve it? I have scoured
    the web and tried all the different methods of setting the volume on my
    Flash move, but none of them work.

    Any ideas / solutions would be gratefully received.

    Thanks

    Mark


    Mark Cunningham Guest

  2. Similar Questions and Discussions

    1. How to stop flash movie through shockwave flash externAPI
      Hello, everyone! I'm trying to to play flash movie and stop playing from a c++ application using IShockwaveFlash interface. A movie can any movie...
    2. FF 1.5 Flash 8 videos stop playing/no sound
      I've been having this issue at various site, where the video will load and play for 2-8 seconds then stop and not play anymore, i've increased the...
    3. Stop movie sound
      Is it imposible to stop sound in one movie? thanks "/
    4. can't stop movie using flash mx 2004
      Here is my situation: I have two movie clips, one called content_videoscreen, which in fact is the screen where the second movie clip plays. I...
  3. #2

    Default Re: Using stop() on Flash movie kills sound - why?

    When in the flash movie are you teling the sound to start? If it's before
    the point where you stop the movie then it won't start up again because it
    hasn't been told to (if you get what I mean).

    AstrO

    "Mark Cunningham" <mark.learningcurve@blueyonder.co.uk> wrote in message
    news:br2n3u$ret$1@forums.macromedia.com...
    > Hi,
    >
    > I have a flash movie which I control using stop() and play(). That works
    > fine, but when I change the Flash movie from stop() back to play() the
    sound
    > does not restart, as if it has been muted. I am not sending any sound or
    > volume commands.
    >
    > I can "hack" a fix by loading a different movie into my sprite and then
    > loading the original movie again. This seems to reset the sound, but it's
    > pretty messy.
    >
    > Question is, why does this happen and how can I resolve it? I have
    scoured
    > the web and tried all the different methods of setting the volume on my
    > Flash move, but none of them work.
    >
    > Any ideas / solutions would be gratefully received.
    >
    > Thanks
    >
    > Mark
    >
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/2003


    AstrO Guest

  4. #3

    Default Re: Using stop() on Flash movie kills sound - why?

    Hi AstrO

    I think I get what you mean. The Flash movie was recorded by Camtasia, so
    presumably it is "told" to start playing the sound at the beginning of the
    movie? And if that's the case, if I stop and then restart the movie halfway
    through then it doesn't get the sound command at the beginning of the movie?
    This right?

    If so, any way around it?

    Thanks

    Mark


    "AstrO" <astro_beta@bigpond.com> wrote in message
    news:br3b61$ps9$1@forums.macromedia.com...
    > When in the flash movie are you teling the sound to start? If it's before
    > the point where you stop the movie then it won't start up again because it
    > hasn't been told to (if you get what I mean).
    >
    > AstrO
    >
    > "Mark Cunningham" <mark.learningcurve@blueyonder.co.uk> wrote in message
    > news:br2n3u$ret$1@forums.macromedia.com...
    > > Hi,
    > >
    > > I have a flash movie which I control using stop() and play(). That
    works
    > > fine, but when I change the Flash movie from stop() back to play() the
    > sound
    > > does not restart, as if it has been muted. I am not sending any sound
    or
    > > volume commands.
    > >
    > > I can "hack" a fix by loading a different movie into my sprite and then
    > > loading the original movie again. This seems to reset the sound, but
    it's
    > > pretty messy.
    > >
    > > Question is, why does this happen and how can I resolve it? I have
    > scoured
    > > the web and tried all the different methods of setting the volume on my
    > > Flash move, but none of them work.
    > >
    > > Any ideas / solutions would be gratefully received.
    > >
    > > Thanks
    > >
    > > Mark
    > >
    > >
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/2003
    >
    >

    Mark Cunningham Guest

  5. #4

    Default Re: Using stop() on Flash movie kills sound - why?

    You could always try telling the flash movie to play the sound again using
    tell target. For example if the sound was in a movieclip then you could tell
    that movie clip in the flash movie to start again.

    AstrO

    "Mark Cunningham" <mark.learningcurve@blueyonder.co.uk> wrote in message
    news:br434o$rmu$1@forums.macromedia.com...
    > Hi AstrO
    >
    > I think I get what you mean. The Flash movie was recorded by Camtasia, so
    > presumably it is "told" to start playing the sound at the beginning of the
    > movie? And if that's the case, if I stop and then restart the movie
    halfway
    > through then it doesn't get the sound command at the beginning of the
    movie?
    > This right?
    >
    > If so, any way around it?
    >
    > Thanks
    >
    > Mark


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/2003


    AstrO Guest

  6. #5

    Default Re: Using stop() on Flash movie kills sound - why?

    For anyone that's interested, I got a solution by not using stop() and
    play(). Basically, I used a boolean variable to determine whether or not
    the video is playing or is paused. When the user presses stop, I store the
    Flash movie's current frame and then on exit frame keep setting the Flash
    movie's frame to this value until the movie is restarted. This has the
    effect of stopping the movie, but does not clear the Flash audio.

    Mark


    "AstrO" <astro_beta@bigpond.com> wrote in message
    news:br5jr7$fcm$1@forums.macromedia.com...
    > You could always try telling the flash movie to play the sound again using
    > tell target. For example if the sound was in a movieclip then you could
    tell
    > that movie clip in the flash movie to start again.
    >
    > AstrO
    >
    > "Mark Cunningham" <mark.learningcurve@blueyonder.co.uk> wrote in message
    > news:br434o$rmu$1@forums.macromedia.com...
    > > Hi AstrO
    > >
    > > I think I get what you mean. The Flash movie was recorded by Camtasia,
    so
    > > presumably it is "told" to start playing the sound at the beginning of
    the
    > > movie? And if that's the case, if I stop and then restart the movie
    > halfway
    > > through then it doesn't get the sound command at the beginning of the
    > movie?
    > > This right?
    > >
    > > If so, any way around it?
    > >
    > > Thanks
    > >
    > > Mark
    >
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/2003
    >
    >

    Mark Cunningham Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139