Making A Sound Library

May 22, 2009

I´ve made a site for myself in flash (AS 2) and it works great. But one thing that I havent got the knowledge for is that I would like to have my own sound library.Anyway what I want is a xml updatable library, a simple list of sounds for visitors to download for free! A preview of the sound is also something that I need. The sounds are mostly very short sounds, so a rollover should work i think.[code]If there is someone here who would like to help me with this? Just to get me started. I fully understand if someone here thinks like, wow thats alot to ask for! how rude and so on, but if there is someone that maybe thinks that this could be fun or interesting and would like to give it a shot.

View 4 Replies


Similar Posts:


Actionscript 3 :: Making A SimpleButton From Library Sprites?

Feb 16, 2011

I'm working on a small project in AS3, and I need to make some interface buttons. I had them as separate classes at first, but then realized that it was probably overkill, and on top of that, figured out a way to simplify the event calls by making them buttons and assigning the event dispatches to their parent.

I tried remaking them using the SimpleButton class, but I can't figure out how to give the buttons any sort of design. Every tutorial on the web uses SimpleButton to make only the most bare-bones Actionscript graphics by actually drawing them with the code (why anybody would want to do that is beyond me), and my attempt at assigning a library item to the upState:

_deletebutton = new SimpleButton();
_deletebutton.upState = mc_deleteButtonUp; <--- exists in my library

doesn't do anything.The Adobe docs say that the various states take DisplayObjects, which mean they take Sprites and MovieClips, so you should be able to do this. Does anyone know how?

View 3 Replies

ActionScript 3.0 :: Library For Making Statistical Graphs In It?

Nov 6, 2010

Does anyone know of a good library for making statistical graphs, such as histograms and box plots for as3.

View 2 Replies

ActionScript 3.0 :: Making Sound Only Play Once?

Sep 22, 2010

the site i'm currently helping out with has an audio clip that gets loaded in through xml, I want this to only play once and then halt, but if the user wanted to click on the volume button it could start on up again without a hassle.

View 4 Replies

Professional :: Right-click Sound In The Library?

Jul 8, 2010

How can I edit sound from a timeline if I don't have the original sound file? When I right-click my sound in the library, I can't open it in any sound editor program. What do I do?

View 3 Replies

ActionScript 3.0 :: Fade In/out Library Sound?

Apr 1, 2012

having real problems finding anything about fading in and out sound in flash, have searched for 3 days now and found mostly as2 related articles,i have the following

var myintSnd:introSound;
var sndintChannel:SoundChannel;
myintSnd = new introSound;

[code].....

View 2 Replies

Flash :: How To Play Sound From Library In AS3

Apr 23, 2010

In Flash 10/AS3, I added some sound and it seems to be working alright, but I think I'm doing it wrong. I imported the sound into the library, but I believe that it's reloading it from the folder with the swf/sound. I'm loading them like so:

[Code]...

View 1 Replies

Play Sound From Swf Library In Script?

Mar 29, 2011

I have to play some sound on a webpage with javascript, and probably flash is the best choise, so i created an swf library with mi sounds wit swfmill [url]...[code]...

View 1 Replies

Flash :: Sound Library For Project?

Nov 22, 2011

I am looking for a good and simple as3 library that can help me manage sounds in a Flash app I develop.

I need something that will hold my sounds (not more than 25) and when I call certain sound to play it should play it.

View 2 Replies

ActionScript 3.0 :: Play A Sound From Library

Sep 22, 2007

So, in actionscript 3, how can I play a sound from library when someone clicks on a button?

View 12 Replies

ActionScript 3.0 :: Get Sound To Load From The Library?

Apr 10, 2008

I figured out how to get sound to load from the library in AS3, which is good, however I'm trying to do the same technique in another fla with different mp3s and i get the following error. WTF?

'Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored.' You can check out my code below, anyone else thats run into this let me know.

[Code]...

View 2 Replies

ActionScript 3.0 :: Preload Sound From Library?

Apr 16, 2009

I'm creating a flash game where all of my library symbols, including my sounds, are contained in an assets movieclip on the second frame. The first frame is a preloader and it works fine, however, when I uncheck "export in first frame" for my mp3 sounds in the library I get the error:

1046: Type was not found or was not a compile-time constant: mySound

I have all of the sounds on seperate layers and they all have class names defined. I've seen quite a few threads that bring up this issue, but none that solve it. So, how do you preload a hefty mp3 from your library without exporting it on the first frame?

View 1 Replies

ActionScript 3.0 :: Play Sound In The Library?

May 13, 2009

