Flash CS3 asssitance please

Discussion in 'Software' started by webdevgeek78, Jan 7, 2008.

  1. webdevgeek78

    webdevgeek78 Private E-2

    I am using streaming audio of mp3 with the MediaPlayback component, in Flash CS3,
    I have 2 buttons, stop and play....
    my current ActionScript is as follows:

    this.btn_play.onRelease = function() {
    music_mc.start(1);
    };
    this.btn_stop.onRelease = function() {
    stopAllSounds();
    };

    I have it stopping properly,
    however, I cannot get it to start playing again, the MediaPlayback component I have named music_mc but I don't know if I did that right, is there a different way to call upon that component? I have the audio streaming with this component, so I am unsure ho to reference it with the play button....any assistance would be great, thank you everyone.
     
  2. webdevgeek78

    webdevgeek78 Private E-2

    I GOT IT....it was as simple as changing .start to .play
    dont know why but it worked
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds