ActionScript 3.0 :: Flash Combine Two Sound Object?
Mar 31, 2011I want to build a swf in which I will pass two mp3 files using two sound object and what I want is combine these two and output a new mp3.
View 4 RepliesI want to build a swf in which I will pass two mp3 files using two sound object and what I want is combine these two and output a new mp3.
View 4 RepliesIs it possible to take two Sound objects and combine them into one Sound object so that one Sound plays, and then the second plays right after it? I can just play the first Sound and then the next right after it, but it would be much cleaner to combine them before playing the audio.
View 1 RepliesIs it possible to take two Sound objects and combine them into one Sound object so that one Sound plays, and then the second plays right after it? I can just play the first Sound and then the next right after it, but it would be much cleaner to combine them before playing the audio.
View 2 Repliesi built and application that load multiple sound files play it in a sequence as the user order them but i wonder is there a way to save this sequence into one mp3 or wav file
View 1 RepliesIs there any AS3 library or code-snippet that can create altered versions of a Sound object on-the-fly (at runtime)? Either based on:
An existing Sound object; A ByteArray object;
For example, say you have a "dry" sound of a gun-shot. You could:
[Code]...
I have a combine-on-click raining object game project.This is the code:
Code:
var gameField:Array;
var firstClick:sunMc;
[code].....
I have these movies already existing in my actionscript code: inner_mc AND gallery_mc.So - I attach my library movie clip: called "link_box", and name it link_box0 and so on through the loop.
-->
for (i=0; i<numimages; i++) {
inner_mc.gallery_mc.attachMovie("link_box", "link_box"+i, i);
Now I want to create a new movieclip called thumbnail0 and so on, to the newly attached movieclip.
This is my attempt: this.movieHolder = inner_mc.gallery_mc.link_box+i.createEmptyMovieClip("thumbnail"+1, i+1);
When i try:trace(this.movieHolder ) it says undefined for all times it loops through.
Whats the syntax to combine strings and variables so that the result is seen as an object name ?
I have an xml say in following format[code]...
What I should do is parse an xml and from its node name create object property and then create an object array based on those property.
lets say we want to animate an object using the 3d position its (Z position)to be exact, from keyrame 1 to keyframe 40 or so on. i put the object on keyrame 1 to 10000position and view and then its keyframe on 40 to 0 position and view,so it looks like a nice object zooming towards you as you see it.but how can we get the object to constantly spin around and around(like from the motion presets from the default:spiral 3D ) .so it seems like a coin been tossed.
View 2 RepliesI am using the following to extract the byte info from a sound object - however if I go back to the same sound object and run this again, The byteArray has no bytes available.
var data:ByteArray = new ByteArray;
sound.extract(data,sound.length*44.1);
data.position = 0;
return data;
Is this the correct behavior? Is there not a way to do this multiple times on the same sound object?
I have been at this for about 19 hours straight! I am going to go to bed immediately after this post, but for crying out loud, I have NEVER had this problem before today! Before anyone reads ahead and says 'you have to attach your sound object to a completely separate mc to be able to control it independently from all other sound/root volumes.' see if the following code accomplishes just that:
[Code]...
I have a streaming sound that is loaded into my flash movie (will end up on CD) that is very distorted, it sounds like someone is slowing down the audio, the voice sounds deep and slow
View 1 RepliesI have a speaker and I need this speaker moves with a sound. I need to simulate the real world speaker vibration generated by the low and mid frequencies.
Does not have to be soo realistic what I whant to know is how I can play a sound and get son mumerical value usefull for apply numerical size transformation to the speaker.
Is it possible to play multiple sound files using a single sound object? (I've looked into this back when I was using Flash CS3, but I want to know if anything has changed.)
(I'm trying to make a playlist which will play music in the background of my SWF movie and then have a frame where users can change the song and the volume.)
how to disable sound from an embedded flash object with html?
View 1 RepliesI'm planning to program a small piano in flash that have an x number of notes to play through a SoundChannel.
What I have not found is a way to record what is playing through SoundChannel and send it as byteArray to a server side script that will save it as WAV (or mp3).
I know Flash Player 10.1 allows you to record sound, but everything I have found is about recording sound using the microphone class. It seems the way to go is to send the sound data to the microphone. That doesn't seem very right or possible though..
I'm trying to make a player with EQ, get the data in the Sound object, but for some reason with the desired point to play it I can not play it right from the start of the track.
_out_snd.addEventListener(SampleDataEvent.SAMPLE_DATA, processSound);
_channel = _out_snd.play(pos);
function processSound(event:SampleDataEvent):void {
_samples = new ByteArray();
var len:Number = buf[trackDesc].sound.extract(_samples, BUFFER_SIZE);
[Code] .....
i'm using loadSound() to play a mp3 file, but after couple of seconds of playing, it restart to from start and then play normally... when a file already play at least once, everything going as normal.
song1= new Sound();
song1.onSoundComplete = function(){
song1.start(0,1);
};
song1.loadSound("mp3/"+curMP3,true);
you can hear it online here: domusventures.com/furnitures
I'm trying to develop something for Flash 5 Player and nothing seems to work. Currently I'm having trouble with the following bit of AS which works fine if I export for Flash 6. But in Flash 5...no sound. Is there a specific way an mp3 needs to be encoded for Flash 5 or does it not even accept mp3s?
Code:
// sound object
_soundbuftime=10;
[code].....
I have a legacy file format that contains sounds embedded in it (in various encodings). I would like to be able to play these sounds in Flash (Air?) by reading the sound bytes out of the file and instantiating a Sound object with them.
If the sound is unencoded (e.g., raw pcm), I've found that I can use the new flex 4 SampleDataEvent.SAMPLE_DATA event to play the sound.
However, if the sound is encoded (e.g., mp3), then I'm at a loss. The sound expected by SampleDataEvent.SAMPLE_DATA has to be raw pcm. From what I've seen, encoded Sounds can only be instantiated by [Embed]ing them, or by using a URLRequest with Sound.load().
I'm trying to combine PHP/SQL and Flash. I've got a problem now. I want to load a variable that contains an url to an image. so the variable is like this:
[URL]
Now I want flash to load the image, not the text. The variable is called 'img1' but the loadmovie function doesn't work when I put it in.
I want to build a swf in which i will pass two mp3 files as parameters and what i want is that it should combine these two and output a new mp3.
View 1 RepliesI'm creating a website that allows kids to designs a tshirt. I will have four section, colour, graphic, text and print.
I have created these sections on demos and they are all working.
I now need to properly create them all on one movie clip.
I'm having problems with it, when i select the chosen tshirt color and move onto the graphic section the shirt is white again and hasnt came through blue. Its the same for every section, when I select a grahic they dont come through either etc when I click the next button it refreshs the page.
Does anyone know how to create this kind of design on one movie clip using different frames and so that the colour etc transfers onto each new page?
Im wondering if its possible to combine flash animation over a background of live action video using Flash? I'm looking for an effect similar to the movie Roger Rabbit...
I have done some experimenting, and I realize that its possible to import a live action video into flash and then do some animation on another layer and then publish it - but with this method its essentially impossible to guess the timing of the live action video...
import a live action video into flash and actually see the timing /frames of the video within the Flash IDE? Or should I be using something like after effects?
I have started using flash for my new site for a business I am starting. Using Flash CS4 and it�s been a while since I have used flash so I am relatively new to this new version. [code]...
View 10 RepliesI have two BitmapData objects with alpha channels. I'd like to combine them into a single one by using max(channel_image_one, channel_image_two) for each channel, including the alpha. Is there an easy way to achieve this result?
View 2 RepliesI am hoping to combine Flash (AS2) with a simple lightbox effect. I do not want a photo to be pushed to the fore, but a simple form, and wonder if there are any tutorials on this?
View 0 RepliesI have developed three different games in Flash (Action Script 3) and they run well on my smartphone when I export them via Adobe Air.I am creating an app over Titanium, and I intend to integrate these three games inside my main Titanium app. The problem is that Adobe Air only exports APKs files.
So I would like to know if there is anyway of making the games run inside the main app, without the need of calling external apps on the market, for example.
I�m trying to combine dynamic text from a PHP file into a Flash movie. The plan is to have a sequence of 4 different strings displayed in the dynamic text boxes delayed by using setInterval (or a better delay mechanism if anyone can suggest one). If I do this:
var txtData = new LoadVars();
txtData.onLoad = function(success){
var Delay = setInterval(txtDelay, 10000);
[code]....
I get �undefined� in the Flash text fields. The variables in the PHP text file are v1 thru v4 and c1 thru c4. If, after LoadVars, the specific variables are identified like this:
Verse.text = txtData.v1
Chapter.text = txtData.c1
The correct text displays. That says the LoadVars is working correctly, right? But for scrolling through the sequence I�ve tried various methods � do/while, for, if � with degrees of failure ranging from massive to total.
we are a team implementing a game together , there 4 levels in the game. Each of us did our level of the game on a flash file. Now we need to combine the separate flash files together. Pls advise how we can combine the separate files together.
View 4 Replies