I have a sound in the library. I wan to play it using AS3. How can I do it?

For example. I want the sound to play when a functions is triggered.

View 4 Replies

ActionScript 3.0 :: Attaching Sound From Library?

Jun 15, 2009

I am creating a program to play sounds from the library when a button is CTRL + CLICK. I have no problem if I play either of the two sounds on the first frame and then move to other sounds. However, if I navigate past the first sound buttons and try to play later sounds, I get: TypeError: Error #1009: Cannot access a property or method of a null object referenceat soundFile_fla::MainTimeline/playSound11()

View 5 Replies

ActionScript 3.0 :: No Sound In Library Movieclips

Apr 12, 2010

I have made a couple of small animations in flash, that have sounds in them (attached to frames to play at the right time in the animation via the frames properties) and I want to add these into a different flash project to be used. The sounds play perfectly when I run the .swf's by themselves.

So I have added them into the library of the other project, and exported them for use in first frame, but when I add them using addChild and play them the sounds do not play at all?

View 1 Replies

ActionScript 3.0 :: Making Sound Play Through All Scenes?

Aug 26, 2010

I have only two days to get this working and handed in. My class did not teach actionscript, the code for keeping sounds playing through multiple scenes was provided for us :

var mySound:Sound = new soundtrack();
mySound.play();

Unfortunately this doesn't seem to work in actionscript 3..... and my entire movie is actionscript three. It won't let me save down or convert it or anything.... and I can't get my stuff into another file without screwing it all up.

View 4 Replies

ActionScript 3.0 :: Making A Sound Play Once Then Stop?

Dec 14, 2009

When my avatar bug makes contact with another type of bug, he eats it. Both bugs are movie clips; when the avatar gets into the collision detect zone of the edible bug, it triggers a quick animation in the "edible" bug: he becomes a blur for one frame then disappears (as though eaten).

The problem is the sound effect - a quick "whoosh". It needs to play once then stop. What happens now is that it's triggered repeatedly - a problem if the avatar passes over the edible bug slowly. If the avatar later passes over the spot where the edible bug was, the sound is triggered multiple times again. So I need the sound to play only once, then stop. There will be several copies of the edible bug's movie clip that need to behave the same way, so once the sound stops playing it needs to be available again for the next collision.

Here's what it looks like now:

