Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default Repeating SOund

    is there an actionscript command to use.. that will repeat the same sound
    over and over again through out the movie??

    thanx

    Ganesh


    Ganesh Guest

  2. Similar Questions and Discussions

    1. How to override background sound with event sound ?
      Hello everybody... I'm looking for a way to override background sound with event sound Any ideas ? Jean-Francois Publiconcept
    2. sound repeating
      is there an actionscript command to use.. that will repeat the same sound over and over again through out the movie.. my intro for my site.. goes...
    3. Sound problems - new instance of sound starts each time a button is clicke
      Everything in my site works fine, until the navigation buttons are clicked a few times, then the background music restarts and plays over the music...
    4. Mute - toggle sound - single button - streaming sound
      After researching the Flash Boards for awhile and gathering info, no one (that I found) had a quick simple solution for a single button to mute and...
    5. kernel oops playing sound -- sound now wedged
      I used gmplayer (from Christian Marillat's excellent archive) to play a video file this morning. Gmplayer froze, and I had to kill it. Now *no*...
  3. #2

    Default Re: Repeating SOund

    There is no specific actionscript to do this, nor is it necessary. You can
    set a sound to loop an arbitrarily large number of times. How you do this
    depends on your version of Flash, but dig around looking for sound clip
    parameters. Let me know directly if you get stuck; I have examples.

    Ciaran

    "Ganesh" <ganesh@bigpond.net.au> wrote in message
    news:gehvb.19888$aT.2386@news-server.bigpond.net.au...
    > is there an actionscript command to use.. that will repeat the same sound
    > over and over again through out the movie??
    >
    > thanx
    >
    > Ganesh
    >
    >

    Ciaran Guest

  4. #3

    Default Re: Repeating SOund

    Hwy man.. I am using Flash MX 2004...
    I've inserted a keyframe.. and gave it the stop() script..

    and whilkes its there.. i've added sound to that.. but I want that sound to
    keep repeating.. while its in that stop stage..
    hope this helps


    ganesh

    "Ciaran" <ciaran.nospam@delumination.co.uk> wrote in message
    news:UhBvb.1196$Bu3.1888122@newsfep1-win.server.ntli.net...
    > There is no specific actionscript to do this, nor is it necessary. You can
    > set a sound to loop an arbitrarily large number of times. How you do this
    > depends on your version of Flash, but dig around looking for sound clip
    > parameters. Let me know directly if you get stuck; I have examples.
    >
    > Ciaran
    >
    > "Ganesh" <ganesh@bigpond.net.au> wrote in message
    > news:gehvb.19888$aT.2386@news-server.bigpond.net.au...
    > > is there an actionscript command to use.. that will repeat the same
    sound
    > > over and over again through out the movie??
    > >
    > > thanx
    > >
    > > Ganesh
    > >
    > >
    >
    >

    Ganesh Guest

  5. #4

    Default Re: Repeating SOund

    "Ganesh" <ganesh@bigpond.net.au> wrote in
    news:thCvb.21495$aT.9660@news-server.bigpond.net.au:
    > Hwy man.. I am using Flash MX 2004...
    > I've inserted a keyframe.. and gave it the stop() script..
    >
    > and whilkes its there.. i've added sound to that.. but I want that
    > sound to keep repeating.. while its in that stop stage..
    > hope this helps

    Am I understanding that you want to repeat nothing over and over again??
    cant you just pretend that you can hear the nothing repeating itself??

    if the file is stopped...it is not making a sound. if you want to loop the
    sound (actually play sound) you cant do it while its stopped. well you
    could but its easier just to pretend that you can here lots of nothing
    repeating itself.
    The Hittmann Guest

  6. #5

    Default Re: Repeating SOund

    hehe smart ass... what i meant was.. i want it to stop on the last frame...
    and have th sound repearing itself.. over and over again,...

    ganesh
    "The Hittmann" <thehittmann@_lprimus.com.au> wrote in message
    news:Xns943BEF1BC57wendyswendysyummmm@203.134.67.6 7...
    > "Ganesh" <ganesh@bigpond.net.au> wrote in
    > news:thCvb.21495$aT.9660@news-server.bigpond.net.au:
    >
    > > Hwy man.. I am using Flash MX 2004...
    > > I've inserted a keyframe.. and gave it the stop() script..
    > >
    > > and whilkes its there.. i've added sound to that.. but I want that
    > > sound to keep repeating.. while its in that stop stage..
    > > hope this helps
    >
    >
    > Am I understanding that you want to repeat nothing over and over again??
    > cant you just pretend that you can hear the nothing repeating itself??
    >
    > if the file is stopped...it is not making a sound. if you want to loop the
    > sound (actually play sound) you cant do it while its stopped. well you
    > could but its easier just to pretend that you can here lots of nothing
    > repeating itself.

    Ganesh Guest

  7. #6

    Default Re: Repeating SOund

    Was that guy trying to help ? If you wanted to read "nothing repeating
    itself", then he gave us a good example.

    Import a sound to the library. Set its linkage to "Export for Actionscript",
    with the name "bgmusic".

    At the end frame of your timeline, do:

    snd = new Sound(this);
    snd.attachSound("bgmusic");

    var beginning = 0; // seconds
    var loop = 1000000; // Don't wait for it to finish, !!
    snd.start(beginning, loop);

    stop();

    Works in MX, I don't have 2004. Or want it, by the sound of things.

    I normally load the sound from a separate file at run-time, but that's more
    complicated than importing it to the library.

    Ciaran




    Ciaran Guest

  8. #7

    Default Re: Repeating SOund

    "Ganesh" <ganesh@bigpond.net.au> wrote in
    news:QAXvb.23098$aT.5610@news-server.bigpond.net.au:
    > hehe smart ass... what i meant was.. i want it to stop on the last
    > frame... and have th sound repearing itself.. over and over again,...
    >
    > ganesh
    > "The Hittmann" <thehittmann@_lprimus.com.au> wrote in message
    > news:Xns943BEF1BC57wendyswendysyummmm@203.134.67.6 7...
    >> "Ganesh" <ganesh@bigpond.net.au> wrote in
    >> news:thCvb.21495$aT.9660@news-server.bigpond.net.au:
    >>
    >> > Hwy man.. I am using Flash MX 2004...
    >> > I've inserted a keyframe.. and gave it the stop() script..
    >> >
    >> > and whilkes its there.. i've added sound to that.. but I want that
    >> > sound to keep repeating.. while its in that stop stage..
    >> > hope this helps
    >>
    >>
    >> Am I understanding that you want to repeat nothing over and over
    >> again?? cant you just pretend that you can hear the nothing repeating
    >> itself??
    >>
    >> if the file is stopped...it is not making a sound. if you want to
    >> loop the sound (actually play sound) you cant do it while its
    >> stopped. well you could but its easier just to pretend that you can
    >> here lots of nothing repeating itself.
    >
    >
    >
    on the last frame of the sound enter the action
    gotoFrame(1)
    The Hittmann Guest

  9. #8

    Default Repeating SOund

    is there an actionscript command to use.. that will repeat the same sound
    over and over again through out the movie..

    my intro for my site.. goes for aorund 10 seconds and then.. on the last
    frame I want it to stop.. but I want the music to repeat.. untill the person
    clicks enter and goes into the site.......

    thanx

    Ganesh


    Ganesh 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