Loading Two Different Sounds For One FLV File?

Aug 8, 2009

I need a flv with two sound. I want to load load two different sound for one flv file. For example I want to load my flv file in frame 1 with sound 1 then I want to load my flv file in frame 2 with sound 2. How can I do it?

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Loading Sounds And Swf's?

May 7, 2002

I have a main movie loading a SoundMC which loads 12 swf's that contain mp3's with preloaders in each swf.

example LoadMovie("swfName","_level10")My issue is that when the swf loads it will load in the top left corner of my movie. So I put it inside of a movieclip and tried to attachMovie("clipname")setProperty._x = x; setProperty._y = x; but no Love. Should I put this in the Main timeline or in the SoundMC timeline or not use it at all?

View 6 Replies

ActionScript 3.0 :: Loading Sounds With Urlrequest?

Feb 4, 2009

this piece of code:

PHP Code:
var mySoundReq:URLRequest= new URLRequest("samplesound.mp3");
var mySound:Sound = new Sound();
mySound.load(mySoundReq);

How does the urlrequest know where that .mp3 file is located, and how do i tell as3 where it is? and another thing: when i put this on the web, how do i locate the file then?

View 6 Replies

ActionScript 3.0 :: Loading Sounds Before Playing?

Jan 16, 2009

There are 8 letters in the menu. Each letter provides a linkwhen clicked and a sound when rolled over. The letters will NOTAPPEAR on stage until their corresponding sound is completedloaded. I did this to avoid distortion during playback. The soundbit are pretty small as well. Anyway, the sounds are still distorted during playback and Idon't know why. They are all MP3. HELP PLEASE!! Here's the scriptfor one of the eight letters (movieclips) only to limit size you'llhave to look through:

public function Index() {
var D:MovieClip = new dMC();
D.x = 100;

[code]........

View 4 Replies

ActionScript 3.0 :: Loading External Sounds?

Jun 30, 2011

I am using this code to load an external mp3 file -

Code:
var snd:Sound=new Sound();
var context:SoundLoaderContext=new SoundLoaderContext();

[code]......

View 1 Replies

ActionScript 3.0 :: Loading Images And Sounds?

Nov 21, 2010

I made an app. I figured out how to load all my images into in.I have about 1000 images and 1000 sounds that I am using in it. About 70MB of data How will this affect a users computer? Is it even possible the load up this much content?I ask because I am getting stack overload error on my bulkloader!Scares me to think that months of work will go down the drain because I can't load this much data!

View 2 Replies

Actionscript 3.0 :: Loading Different Sounds With One Sound Object

Jan 9, 2010

I made some sort of MP3 player based on an XML file, and I want to load the next track when pressed on a button. Well that part works, the problem is, when I play the next song, this is what happens:

- The next song plays

- The bar that is normally buffering is already full

- When I skip to a part of the song, it skips to the first song!

How can I "clear" a sound variable and load another one?

View 3 Replies

Actionscript 3 :: Embed Versus Dynamically Loading Sounds?

Jun 4, 2011

It's got 5 tabs, and will give the user the options to play about 10 sounds per tab.I have initially been loading the sounds on runtime, so whenever the user clicked a button to play that sound, I would do something like:

var sound:Sound = new Sound(new URLRequest("assets/hello.mp3"));
sound.play();

I'm not sure, but I don't think this is very good, since I would be loading that sound over and over again if the user pressed the button too many times.

I then thought about embedding the sound in each of the views (I have one view per tab), so would embed the sounds whenever the view was loaded. I think this is a better options, but still am a bit unsure about how the embed works exactly.

[Embed('assets/hello.mp3')] private var hello_mp3:Class;

I suppose it simply embeds the mp3 files when the swf is compiled (making it bigger), but they would not be loaded anymore once the app starts, or once that view is initialized again.

View 4 Replies

ActionScript 2.0 :: Loading External Sounds Stored In An Array

Sep 11, 2007

I want to write a function that will load all of my external sounds stored in an array which are just strings of their filenames ie:

var soundList:Array = new Array();
soundList = ["sound1.wav", "sound2.wav", etc];

And create a new array with sound Objects that will have the sounds loaded in them (for later execution). After loading all of the sounds in the soundList array, the function should return or just set a _root value to 'true' ie:

[Code]...

View 1 Replies

Actionscript 3 :: Dynamic - Loading/Calling Sounds From String Array?

Mar 7, 2010

i'm attempting to instantiate a bunch of sounds by creating a string array containing each sound's filepath (or name).

var soundByName:Object = {};
var channelByName:Object = {};
var soundName:String;

[code]....

View 1 Replies

ActionScript 2.0 :: Use With Music Is Affecting All Other Sounds - Button Sounds And Background Sound

Apr 16, 2010

I followed the mp3player tutorial (part 3) from [URL] and got it working fine. Only problem is that the setVolume I'm trying to use with my music is affecting all my other sounds - button sounds and background sound. I'm aware of the createEmptyMovieClip/attachSound approach and got it working on my other sounds. But Lee's tutorial-mp3player is using a slight different technique, and so my normal approach doesn't quite work.

[Code]....

View 7 Replies

ActionScript 3.0 :: Synchronize Sounds Perfectly To Do A Kind Of Audio Mixer Using Different Sounds?

Feb 7, 2011

I want to synchronize sounds perfectly to do a kind of Audio Mixer, using different sounds. [URL] does it perfectly, I've been researching and researching and I just don't know how to do it! How does [URL] synchonize audio so perfectly? you can even change sounds and the new ones will come on time! How do I do that? Is it just Action Script? or something else?

View 1 Replies

Professional :: Sounds In Flash File

Oct 21, 2010

If i use sounds in a flash file, sometimes the fps will slow down. How do you get around this?

View 1 Replies

ActionScript 3.0 :: Accessing A Bunch Of Sounds In A Swf File?

Dec 24, 2010

I have the alphabet in a background picture, and when I click on the letter, the letter sound is played.  Simple enough.  I have all 28 letters in seperate mp3 files.  I can embed the 28 files into the swf. I want to use add the sound files to a vector, and then just play the appropiate sound based on the location that the user clicked.
 
My question is what is the best way to load all these sound files.
 
I could do something like this:
 
var sndVector:Vector.<Sound> = new sndVector.<Sound>().
sndVector.push(  new "name of class assigned to sound  1"()  );
sndVector.push( new "name of class assigned to sound 2"() );
....
sndVector.push( new "name of class assigned to sound 2"() );
  
I am kind of lazy, so I don't want to do that.  I could load the files at runtime, from a server, or my hard drive, by I would like to keep all the files embeded in the swf file if I can.
 
Ideally I would like to just throw all my sound files into the library, NOT assign them class names. (because I am lazy again), and then access them anyway form actionscript and push them onto the vector.

View 3 Replies

Flash :: Recording And Saving Sounds To File NOT From The Microphone?

Feb 3, 2012

I am trying to create a Flash application(more like a game) where a user can add sounds to a timeline and then play the resulting "song". That is not really hard to do, and the resulting track can be saved and played within my app, but the problem is that I would like to export the created track as a .wav(or .mp3). I know that recording from a microphone with MicRecorder is possible and then the record can be exported with WaveEncoder, but I didn't find a way to create a custom sound stream from multiple sounds and than export it. Is this possible?

View 1 Replies

ActionScript 2.0 :: CS3 Getting Sounds To Start Again After Using Stop All Sounds

Nov 29, 2009

I have a film with 4 scenes in it: Here's a link to the film and as you can see the film does not play the music the second time because of the StopAllSounds function which is probably the wrong code to use. The first scene is just a button with 1 frame, a stop action and a music clip. The second scene is the film. The third scene is the credits fourth scene is a Play again button. I have a Stop all Sounds action on the fourth scene because if I do not use it and I press the Play Again button, the music from the first song keeps playing but also the music from the film starts up again so it starts to play twice. What I want to know is, how do I get the music to stop at the end of the film but start up again once I hit Play Again?

I am using Flash CS3 if that helps and using Actionscript2.

View 2 Replies

Flash :: Professional - CS3 / CS4 Sound File Sounds Terrible - It Crackles And Sometimes Stutters A Bit

Jun 12, 2010

I am trying to create a soundboard and I have all my buttons and stuff, the only thing left is to put the sound files in. However, I have tried adding them to the library and dragging and dropping them over the HIT option like I usually do, but when I export the swf file, the sound file sounds terrible, it crackles and sometimes stutters a bit. I have tried setting these sound files to mp3 and raw in adobe options but with no luck. I am using actionscript 2.0 if that has anything to do with it. Also, I need these files embedded, not just linked.

View 2 Replies

Javascript :: Defer Loading Elements Until Flash Gallery Images From XML File Finish Loading?

Nov 15, 2010

How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.

View 1 Replies

ActionScript 2.0 :: Loading File Plays Before Loading Is Complete

Sep 4, 2009

I have a "loader.swf" after which my "main.swf" loades. I have used a loaderPro v3 (AS2) component. Doing that was easy but then when it starts loading, even before the loading completes the main.swf starts playing in the background. And i have no coding in my actions panel.

View 5 Replies

Media Server :: Connection Failed When Loading .asc File On Main.asc File

Jan 6, 2011

Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.

View 6 Replies

Multi File Preloader - File Start Loading Files But Does Not Loop?

Jan 6, 2010

what I'm trying to do is make a preloader that will preload about 20 external SWF files before it lets you get to my main file. I want to do this because my main file needs the SWFs to be ready to go once its done loading. I have looked around and i found a few ways to do this with the "if (loadedBytes>=totalBytes)" and the code loops back till the files are done loading... this would be just what i need but i cant seem to get it to work. the file just seems to start loading my files but does not loop and just runs the time-line even once i state what frames i want it to loop.

View 6 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);