private var sfx_edible:Sound = new eat();
function detectCollision(myevent:Event):void {
if (avatar_mc.hitTestPoint(edible_a.x, edible_a.y, false)==true) {

[code]....

View 1 Replies

Flash8 :: Plays A Sound In The Library On Loop?

Aug 21, 2011

i was looking into if there is anyway to work with sounds using actionscript?Basically im looking for something that

* Plays a sound in the library on loop

* stops that sound

* mute that sound (so it's still playing but cant be heard)

* unmutes that sound

the idea is so i can spread out this in scripts instead of in the frames.

View 1 Replies

ActionScript 1/2 :: Effective Preloading With Sound In FLA Library?

Sep 9, 2010

I've run into some trouble with making a preloader for my flash file. First I went ahead and made an external preloader that loaded in the swf file - but then all my audio did not play (they are called upon as sound objects). Found this out because the file is loaded into the preloader but not the audio files from the library???
 
But if I put the preloader in the actual flash file it's kind of useless as it wants to preload all the audio on the first frame. Now I went ahead and changed it to load on frame 2 or 3 (using the publish settings to set "Export frame for classes") but now the audio will not play at all!
 
Are preloaders doomed to fail in AS2 when there is audio files being called within the library as sound objects??

View 2 Replies

Actionscript 3 :: Playing Sound From Library With Name From String?

Aug 25, 2010

I am trying to write some actionscript 3 code to play short sounds from the library, using a dynamically created string to load it. In AS2, I could do something like this:

mySound = new Sound();
mySound.attachSound("any concatenated string" + foo);

In AS3 however, the identifier is a class whose name, it seems, must be already known. Is there a simple way to 'attach' a sound using the identifier as a string in actionscript 3?

View 2 Replies

ActionScript 2.0 :: MediaPlayback - Play Sound From Library?

Aug 11, 2010

I have a MediaPlayback component on stage, i have a sound with linkage name "sound1" in the library;

Why mediaPlayback.contentPath = "sound1" wouldn't work?

View 1 Replies

ActionScript 3.0 :: Instantiate Sound From Shared Library?

Apr 21, 2011

I'm building a shared library of sounds, but am having trouble referencing them in code in the swf that needs them. First I built the built the library and clicked 'export for runtime sharing'. Second I built another swf, went to file > open external library, and dragged and dropped the sounds I need into the new library. Third, I tried to reference it in as3 the way I would normally:

[Code]...

View 3 Replies

ActionScript 3.0 :: Making A Sound Play At Exact Millisecond?

Jan 9, 2011

I'm having trouble making a sound play at an exact millisecond sinde framerate and timers are not 100% precise. First I tried creating a timer and playing the sound every second. But this causes delay. I can't think of any other way... I'm trying to create a game that marks the rythm precisely by playing small sound clips every specific amount of milliseconds.

View 3 Replies

ActionScript 3.0 :: Making A Flash App - Sound Play Delay?

Apr 3, 2004

I am trying to develop my first flash app. The application emulates a "karaoke" service. It plays a background sound and at the same time records the sound coming from the mic. I use the "sound" class to play the sound (s.play() ) and the "netStream" class to record the mic sound (ns.publish("mysound", "record") ). In the same app, I then try to play these two sounds together. The problem is that I cannot synchronize them. My tests drove me to a conclusion which I am not certain for. The conclusion is that the method s.play() has a delay about 500ms until the sound starts playing. The result is that recording starts 500ms earlier than playback. When, then, I playback both of them the recording sound is 500ms after the backround sound. Is that delay for sure true?

View 12 Replies

ActionScript 3.0 :: Accessing A Sound In A Library From The Parent Movie?

Mar 19, 2010

I want to access a sound from the library of a movie which I have loaded in to another movie.In the loaded in movie I can use this on the timeline
 
var mySoundChannel:SoundChannel;
var mySound:Sound = new Speech;
mySoundChannel = mySound.play(); 
 
but I don't know how to write this from the parent movie's timeline.

View 1 Replies

ActionScript 2.0 :: Attach Multiple Sound Through The Library Into Different Variables?

Mar 27, 2006

I am using attachSound to attach multiple sound through the library into different variables. But when I try to use setVolume, I get the same volume for all the sounds playing at that time.

View 8 Replies

ActionScript 2.0 :: Making A Tycoon Game And Have A Few Queries To Do With Controlling Sound?

Oct 17, 2009

I'm making a tycoon game and have a few queries to do with controlling sound. I have two buttons, one is my play button playBTN and my other is my stop button stopBTN. Now i want to play the song mainSong using actionscript from the second frame, but I also want to play the song without it going over the top after you release playBTN.

P.S: I'm sure the stopBTN code is:
ActionScript Code:
on(release){

[code]......

View 5 Replies

ActionScript 3.0 :: Making External Sound Files Play Instantly?

Feb 27, 2011

I could create a program for him in flash which would be able to play sounds corresponding to keys on the keyboard, but split in to 3 groups, and only 1 sound from each group can be playing at a time. I don't know that much about as3, and I told him this but said I would try anyway. The first thing I came up with was this:[code]In there, there's nothing to stop the sounds overlapping or looping like in my other solution, also it's obviously a lot less compact, but I sent it to my friend like that to see if it would at least play instantly. The response I got was that, although the lag was noticeably less, it was still present.

View 3 Replies

ActionScript 3.0 :: Loading A Sound File From The Library To Play It In One Frame?

Sep 23, 2009

I have a flash file with several frames. In each frame I need to play a sound file.I've added all the sounds to the library and done all the necessary steps to export for actionscript.Here's my code to play the sound in one frame.
 
var sound1:Sound = new Cal10101();
sound1.play();

This works great to play the sound. I am using buttons to move to the next frame. When I click the button to move to the next frame, I need the sound from frame 1 to stop and a new sound which would be Cal10102 to start playing.How do I stop the sound from frame 1 from playing when I go to the next frame?

View 3 Replies

ActionScript 3 :: Flash - OGG Sound Delayed (Adobe Alchemy Library)

Feb 6, 2012

I wanted to make live drums play with keyboard shortcuts. The problem was that MP3 is not good enough in this case (encoders adds random silence at beginning of the sound) and also flash itself makes delay (I tried use already buffered file with play specified_start_point_in_miliseconds)). So my solution is OGG (this format is gapless). I use compiled swc file from Adobe Alchemy library and simple frontend for it. Everything works fine, OGG file is playing, but its still much delay - no matter if its lodeaded external or as embedded, and if its first or n time. How to make sound play fast equally to key press.

Here is my very simple example code:
import flash.display.Sprite;
import flash.events.*;
import flash.utils.ByteArray;
import flash.events.SampleDataEvent;
import com.mauft.OggLibrary.OggStream;
import com.mauft.OggLibrary.OggEmbed;
[Code] .....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved