Way To Make Sound Affects
Nov 24, 2009How you make sound affects
View 1 RepliesHow you make sound affects
View 1 RepliesI have several buttons in a movie and I want to be able to rollover an individual button and play the sound for that button and when I rolloff I want the sound for that button to stop.
View 6 RepliesI use Flash MX 6.0
1) I have a button and when I put cursor over it, it must start looping a sound. When I drag away, the sound must stop. I would be even cooler if it was possible to make the sound fade away when the mouse is rolled away. I have no problem creating another sound file that fades my current sound away.
2) I have a button which represents a knife, that should stab something (a panel) once pressed. So fist the knife must be clean. but after one or more presses, the blood should remain as a movie clip (as I want to animate the dripping blood)
3) once rolled over a button, the sound must start looping (as I wrote in 1.) AND the knife should slowly go backwards (MC). BUT when I roll mouse away, the sound fades away (as in 1. again) PLUS the knife should slowly move back to its place in stead of just jump from one place to another.
I made a panel movie with required designs which can be used as several pages in flash document. This is the basic design for all pages. Now, I would like to make changes in pages according to their subject. But when I make any change in one page the other pages are automatically changed.
View 1 RepliesNow then, I am working on a game and I've come across a problem that I simply cannot figure out. I have a symbol with the instance name of "textbox" (genius, no?) and I have a button with no instance name. Now, within the "textbox" symbol, I have two frames; one of which is named "descentlava". When the aforementioned button is clicked, I need the "textbox" symbol to gotoAndStop on the "descentlava" frame. My feeble mind managed to whip up the following code for the button:
on (release) {
_root["textbox"].gotoAndStop("descentlava");
}
Unfortunately, this does not work and frankly, I'm losing my mind trying to figure this out all on my own. Anyone feel like they could offer some assistance?PS: Not sure if this changes anything, but I feel I should mention that the button and the "textbox" symbol are both within ANOTHER symbol with no instance name. Perhaps this is whats causing the problem, but taking everything out onto the stage is a big no-no. It must be contained within the symbol.
I have a combobox (ddList) populated through xml and I can get a movieClip to change its alpha when an associated item in the combobox is clicked. What I'd like to do is return that original movieClip back to its original state when another item is clicked from the combobox. Thus having this second movieClip change in alpha.[code]
View 3 RepliesI habitually create my websites with a stage size of 950 x 580. They tend to appear slightly small in any browser which is ok because they can all normally be "zoomed-in" on using the browser zoom functions.
I have just created a site which loads several external .swf's into a main movie clip and the browser zoom works fine UNTIL I incorporate a further .swf which was created from a PDF file (using swfTools - pdf2swf).
This seems to disable the normal browser zoom with the effect that everything is just moved up and left a little rather than remaining centred and enlarging.
I can't seem to get my head round why when I set the colortransform object for one clip in my movie, it seems to affect the entire movie - textboxes and everything..I thought that a colorTransform it only affected the specified and child clips in the movie.Example - I have a lot of things attached to _root.I have a particular clip which is on its own and is attached to the _root - this is my code...Code:clip.transform.colorTransform = new flash.geom.ColorTransform(0.05, 0.05, 0.05, 1, 0, 0, 0, 0);That seems to set the clip nice and dark as I want it to - but it also sets all other clips and all clips dynamically added afterwards to have the same colortransform settings... am I missing something from the CT object?
View 4 RepliesHTML Background affects flash functionality
View 1 RepliesI need to display antialiased systemfonts (because the swf filesize must be small, therefore i can't embedd fonts). So I wrote this script in order to manually antialias the text
Code:
public function renderTextField():BitmapData{
var w:int = this["mainTextField"].textWidth+10;
[code]......
ActionScript Code:
import fl.controls.ColorPicker;
import fl.events.ColorPickerEvent;
import flash.geom.ColorTransform;
[code]....
I was going to use this code and modify it to work with the previous code.
ActionScript Code:
var OBJECTcolorInfo:ColorTransform = OBJECT.transform.colorTransform;
cpOBJECT.addEventListener(ColorPickerEvent.CHANGE, colorChange);
[code]....
A quick note, the OBJECT is there to show it's supposed to refer back to the "["bg"+String(i)]" bit is. I just don't know how to tell the code to look for it.My main goal is to have an object, for instance a rectangle, be draggable (and placeable). You would then set a series of color pickers to said rectangle, changing areas of it's colors once you double click it.However, the rectangle must move as a whole and not have to have each individual color part be repositioned along with it.
Need to make a character start to talk when the sound starts and stop talk when the sound stops so I'm using this:
[Code]...
Is it possible to let's say, have a button in an swf file that affects another embedded swf file?
View 2 RepliesIs it possible to let's say, have a button in an swf file that affects another embedded swf file?
View 2 RepliesI'm using this code to play/stop a sound in my flash movie, but I can't figure out how to make it loop. What do I need to do?[code]
View 3 Repliesi am creating a web page and my problem here is that on my intro part or home part there is a sound playing but if i will go to other pages the sound should stop playing.
View 5 RepliesSo I exported a preview of my animation but the sound isn't high quality. How can I make it better quality? It doesn't sound like when I press Enter in Flash CS5.
View 2 RepliesSo i want the sound button to be both the same on and off like [code]...
So i want to know WHAT as2 code can i make to make it so out of the on &off button can be the SAME button on the SAME button can have the SAME on button SAME off button when you click the same thing.
Code: Select allimport com.greensock.*;
import com.greensock.easing.*;
TweenLite.to(mc, 2, {volume:0});
i have classes, but only one thing, how to make sound mc.
I am making a platformer game, and I have money I pickup. How do I have the money make a sound when I pick it up? I am using flash 8
View 1 RepliesI am trying to make a sound spectrum that uses a circle.I have finished the easy part and am trying to add a blur filter to it.I followed a tutorial, except only the bottom right quarter of the circle will blur.I've tried messing with it but I've gotten no luck.Here's the code.
Code:
package spectrums.tutorial
{
import flash.display.*;[code]..........
Im an aspiring flash game developer struggling with a bit of code in my upcoming game, I want to play a sound(A "ding") everytime the main character touches a cookie on stage. The main character follows the mouse cursor, and the cookies fall down from the sky.
I have scripted the cookies main class, with this function(which works fine)
private function eFrame(e:Event):void{
Code:
private function eFrame(e:Event):void{
this.y += 3;//move the bell slowly downwards
if(this.hitTestObject(_root.mcMain)){//if this touches the main character
_root.mainJumping = true;//make him jump
[Code].....
And I was hoping it would go into the library and play the sound bit named "bellSound" but it doesnt do this, instead nothing happends, not even any errors under the "Compiler errors" So no im a bit lost, as I do not know how to make this work, so a sound is played when the main character touches the cookie.
I've been trying to make a button to play a sound, I've created the button and have a sound in the library, but can't manage to get the button to play the sound!!! I get this error: 1120: Access of undefined property knock_sound.
I think I need to give the sound an instance name but it says I need to use AC2 to do that!!
The sound only plays when I hold the mouse button down. I need it to play when I click it. But it has to stop the sound from playing twice import flash.media.SoundMixer; this.addEventListener(MouseEvent.MOUSE_UP,f); function f(e:Event):void{ SoundMixer.stopAll(); } here is a link to my swf file [URL]
View 4 RepliesI have been working on flash in school, and the school upgraded from flash MX to flash CS5, i have then gone to make my project in AS3, however, it is very diffrent from AS2
My problem, is, all i want is a button to play a song from the libray (not from a URL on the internet like the code snippet) and my ICT teachers have no idea how to use AS3. I also need is a play, stop and pause button, and a volume control slider, i CAN do all these on AS2, i infact have it set up (but without a pause button) but, i cannot do this in AS3 and i need it done bady.
I've made a slide show with three pieces of audio that are set up to play with certain images.So you can imagine when the video is paused but the sound continues playing everything gets a bit messed up.
I have each audio on a different layer and none of them overlap, just fade in/out to one another.[code]...
In case, we are talking about playing cards, and it happens that all the cards, I mean the 3 cards are aces, or tens or kings,and in this situation, I want to display a text or make a sound; The part with the sound or the text is easy for me; I have no problem with that.I know intuitively that I have to make a condition which is the following:
If card1==card2==card3== ace I am going to beep or write something.
As I said, the beeping part, or the writing, I can manage.My problem is the if condition and the card1, card2, card3. Where in the world are they ?Do I have to open the array ? var imageA:Array = ["1.jpg............................10.jpg];Right now, there is a good movie on THIS channel,& believe you me I am making a big sacrifice by trying to stimulate my remaining few neurones.
var imageA:Array = [];
var loader1:Loader=new Loader();
addChild(loader1);[code].....
I am trying to make a flash video with sound sweeping from 20Hz to 20kHz. The sound file is recorded with 44kHz sampling rate and stereo 16 bits resolution. I am hoping that the published Flash file would maintain the same sound quality. The problem is after I publish the design and play the swf file, the sound disappear around 3/4 of the way (near 4kHz). Could any one tells me what a good practice would be when dealing with sound files, is there any rules or prefered settings?
View 2 RepliesI have a sound in the library named RolloverSound and a MovieClip on the stage with instance name of btn. I hear this sound whenever I rollover btn and that's all I want it to do. The problem is is that it also sounds off when the swf loads and I don't want that.
[Code]...
I figure this requires some sort of code, so asking here: When I click a button to open a new URL, I have a sound play. How do I make the sound finish playing before it opens the new URL? The sound is on "Hit".
View 4 Replies