Point Seclusion
Thursday April 18, 2024, 04:56:36 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome Member
 
  Home Help Search Arcade Gallery Links Staff List Calendar Members Login Register  

I got a problem with sound and Mochi Ads

Pages: [1]   Go Down
  Print  
Author Topic: I got a problem with sound and Mochi Ads  (Read 174 times)
0 Members and 1 Guest are viewing this topic.
disdude
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: Sunday October 19, 2008, 10:26:55 am »

Well in most of my games i set up the game so that there is a little music menu in the bottum/top left/right of the sceen. to do this i make a layer on top of all other layers and put in a box and 3 buttons, then put in this exact code:

mysound = new Sound();
mysound.attachSound("~example~");
playsound.onRelease = function() {
mysound.stop();
waffle.stop();
mysound.start();
}
stopsound.onRelease = function() {
mySound.stop();
waffle.stop();
}
mysound2 = new Sound();
mysound2.attachSound("~example2~")
soundstart2.onRelease = function() {
mysound2.stop();
mysound.stop();
waffle.start();
}


then after i finish that long code i go to each song and then copy the linkage name and paste it into where it says "~example~" or where it says "~example2~"

This works perfectly on a normal submitting to a website, even testing it on my computer but once I submit it to "Moci Ads" the music stops playing!

I use the file "Mochi ads" gives me and i can submit that practically anywhere but it doesn't play sound! how do I fix this?

Pleas Help!
« Last Edit: Sunday October 19, 2008, 11:02:16 am by Geco-deco12 » Report Spam   Report to moderator   Logged

Share on Facebook Share on Twitter

Geco-deco12
The ghecko master!
Newgrounds
King
*
Offline Offline

Newgrounds Alias: Geco-deco12
YouTube ID: Geco deco12
Posts: 846


My poor sky kingdom :(


View Profile WWW
« Reply #1 on: Sunday October 19, 2008, 11:00:17 am »

Well in most of my games i set up the game so that there is a little music menu in the bottum/top left/right of the sceen. to do this i make a layer on top of all other layers and put in a box and 3 buttons, then put in this exact code:

mysound = new Sound();
mysound.attachSound("~example~");
playsound.onRelease = function() {
mysound.stop();
waffle.stop();
mysound.start();
}
stopsound.onRelease = function() {
mySound.stop();
waffle.stop();
}
mysound2 = new Sound();
mysound2.attachSound("~example2~")
soundstart2.onRelease = function() {
mysound2.stop();
mysound.stop();
waffle.start();
}


then after i finish that long code i go to each song and then copy the linkage name and paste it into where it says "~example~" or where it says "~example2~"

This works perfectly on a normal submitting to a website, even testing it on my computer but once I submit it to "Moci Ads" the music stops playing!

I use the file "Mochi ads" gives me and i can submit that practically anywhere but it doesn't play sound! how do I fix this?

Pleas Help!
I had a problem like that... i think the swf file was either uploaded wrong or the swf file needs to be updated manually... delete the swf file you have and then test the movie... this will make a new swf file that will be up to date. Then simply try that one...
Report Spam   Report to moderator   Logged

Master of the ghecko's! Fear me!
http://www.geco-deco12.newgrounds.com!!!



Pages: [1]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy