Actionscript 3.0 :: Playing External Mp3 Voice Overs?

Mar 16, 2010

I have an old as2 animation project with multiple voice overs that I am trying to update to AS3. One issue I have run into is playing voice overs where the animation stops until the voice over is done playing and then it advances to the next frame and another voice over plays. I created a new sound object, sound channel and so on for my first sound. If I place the same code on the next corresponding frame like I did is AS2, I get a bunch of errors, mostly duplicate function errors. I suppose I could change the variable names if I had just a few voice overs but I have several hundred. This creates a problem as you can see. All the googling I have done has not resulted in any useful information. So my question is - how do I do this? I put my old AS2 code in the comments tags.

Code: Select all/*_root.stop();
// Load voice
VSound = new Sound(Voice1_mc);

[code].....

View 14 Replies


Similar Posts:


ActionScript 2.0 :: Sound Switching - Allows A User To Select If They Want Voice Overs Played Or The Standard Beep Beep (fashy Sounds)

Apr 4, 2008

im wanting to create a simple feature in my flash ap that allows a user to select if they want voice overs played or the standard beep beep (fashy sounds) i have three buttons (onBtn, offBtn and rollMe). does anyone know how i could do somting like... if onBtn is selected then.. on rollover 'rollMe' mySound1.start(); else if offBtn is selected then... on rollover 'rollMe' mySound2.start();

View 6 Replies

Flash :: Live Voice Chat With Manipulated Voice Audio With RTMFP

Mar 27, 2012

We are building a live RTMFP voice chat application with Cumulus. While the basic voice transfer works pretty easy using NetStreams, we have one big problem:There does not seem to be a way to manipulate the microphone data that the NetStream sends, and also not a way to manipulate the data the listening NetStream receives before it is played.However, this is exactly what we need. We do not want to transfer the normal microphone recorded audio, but first pitch it, then send it, then play it. Or first send it, then pitch it, then play it. But it seems that the whole audio recording, speex encoding, speex decoding and audio playback is completely encapsuled within the NetStream class.The only ways to achieve what we want (and all of them removing NetStream completely) seem to be:Send raw pitched audio data. That does work, but is of course a lot of data to send and will likely not work fast enough outside of our local LAN testing.

Pitch audio data, convert to ogg/mp3 using existing encoders for flash, send, decode ogg/mp3 and play. But this would mean encoding each and every sample packet that is received from the microphone, adding header stuff, etc. So this would likely not even yield that much of a benefit compared to raw audio data.2.1. This would actually be a good way if there was a Speex encoder/decoder for flash. But ironically, there is none other than the built in one (which is used for encoding/decoding audio in NetStreams) that cannot be explicitly used. ot offering it, Adobe...Send the data to the Cumulus server, pitch (and probably convert) there and send to the recipient. This would likely not even be that much faster than 1. and also throw away the exact benefit of RTMFP, P2P communication.

View 1 Replies

Actionscript 3 :: Record Voice And Playback Voice With A Delay Using Flash?

Mar 9, 2012

I've been working on a Flash script that allows the user to speak and playback what the user is saying after certain but exact time, say 10 seconds.

View 1 Replies

ActionScript 3.0 :: Detect In The External Swf That The User Click Another Menu Voice?

Apr 16, 2010

I'm going to create a new website where i've a main swf that loads all the other that are called by the menu. I'm going to use swfaddress for deeplinkng, but my question is: when the user click on one menu voice the main swf load an external swf. now, when i click on another swf i must make a out-transition of the current loaded how can i detect in the external swf that the user click another menu voice? Or i must do the out-transition in the main swf?

View 1 Replies

ActionScript 1/2 :: Moving MCs On Top Of Other MCs Using Mouse Overs

Nov 25, 2009

I have four buttons on the stage. Each one shows a block of text when when the mouse is rolled over it (the text is on the Over frame of the button's timeline). The problem is that some buttons get shown on top of the text. How do I make it so that when the mouse is placed on a button, that button is moved on top of all the others so that the text appears over all the other buttons?

View 5 Replies

ActionScript 3.0 :: DropTarget And Mouse Overs?

Feb 21, 2010

I have a drag and drop based SWF. When I pick up a MC and move it , when I put it down it gives me the MC it is on.However there are times when the returned MC isnt the intended MCEg. The top of the MC is *just* on top of One MC but the mouse pointer is over another (the intended spot), So I am trying to find out if there is a way to return the MC that the mouse is over, rather than the MC's top left corner.

View 1 Replies

Roll Overs Show Up In Blank Space?

Apr 16, 2010

I created a demo where when you roll over parts of the product, in the white space to the left it displays the text information about that part of the product. The rollovers work great, however if you run your mouse over the blank area (where the rollovers would show up), it treats that as the rollover too. Below is the URL for the test page.

View 1 Replies

ActionScript 2.0 :: Roll-overs Each State - Photo + Some Text Appear In The Same Scene

Oct 24, 2006

I've created a U.S.Map with roll-overs for each state. What i want is that when you roll-ver each state, you can see a photo + some text appear in the same scene. The idea is that, eachstate has a different photo+text that appears when you roll over it. How do I do this using actionscript? I have attached a raw .fla file I have started, in order to see what I'm talking about. click on "HIV" button to view the roll-overs already created. All I need is to add photos to each U.S. state now??

View 8 Replies

ActionScript 3.0 :: Flash - Using Nested Movieclips - Do Not Respond To Roll Overs

Aug 9, 2010

In my ongoing quest to learn AS3 I am rewriting some of the many, many interactives I have done in AS2. There have been several AS2 interactives where I have used a map of California. The map itself is a movieclip and within that movieclip, all the counties are movieclips that function as buttons and above the counties are the county names which are also movieclips. In other words when you mouse over the counties they do things; the most simple being the county name alpha goes from 0 to 1. In AS2 all the movieclips respond to roll overs even though they are physically obscured by other movieclips within the main map movieclip.

In AS3 the county movieclips (which are on the lowest layer within the main map movieclip) are obscured by other movieclips on higher layers and do not respond to Roll Overs etc. When I move the county movieclips to the highest layer within the main map movieclip, they work just fine. Of course then they obscure all the map details such as roads, labels, etc. Is there some setting to allow movieclips to be read through other movieclips that are physically above them within a main movieclip.

View 2 Replies

Professional :: Mouse-overs - Display A Textfield In The Code Snippet Menu?

Apr 7, 2011

I'm looking for something similar to the click to display a textfield in the code snippet menu. I want the textfield to appear when i hover over the box and for the textfield to go away when the mouse is no longer on the box. How do I do this?

View 5 Replies

ActionScript 2.0 :: Unpredictable Flash Behaviours, Button Roll Overs, WMODE?

Jun 30, 2009

I'd just like to point out my experience to help others. I know this isn't new, but it got me, so I suspect it'll get someone else too. I'm using flash 8 and AS2 to author a navigation menu and have roll over functions and roll out functions with if statements since it's a multi level menu and I was getting all kinds of strange behaviours with button behaviours not working correctly when testing in firefox. Turns out it WAS something to do with firefox's handling of the transparent WMODE. I'm using SWFObject. After disabling WMODE transparent everything works as it should. Not saying my programming skills are right, but at least everything's getting compiled correctly and the results are consistent enough to test and make progress.

View 0 Replies

Make An Interactive Flash Application That Works By Detecting Mouse Overs And Clicks On Various Buttons/movie Clips?

Oct 10, 2009

I am trying to make an interactive flash application that works by detecting mouse overs and clicks on various buttons/movie clips and then moves to the appropriate part of the time line. But I am having an issue when I use more than one addEventListener in any one frame. I have attached the code for one such frame below. When I comment out the addEventListner and the other code relating to the followBall function this works fine and directs the user to frame Inlet_Valve_Open_Frame but now only the followBall function is working and when i try to click on the Inlet_Valve_Button movie clip nothing happens.

I have never read all the help files on the adobe flash CS3 as i don't have time and i have built this code up based on examples i have found online. I wanted to include my fla file but it's to big 6Mb. But i have attached the swf so you have an idea what i am doing.

Code: Select allstop();
//1.
stage.addEventListener(MouseEvent.MOUSE_MOVE,followBall);

[code]....

View 1 Replies

Stop External SWF From Playing?

Jun 8, 2009

Ive got a project with a fairly complex arrangement of menus and a narrated tutorial of sorts that is large (in terms of Mb) compared to the menus themselves. Since the tutorial is likely to be played only once, if at all, I don't want to load the asset unless needed. To do this I'm using the following code to load an external swf (the tutorial) and attach it to an mc container (mc_launch). A loader bar will be added later but for now it works, except: if the user navigates away from the tutorial (jumps to another frame in the menu timeline) the audio of the child attached to the mc_launch continues to play even though the instance of the mc_launch is no longer on stage. Shouldn't all the child objects of the container go away once the instance of the container is gone? If not, do I specifically have to execute a mc_launch.removeChild(loader) before navigating away from the instance of mc_launch?[code]...

View 5 Replies

Playing External .FLV File(s)?

Aug 24, 2009

I am fairly new to Flash and working with MX 2004 with Flash 2. I have tried several methods to play an external .FLV file. Some ideas from this forum and some from the Flash help system. Either I don't understand them and/or I am not implementing them correctly but nothing has worked. I have read of an FLVPlayback component and my system has a MediaPlayback component in the Component window. I have also seen yards of actionscript to play such files. Can anyone supply me with a basic/simple method, with code/example or buttons-to-push if necessary, to have an .SWF play an external .FLV via my MX 2004 system?

View 3 Replies

IDE :: Playing External Swf's In Rectangle?

Oct 10, 2009

I've got a flash site that's done in Action Script 2 in Flash CS3. On the gallery page I want to be able to load and play the external swf slides that the links point to where the black rectangle is instead of in seperate windows. I've tried all sorts of things but I just can't figure it out.

View 1 Replies

ActionScript 2.0 :: Playing External Swf's In Rectangle

Oct 11, 2009

I've got a flash site [URL] that's done in Action Script 2 in Flash CS3. On the gallery page I want to be able to load and play the external swf slides that the links point to where the black rectangle is instead of in seperate windows. I've tried all sorts of things but I just can't figure it out.

View 2 Replies

Loading And Playing An External SWF In Flash CS3?

May 5, 2009

I've been trying to figure this one out for a couple of days now, and it's driving me nuts! I'm new to flash (I'm using CS3 with AS2), but I've managed to convert a template into an almost finished site. My problem is this: I've made an external slideshow swf which works fine if used by itself. It's saved as a flash 7 AS2 according to the program (Aleo Slideshow Gallery Maker) used to generate it. It's in the same directory as the main swf file. I'm not sure of the code to load and play the external slideshow swf with a button in the main swf file. Do I need to change the html as well as the swf script? I've tried all sorts of things, but I can't figure the script out on how to finish the flash to include the slideshow. The SWF files inquestion are attached - I'm just using sample iamages at the moment. When I go to the gallery page, I want to be able to click on the fly to load and play the slideshow.

Attachments:
slide_btn.swf (17.8 K)
backup70.swf (881.4 K)

View 3 Replies

ActionScript 3.0 :: Playing An External .mp3 File?

May 5, 2009

stop();var pausePoint:Number = 0.00;var isPlaying:Boolean;
var soundChannel:SoundChannel = new SoundChannel();var sound:Sound = new Sound(new URLRequest("Sounds/Music_File_2.mp3")); 

[Code]...
 
I am trying to play the .mp3 file called "Music_File_2.mp3" the music file is in a folder called "Sounds" 2buttons called Play_btn and Stop_btn plays and stops the music. Once the music playing if i click on the play button the music will pause.
 
Everything works fine when i launch the program though "Flash Player 10". but when i right click and open the .swf file with Internet explorer the whol project works fine, but the sounds would not play.

View 5 Replies

ActionScript 3.0 :: External SWF Sounds Playing Over Each Other?

Aug 26, 2009

Does anyone have any clue on how to unload an external swf with all its sounds?

View 1 Replies

ActionScript 3.0 :: How To Stop External SWF From Playing

May 25, 2010

I am having a problem stopping external swf from playing. I am currently using FlashCS4 and publishing to Flash Player 10. I would really like to use the code
"loader.unloadAndStop();"
to stop the swf. I tried using it but I keep getting the following error:
1061: Call to a possibly undefined method unloadAndstop through a reference with static type flash.display:Loader.loader.unloadAndstop();

I read somewhere that since the swf files were published in Captivate (also using Flash player 10) I have to load the swf into a flash movieclip first then try the loader.unloadAndStop code.
fscommand("allowscale","false");
fscommand("showmenu","false");
//import flash.display.MovieClip;
var Xpos:Number = 220;var Ypos:Number = 105;
[Code] .....

View 7 Replies

ActionScript 1/2 :: Empty Mc Not Playing External Mp4?

Oct 4, 2010

Before the mp4 plays I have a preloader set up in Frame 1to preload the movie and play in Frame 3.

myLoaded = Math.round(getBytesLoaded());  myTotal = Math.round(getBytesTotal());  myPercent = myLoaded/myTotal;if (myLoaded == myTotal)
{  gotoAndStop(3);} else {  gotoAndPlay(1);}

[code].....

View 5 Replies

Flash :: AS3 Playing / Communicating With External Swf

Sep 2, 2011

so im bringing in a test external swf like so:

[Code]...

this simple external test swf has 10 frames. @ frame 1 theres a "intro" label, @ frame 5 theres a "stop" action, and on frame 6, theres an "outro" label. problem is that, when i click the button, it reloads the external swf and plays from frame 1.

View 3 Replies

Flash :: Playing Swf External File?

Dec 19, 2011

I want to play a external SWF file (which is in server) in client side. It is working when I run through flash, but when double click on .swf it shows a dialog box:

Adobe Flash Player Security To let this application communicate with the internet click Settings.

So what settings do we need to change to play the swf file?

View 1 Replies

ActionScript 3.0 :: External Swf Audio Keeps Playing?

May 21, 2010

I have a big problem that the audio of the external swf keeps on playing on top of other swf after clicking another button.

I have about 22 external swf files that are called up after clicking on their respective button. However, the audio keeps playing on top of the new swf that is selected. It thought the "removeChild(loader);" would work but it doesn't remove the audio.

I don't know if this may be an issue, but along with every swf that plays there are 3-4 .flv videos that are included in the swf. I have included the code.

import flash.display.MovieClip;
var Xpos:Number = 220;
var Ypos:Number = 105;
var swf:MovieClip;

[Code].....

View 6 Replies

ActionScript 3.0 :: Removing External SWF When Done Playing?

Oct 10, 2010

So I am loading an external swf clip into my project. When it finished playing, I want to remove it. How do I track when its finished playing?

View 4 Replies

Actionscript 2.0 :: External .swf Preloader Playing Before %100

Feb 16, 2007

Below is the action script to load an external .swf and display the preloader (typical 100 frame). My problem is that, the .swf will begin to play behind the preloader as the content is still loading, it will not wait for the content to fully download. I appear to have everything setup almost exactly like most of the MovieClipLoader tutorials i've seen and I cannot fix this problem.

Code: Select allvar myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);

[Code].....

View 7 Replies

ActionScript 2.0 :: How To Tell External SWF To Start Playing

Nov 24, 2003

I need to tell a external movie (.swf file) to start play when I click on a button. I have made a site in dreamweaver where the topframe is in flash and the middleframe in html and the bottomframe in flash. I have 2 buttons on the topframe and I want when I click on one of them the
bottom flash file starts to play.

View 1 Replies

ActionScript 2.0 :: MovieClipLoader Not Playing External Swf?

Jan 23, 2007

I am using MovieClipLoader to load a swf. The external swf has about 12 images on it that just show up one after another. But only the first frame displays.

My code:
[AS]
var empty_mc:MovieClip;
var mclListener:Object = new Object();
var myMCL:MovieClipLoader = new MovieClipLoader();

[code]....

View 11 Replies

ActionScript 2.0 :: Tell A External .swf To Start Playing?

Nov 24, 2003

I have made a site in dreamweaver where the topframe is in flash and themiddleframe in html and the bottomframe in flash.I have 2 buttons on the topframe and I want when I click on one of them the bottom flash file starts to play.

View 1 Replies







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