View 7 Replies

Flex :: Extract A Zip File From A Zip Archive Without Loading The Whole File Into Memory

Mar 10, 2011

Is there a way to extract a single file from a zip file in Adobe AIR?

I'm using NoChumps zip library to extract files from a zip. In this library the entire IDataStream is loaded into memory and after that you can extract file entries easily. In cases where the zip is 5 to 10MB there are no problems. But when the zip is 80MB, which many are, 80MB is loaded into memory. This causes the app to crash and run slow on mobile devices. According to the zip specification,

"A ZIP file is identified by the presence of a central directory located at the end of the file, this allows appending of new files. The directory stores a list of the names of the entries (files or directories) stored in the ZIP file, along with other metadata about the entry, and an offset into the ZIP file, pointing to the actual entry data."

Also, I do not have control of the size of zip files but most average is 60 to 100MB. Files inside are ~4MB.

View 2 Replies

ActionScript 2.0 :: LOADING FILE. File Plays Before Loding Is Complete?

Sep 5, 2009

I have a "loader.swf" after which my "main.swf" loades. I have used a loaderPro v3 (AS2) component. Doing that was easy but then when it starts loading, even before the loading completes the main.swf starts playing in the background. And i have no coding in my actions panel.

View 2 Replies

ActionScript 3.0 :: Check File Name Case When Loading A File?

Sep 21, 2009

Is there a way to check file name case when loading a file? For example:

My URLRequest has this: "filename1.swf", but the actual file on the server is this FILENAME1.swf. Since the file names do not match case, is there a way i can have flash and AS3 catch this?

View 2 Replies

Data Integration :: Loading Remote XML File Into SWF File?

Jan 28, 2007

I have a problem loading remote XML file into SWF file. Im doing a banner for a client with adds that is supose to load constantly updated XML file from my clients server and load some images into flash form it. Everything works fine when i test the movie (CTRL+ENTER), but when i publish it and test it from explorer, XML file is just not loading into flash.

View 7 Replies

ActionScript 3.0 :: Loading Multiple Swf File Into A Main Swf File?

May 18, 2011

I have problem in loading multiple swf file into a main swf file. I will state the things clearly at first. I have a main Index file to which i have to load some swf files which i have placed in a seprate folder. I tried to load those movies to main swf file using loadMovie it worked well when i give the exact path of the swf movies in subfolders. Aslo it worked when i placed the entire swf files including the Index file on a single folder, this worked only on my local machine suppose if i copy those entire folder to some other Computer and tried to run the Index file it doesnt works if it is in an single folder it works. The thing i need is the Index file alone has to be placed on the main folder and rest of the Swf file has to be placed on sub folder so when i run the index file it has to load the required swf file from sub folder this even have to work when i run the application on some other computers.

View 4 Replies

ActionScript 2.0 :: Loading Frames On One .swf File From Another .swf File

Feb 2, 2009

[URL] I'm using 2 .swf files. The Main.swf file loads the portfolio.swf file when you click on the Portfolio tab. On the portfolio.swf page I have 4 buttons that go to different frames on the portfolio.swf file The buttons do not work when you click on them and I have no idea why.

View 4 Replies

ActionScript 3.0 :: Loading An Xml File File That Has 32mg?

Feb 7, 2009

Im loading an xml file file that has 32mg, and it is taking up to 30 minutes for flash to load it. Is it normal to take that much time to load a 32 mb file??

View 3 Replies

ActionScript 3.0 :: Loading A Swf File In Another Flash File

Dec 30, 2011

I have a website.fla and want to add a slideshow.swf to one of the pages.

View 4 Replies







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