Actionscript 3.0 :: How To Make Sound Movieclip

Jul 16, 2010

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.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flash - How To Make Sound Movieclip

Jul 16, 2010

Code:
import com.greensock.*;
import com.greensock.easing.*;

[code].....

View 1 Replies

ActionScript 1/2 :: Make Button On Rollover Starts Sound And Rolloff Stops Sound?

Jul 28, 2009

I 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 Replies

ActionScript 2.0 :: Movie And Sound - Make The Sound Fade Away When The Mouse Is Rolled Away?

May 18, 2007

I 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.

View 1 Replies

ActionScript 3.0 :: NetStream Choppy - Make A Character Start To Talk When The Sound Starts And Stop Talk When The Sound Stops

Aug 5, 2010

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]...

View 2 Replies

AS3 :: Can't Make Sound Loop

Jun 8, 2008

I'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 Replies

Way To Make Sound Affects

Nov 24, 2009

How you make sound affects

View 1 Replies

ActionScript 3.0 :: Make A Stop Sound?

Nov 22, 2010

i 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 Replies

Professional :: How To Make Sound Better Quality

Sep 5, 2011

So 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 Replies

ActionScript 2.0 :: Make An On / Off Sound Button?

Apr 18, 2011

So 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.

View 2 Replies

ActionScript 2.0 :: Make A Sound When Pick It Up?

Feb 3, 2012

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 Replies

ActionScript 3.0 :: Make A Sound Spectrum That Uses A Circle?

Jul 7, 2009

I 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]..........

View 1 Replies

Make Sound Effect Play On Collision?

Jun 3, 2010

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.

View 3 Replies

ActionScript 3.0 :: Make A Button To Play A Sound?

Sep 4, 2008

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!!

View 3 Replies

ActionScript 3.0 :: Make Sound Play On Click?

Jul 12, 2010

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 Replies

ActionScript 3.0 :: Make A Button Play Sound?

Mar 26, 2011

I 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.

View 4 Replies

ActionScript 3.0 :: Make Sound Sync With My Controls?

May 18, 2011

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]...

View 1 Replies

ActionScript 3.0 :: Display A Text Or Make A Sound?

Aug 23, 2011

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].....

View 19 Replies

Flash :: Make Movie With A Sweeping Sound?

Aug 26, 2011

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 Replies

ActionScript 3.0 :: Make Sound Not Play When Swf Loads?

Nov 8, 2011

I 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]...

View 6 Replies

ActionScript 3.0 :: Make Sound Finish Before URL Opens?

Nov 20, 2011

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

ActionScript 3.0 :: Make Preloader Run Before Sound Loads?

Aug 13, 2009

I am working on a Flash site with background music whose file takes up about 80% of the loading process. The preloader is on the maintimeline.

I've set assets to load on the 2nd frame, and unchecked the "load on 1st frame" box in the music files library properties. Then I get the following message[code]...

View 2 Replies

ActionScript 3.0 :: Make Each Sound Stop Using An If Statement

Sep 11, 2010

I made a multibutton menu and I have a sound set to play when you click each of the buttons but the sounds play over one another if buttons are pressed one right after the other. I know theres a way to make each sound stop using an if statement just cant figure it out.

View 0 Replies

ActionScript 2.0 :: Make A Loop Sound Board?

Sep 16, 2010

I have spent the last four hours trying to work this out, using a number of different tutorials and always running into roadblocks in one form or another.

I'm using Flash CS3 with Action Script 2.0 enabled.

Essentially, I want to be able to make individual buttons to play in one frame on the main timeline that turn on and off simple loops that I've made.

I have a video of a man dancing, and I want to give the user the ability to press nine buttons and activate each loop to play over the video.

- I need each loop to be able to layer - so, each button controls only it's own loop - giving the user the ability to compose the music that the dancer is moving to.

The way I though I would do this would be to make a single button for each loop, that when clicked played the loop, and then when clicked again muted that single loop, and then when clicked, played it again and so forth.

- I have the nine loops cut up and in the library, but I don't know how to program this.

Additionally, I would really prefer the loops to not be playing, and for the user to have the chance to build the piece of music around the dancer.

View 0 Replies

ActionScript 3.0 :: Make A Sound-loop Player?

Dec 9, 2010

I've been trying to make a sound-loop player for quite some time now (i'm new to as3).i've made six letters converted them into buttons and i want them to play a different wav sound loop each one whenever i click on them and to stop the sound when i click again.This works fine for the first button but not for the rest of them because i dont know where to insert the similar code for the rest of the buttons.

Here's the code that works perfect for the first button:

import flash.media.Sound;
var sound:Sound = new The_Rloop5();
var soundControl: SoundChannel = new SoundChannel();

[code].....

Now the only thing that i managed to do is to play the same sound on both of the two buttons.

View 0 Replies

ActionScript 3.0 :: Make The Sound Play First And Then Stop It?

Feb 10, 2011

make the sound play first and then stop it?

var music:Sound;
var trans:SoundTransform;
var channel:SoundChannel;
var musicOn:Boolean = true;

[code]...

View 0 Replies

ActionScript 2.0 :: How To Make Sound Start Automatically

Apr 1, 2004

I understand how to make the play, pause, and stop. But, I want the music to automatically.Anyone know how to make the sound start automatically, allowing people to pause / stop it on their will?

View 3 Replies

ActionScript 2.0 :: (FMX) - Put A Sound On The Rollover, So When It Ran Away, It Would Make A Noise?

Sep 5, 2004

im having a bit of trouble with something,if you look at the attached file, there are 2 circles(movie clips), they have an AS code on them :

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse,_root._ymouse,true)) {
this._x = int(Math.random()*550);
this._y = int(Math.random()*400);
}
}

Now, i wanted to put a sound on the rollover, so when it ran away, it would make a noise, so i put an invisible button on the top in each movie-clip.and put a sound on the over state, but, this makes the MC's not run away!So i thought that i could add a on (rollOver), but i dont know the code to load a sound from the library.

View 4 Replies

ActionScript 2.0 :: Make A Sound Loop Seamlessly?

Feb 14, 2005

So I got a loop that I'm loading into Flash with the Sound object. The sound loads good and it starts playing but when it loops back to the beginning there's some silence and then it loops again. The sound loops fine in a sound editing program, the only problem is that Flash leaves a gap when its going to start again. Anyone has come up with a solution to make a sound loop seamlessly?

[Code]...

View 4 Replies

ActionScript 3.0 :: Make Flash Sound & Randomize?

Sep 19, 2011

First is that after showing question and answers and playing sounds program goes to the next question and I see the answers but the sound does not go with it, that is the sounds of question and answers dont change and are the same as in the first question and the same goes for answers the xml looks like this:

Code:
?xml version="1.0" encoding="UTF-8"?>
<Questions>

[code].....

View 4 Replies







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