Well, without, the volume control MC, the fade out works....perfect...depending where it is on the time line...when it reaches it , it fades. However, with the volume control, fadeout doesn't do anything.....
I have a small presenttion that have a Loop of a song starting to play on the Scene 1. The sound plays in loop along the several scenes and I want it to Fade Out on Scene 12. Is there any way to Fade Out without using a button to do that? I have tryed the Fade Out on "Effects" (on Properties panel), but doesn't work...
I'm trying to do a presentation of some Adobe Illustrator graphics in flash for an architectural presentation. I want to zoom in on some content and have new layers fade in and out. I guess this is done by tweens, as I had some success in that direction. The problem becomes obvious when I want to control my presentation. I want to set cue points/keyframes/whatever so that the presentation will start at the click of a 'next button' or a click og the mouse. Then I want it to stop at some point when the tween/moving around of objects is done, so that I have talking time before playing the next tween with a click etc.
is there a way i can use a listener to see if an flv is playing? if its playing, fadeout any other audio(besides the flv's)if its not playing, fadein.i got the fade part...but need to figure out how to tell if the flv is playing or not.
How to build the flash presentation in AS3 by loading movie clips from library. I have 3 movie clips in library mc_1, mc_2, mc_3 we have to play one by one.
I am doing a small presentation where a song (*.mp3) is gonna be played. I never worked with music in flash before. The music that is playing in the background is sounding horrible, lost its quality when I placed it in one of the frames. I am importing it by FILE> IMPORT> IMPORT TO LIBRARY. Is the process that I am using the one that is causing the lost of quality? And another thing, how can I know, by sure, how many frames I need in order to put the entire music?
I have got one movieclip in the scene. I want to play them in loop when my_mc fade-out it must starts to fade in and vice-versa. I want to play them in loop. The fade out function first works fine. But how to load fade-in after fade-out?
i am trying to hade in and fade out on the sertain frame. but i just can't figure out what's the problem.
ActionScript Code: var soundFadeInTimer:Timer = new Timer(100,50); soundFadeInTimer.addEventListener("timer", soundFadeIn); var fadeInIncr = 5; function soundFadeIn(e:TimerEvent){ [Code]...
I am creating a flash presentation for something that I'm doing at university on Friday, and the video is the only thing in the presentation that isn't working.The presentation I have some words, music and video and the words and music are playing fine (but the music and video are on the FLVPlayback thing so I think that's causing a problem, but I can't see how I can separate them) and the video comes into play.When I put the actionscript - stop() - at one bit of the presentation, nothing plays afterwards, and I'm wanting the whole thing to stop at the end of the music, and when a line of the presentation to come up (which is the last line) and then the video is just the one thing that is playing, along with this line which is stationary under the video.I've used Flash before, but not with sound or video as I had no call for it, but now I do its not working.
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.
Part of a larger presentation I've made, there is some background music. What happens is an XML file is read to get a file to play. It plays. When it finishes, it reads the XML again to get the new file. It can also stop when a video plays elsewhere in the presentation then I pick it up where it left off and start the process again. Trouble is, the presentation randomly stops. The music stops and the slides in the presentation stop. The music and slides come from a single XML file. There's also a third part of the presentation (a text crawler) that never stops.
This comes from a totally separate XML file. I never get an error, the presentation just stops on a slide and no more music plays, but the crawler keeps crawling. I've removed all the code for the music and it runs perfectly so it's obviously related to how the music is managed. So, finally, my question is how do I manage sound objects? If I need to create new objects for each sound I load and play, I'll need to do manage the sound from a single function, right? Something like:
Code: function whatever():void { if song is not loaded { read xml, load and play song; } else if video is playing { pause the song; } else if video has stopped playing { resume song; }}
I have a sound clip that I'm loading externally into my flash file. The code I'm using looks like this and is placed in the as layer on the first frame,
var mySound:Sound = new Sound(); var myChannel:SoundChannel = new SoundChannel(); var myTransform = new SoundTransform(); var lastPosition:Number = 0; mySound.load(new URLRequest("introaudio.mp3")); myChannel = mySound.play(); [Code]....
I am creating a game that has 6 movieclips all on the main time line of the game. Each movie clip has three buttons that when clicked plays, pauses or stops a sound clip.When I press any of the sound clip play buttons that sound starts playing, the problem is when I click any of the other sound clip play buttons those sounds also start to play. Is there a way I can disable the other sound clip buttons while the current sound is playing then enable all of the buttons when the current sound has stopped.
This is the code that creates one of the sound objects
So I made a few buttons with sounds within them and when I publish it they work just fine. But what I want them to do is;
Say I click a Button.The sound starts playing.Then I click it again, before the sounds done playing.I want it to stop the playing sound and start playing the button I just clicked on, whether it be the same button, or a different one.Right now it just ends up sounds like an echo because it'll play it as many times as you click it.
I'm trying to play a sound using a technique found here (play the sound by sampling raw sound data gathered from the original with extract()), with the difference that the mp3 sound is embedded in the swf, not loaded externally. This is my code:
var soundBytes:ByteArray = new ByteArray(); var mp3sound:Sound = Sound(new Sound1_design()); // this is the embedded sound mp3sound.extract(soundBytes, int.MAX_VALUE);
[Code]....
This works, in a way, except that the resulting sound is distorted (it has a kind of a metallic ring).
I am loading small sounds dynamically with the loadSound command. These small sounds are activated with a rollover. see script below. This works ok. however. i want the first sound to keep playing while the rollovers load sound. a bit like playing the piano. This works ok when i import all the sounds into the library and place them on their very own button. however the size of the flash movie increases to 140k. whereas when i load them dynamically the size of the movie is 20k. obviously i want to load dynamically.
But with dynamic loading each sound stops when another sound is rolled over, so that there is only ever one sound playing at once. I need to load the sound into a different level or something, so that the first sound can keep going while the smaller, shorter sounds play over the top. this is my script below. The first sound loads when the movie starts. This is the one i want to keep playing. Then there are the smaller ones with rollovers. does this make any sense? there's actually 13 little sounds.
ok so i have a button that plays an animation for fire when held down. and when realsed goes to and stops and frame one. when it reaches the end of the time line it goes to and plays at frame 10 and goes back to the end of the timeline. I have a sound for the fire animation that plays for the effect. The problem is the sound keeps going untill its over even if the button isnt held down. and when the playhead reaches the end of the timeline it goes to and plays and frame 10 and it replays the sound. if i hold it down it will just keep playing the sound over and over from start to finish. what i want it to do it when i hold the button down i want it to play the sound and when released it stops the sound where ever it is at. I also dont the sound to play again if there is a sound already going to stop it from playing 20 sounds at one time it gets loud and you need asprin after about 5 seconds of that.
I am so stuck on the simplest of transitions! I've just started using AS3 everything works fine so far, but I have been looking for weeks for a solution to this.... Please help me!!
I have a simple illustration with 4 buttons. Each button calls in a different SWF (movie) . The SWF fades into place and when you click on a different button it is removed and a new one fades into the same position.
My question is: How can I make the swf fade out completely after playing without pressing another button, so that I can see through my illustration in the background?
I am trying to embed some sound controls, and have hit a dead end. I made my play and stop buttons, imported my mp3,, assigned it proper linkage, and inserted this AS2 :
[Code]...
The buttons are named "play_btn" and "stop_btn" respectively. When I export it or preview it, hitting the play button does not do anything.... I hear no sound. What could be up with this?
I have created animated presentations (since now, I have just videos) for my seminars at the university with cinema 4D and I added some effects with After Effects (CS5). Now, I want to build an interactive presentation. That means:
- The (video projector) presentation starts with a video in a loop.
- When I click a button on the mouse/keyboard, the video finishes the loop until the end and
how to fade a sound out, but they all involve buttons or sliders. Is there a way in a frame-AS to start a 5 second fade out on a sound that has been loaded in a new _level and is activated with: