Questions tagged [soundchannel]
30 questions
0
votes
3 answers
how can I use more then 2 output channels in as3
I have a usb 8 channel sound card. How can I use these 8 channels from flash to do something like the speaker stereo on channel 1+2, and some athmos on the other channels.
regards.

bluelemonade
- 1,115
- 1
- 14
- 26
0
votes
1 answer
When does a SoundChannel actually starts playing sound?
I want to control the start of a sound very precisely, but it seems to wait for something before starting the sound. It is like there is an internal clock in the player that runs at approx 43 fps and that the sound can only start on that clock's…

Johan B
- 1
- 1
0
votes
1 answer
How to play three different audio files through three different speaker?
I have a project and I must play 3 different audio files through 3 different speakers. The start time of files are important (I mean they must start to play simultaneously).
My first option is using 3 networked computer, one file per computers, and…

Ebrahim Ghasemi
- 5,850
- 10
- 52
- 113
0
votes
1 answer
How to keep volume slider fixed (when re-entering a scene) Flash
So I have a scene which is an options menu; in the scene I have a volume slider; it works fine (I can slide it and the volume would go down/up), but when I leave the scene, it gives me an error (only happens if I play with the slider):
TypeError:…

Penafore
- 1
- 1
0
votes
1 answer
AS3 SoundChannel stop() not working
I have a SoundHandler class with the following variables:
private static var musicChannel: SoundChannel;
private static var effectsChannel: SoundChannel;
private static var narrationChannel: SoundChannel;
private static var…

Dora Erikkson
- 1
- 1
0
votes
1 answer
Flash AS3 - SoundChannel error #1009
I'm a bit of a Flash newb so apologies if this is a simple issue or fix.
Anyways I'm having problems with some functions. I've noticed I'm getting error 1009 only on functions that attempt to stop a sound channel. Here's some of the code:
This is…

Dan
- 105
- 1
- 1
- 4
0
votes
1 answer
actionscript on/off sound not working properly
Basically I have two buttons on/off. If I click the button ON more than once while the sound is playing the OFF button doesn't work any more so I am unable to stop the sound. Can someone help?
import flash.media.Sound;
import…

Bob
- 564
- 2
- 10
- 25
0
votes
1 answer
Actionscript 3: more than one sound channel possible?
My problem is having several buttons in flash that play sounds when clicked, and I want only one button/sound to be active at a time. Problem is that if the mouse button is released outside of the flash window the last button's sound keeps sounding…

user3274901
- 21
- 1
- 5
0
votes
0 answers
Remove Movie Clip and nested Sound AS3
Hey everyone so I have a Movie clip named mTriangle and It's added to the stage like so:
mTriangle = new mcTriangle();
stage.addChild(mTriangle);
mTriangle.x = (stage.stageWidth / 2);
mTriangle.y = (stage.stageHeight…

Nathan
- 536
- 4
- 21
0
votes
1 answer
Trouble with multiple songs in Flex - AS3
I am trying to create a mini media player AIR app that allows users to view videos, images, and songs loaded in through an external XML file, while also allowing the user to browse through their own files and play any media through the viewer. As…

grammar
- 871
- 10
- 22
0
votes
1 answer
AS3 pause button doesn't play paused song from array
I have a flash mp3 player with a play, pause and next button on one frame.
The songs are stored in an array.Everything works fine except for the
pause button. It pauses the music and save the song position in a variable.
When i click on the pause…

Nax
- 1
0
votes
1 answer
AS3 SoundChannel Position of audio in function
I am having issues with variable scope. I know this must be an easy fix but I can't find it.
I need to play sound through a sound channel in a function. Then I need another function to read the sound channel position. But it is not seeing it because…

Papa De Beau
- 3,744
- 18
- 79
- 137
0
votes
1 answer
ActionScript 3 Sounds
Frog
I'm developing a flash game called Frog, at the moment my code for sound seems a bit much, I'd like to simplify it but can't see how. Any help would be appreciated.
var musicSC:SoundChannel = new SoundChannel();
var musicST:SoundTransform = new…

Kristian Matthews
- 800
- 3
- 14
- 28
-1
votes
2 answers
AS3 Play & Pause Current (loaded) MP3 (Flash CC)
I have 8 external mp3s that are loaded and will be played sequencially. I cannot figure how to pause the mp3 currently playing and start playing from the point it was paused. I did have code that would pause it but when clicking the play button, it…

DMC66
- 3
- 3
-1
votes
1 answer
AS3 - Yet another TypeError: Error #1009 Cannot acces
I am creating a "Space Invaders" game in AS3. Got everything working now, but keep ketting a #1009 error and i'm looking at it for quite a time now and i just don't see the problem. Some extra eyes could help out I think!
This is what the debugger…

Frank Graave
- 13
- 3