Be a Supporter!

[as2] Problem with audio not playin

  • 248 Views
  • 3 Replies
New Topic Respond to this Topic
nakedxbabe
nakedxbabe
  • Member since: Feb. 22, 2010
  • Offline.
Forum Stats
Member
Level 07
Musician
[as2] Problem with audio not playin 2012-04-28 22:49:20 Reply

http://www.newgrounds.com/dump/item/324c8c5892256371136958d0 1a1f6a81

here is my file.
it has all the scripts in it.

I don't know what I did wrong theres no errors on any of the codes!


Myspace
Website Coming SoonPurevolume
<BR>Perfection Confection Sugar, you can use it on babies.

BBS Signature
MintPaw
MintPaw
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 10
Programmer
Response to [as2] Problem with audio not playin 2012-04-29 00:46:35 Reply

If you want to come here for help then post the related code with a detailed problem description. You're the one who needs help, so you have to put forth the effort to get it. Don't make others take the time to download, open, and diagnose your problem, we have better things to do, but if you need help then we'll give it a go.


If ya have something to say, PM me. I have a lot of time to spare.
Also never PM egg82.

BBS Signature
nameistaken1
nameistaken1
  • Member since: May. 21, 2007
  • Offline.
Forum Stats
Member
Level 16
Game Developer
Response to [as2] Problem with audio not playin 2012-04-29 01:48:48 Reply

At 4/28/12 10:49 PM, nakedxbabe wrote: http://www.newgrounds.com/dump/item/324c8c5892256371136958d0 1a1f6a81

here is my file.
it has all the scripts in it.

I don't know what I did wrong theres no errors on any of the codes!

Since you copy and pasted your code from:
http://www.kirupa.com/developer/actionscript/sound.htm

I'd recommend you read it. Specifically the part about the exporting the sound for actionscript.


BBS Signature
nakedxbabe
nakedxbabe
  • Member since: Feb. 22, 2010
  • Offline.
Forum Stats
Member
Level 07
Musician
Response to [as2] Problem with audio not playin 2012-05-11 10:23:10 Reply

At 4/29/12 01:48 AM, nameistaken1 wrote:
At 4/28/12 10:49 PM, nakedxbabe wrote: http://www.newgrounds.com/dump/item/324c8c5892256371136958d0 1a1f6a81

here is my file.
it has all the scripts in it.

I don't know what I did wrong theres no errors on any of the codes!
Since you copy and pasted your code from:
http://www.kirupa.com/developer/actionscript/sound.htm

I'd recommend you read it. Specifically the part about the exporting the sound for actionscript.

I did read it, I do not understand.

I am using on (press) {stopAllSounds ( ) ; }

on (release) {

Sound = (PlaySound); }

It does not seem to work. I've even tried

var my_sound = new Sound();
my_sound.loadSound("sounds/sound1.mp3");

my_sound.onLoad = function(success:boolean){

if(success){
my_sound.start();
}
}

does not work.


Myspace
Website Coming SoonPurevolume
<BR>Perfection Confection Sugar, you can use it on babies.

BBS Signature