A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: AAARRRRGGGGHHHH!! -- Sound Objects Are Driving Me Mad!

  1. #1
    Member
    Join Date
    Mar 2001
    Posts
    66
    Ok, I'll try and be as comprehensive as well as brief as possible,

    I have two mc's called 'control.swf' and 'soundcontrol.swf'

    --control.swf is one frame and contains these actions--

    loadMovieNum ("soundcontrol.swf", 6);
    soundtrack = new Sound();
    soundtrack.attachSound("pimp");
    soundtrack.start(0, 999);

    [Where soundtrack is the soundtrack which is calling the wav file set as "pimp" from the library]


    --soundcontrol.swf contains a movie clip with 2 key frames with buttons that contain these actions--

    on (release) {
    _level0.soundtrack.stop();
    }

    --AND--

    on (release) {
    _level0.soundtrack.start(0, 999);
    }

    [where the first is supposed to stop the sound loop and the second is supposed to start the sound loop]

    NOW... when I preview this in Flash Player (on my desktop) everything is fine. HOWEVER... when I post this on my server the sound loop starts playing twice (there are two of the same loops playing at the same time with a 0.1 - 2 second delay). This rather vexing to say the least.

    When you turn the audio off (with the button), then turn it on again the problem is resolved.

    Does anybody have any idea why this is happening, and what I can do to solve it? I really need your help.... I've already prayed to the Flash Gods but they are shunning me.

    If you like go to http://www.genesiscomm.com/sugar
    Only the two movies are present: 'control.swf'& 'soundcontrol.swf'... nothing else.

    I'm sure I'm just missing something obvious but anything anybody can do to help me regain a certain level of sanity would be my hero.

    cheers,

    motiv

  2. #2
    Member
    Join Date
    Mar 2001
    Posts
    66

    anyone?

    somebody's got to at least have a clue?

    bueller?... bueller?

    not even the gurus?
    [Edited by motiv on 07-25-2001 at 10:33 AM]

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center