Loading Swf Without Sound
I have in my main filemcEmpty.loadMovie("soundMX.swf"); in "soundMX" I have sounds and it works well but when I load it in the main file the sounds dissapear why?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 06-28-2004, 10:16 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loading External .swf With Sound... But No Sound Plays?
i am using...
loadMovie ("filename.swf");
to bring n external .swf in to a movie. it has sound, yet none plays when loaded...
this happen to anyone before??? what the heck am i doing wrong???
swf with sound: http://www.camthomas.com/process/con...preService.swf
loaded swf (click the square to load the swf): http://www.camthomas.com/process/context/loadTest.swf
Loading Sound With Sound Object() 'DAP'
Hello,
i was running a test in trying to preload mp3 dynamically using the loadSound function and notice that if am running DAP which is the download accelerator program the flash file doesnt work and instead DAP tried to download the mp3 file. however on diasbling the DAP it worked.
did any one ever encounter a similar problem? was there a solution
BG Sound And Loading Sound
ok I have 2 questions, both regarding sound-ish.
Q1: Ok, is there a way to make BG music in flash, so if even you did switch scenes it would be unaffected? Or something of the very same nature. And i need to do this for multiple tracks.
--------------------------
Q2: How would you make it so your movie would load up, but not the sound loops? So, for instance, I have the movie load up and one loop, which starts to play, and i have a music controller button, that can switch tracks(which i already have) but when you roll over the desired track number, a progress bar would appear and the loop would load, and then say 'Ready' and when it is clicked it would play.
SO how do you set it aside from original loading, and how do you set up its own loading 'sequence'
The Project:
http://www.sgi.c14.net
Skip Intro> Press 'Click Here' > Music Button
All help is greatly appreciated! PLease Post, or point me to a tutorial, anything helps!
Thanks
Nanascalala
Loading Sound.swf
Hey everyone, I'm trying to load a sound control movie clip from a flashkit fla.
http://www.flashkit.com/movies/Sound...66/index.shtml
The problem is when I try to load it into my main timeline on layer 44 it won't load the sound. I can see everything just fine though. Please excuse my ingnorance.
Below is the code from the fla.
Main timeline
song = new Sound();
song.attachSound("meinSound");
song.start(0, 999);
Volume Control Movie CLip
onClipEvent (load) {
oben = _y;
rechts = _x;
links = _x-100;
unten = _y;
}
onClipEvent (enterFrame) {
if (ziehen==true) {
_root.song.setVolume(100-(rechts-_x));
}
}
Pan Control Movie Clip
onClipEvent (load) {
oben = _y;
unten = _y;
links = _x-50;
rechts = _x+50;
zentrum = _x;
}
onClipEvent (enterFrame) {
if (ziehen==true) {
_root.song.setPan((_x-zentrum)*2);
}
}
Any help would be greatly appreciated. If their is a tutorial someone could point me to, that would be great as well.
Loading Sound
hi
Is there a way to load sound for next scene while user is watching the first
i have to play a 15min sound track but each scene will be about 2 min
thank for help
Simo
Loading Sound
how does this site get their songs to load so fast using flash?
http://www.thegetupkids.net/
Sound Not Loading
Background
SWF 1 - Base Movie
SWF 2 - Background Music - external background music that is loaded into SWF 1 when it starts playing
The problem.
The background music works locally. When I launch SWF 1 from my hard drive SWF 2 loads up and plays the background music.
It works locally but not on my website/host/server
When I link directly to the swf 1 movie through my browser
(example only) http://www.mydomain.com/assets/swf1.swf, the background music loads and plays.
When I go to the HTML page that contains the movie... it does not work. It will not load the background music....
It originally worked. I have not changed anything about how it loads or what or when or from where.
What is the deal?
Thanks
Scott
Loading Sound
how do i load an external swf file conating a sound file.
I dont want it activated just to startloading on my main movie, when entered.
Is there any demos you know of?
or just the code.
Loading Sound
Well , I have a Problem.
And That is loading sound. I wanna make an animation . But everytime i put a sound in it , the file get 500 kb or more . That's no good cause then i will a get a problem with loading this animation .
what can I do ?
here . example
Loading Sound
Guys I need help big time...i'm working on a site that has a main sound that plays through out the entire site. Here's the biggy.. I need 1. to load it from the server
2. i have 11 more sound files that i want to be able to load from a server through buttons. therefor i want the ability to stop ANY current sound and play whatever button was clicked.
I sure it's going to be some kinda of simple coding, but i've haven't done sound like this before so i nedd your help...
Thanx
Sound Loading
I don't want my sounds to load on the first frame, but if i turn off "export in first frame" in the "linkage" settings, my sounds don't load at all.
my problem is I have a loader on the at the beginning, but the loader doesn't start working until all the sounds have loaded first, so it somewhat defeats the purpose of the loader.
does anyone have any suggestions?
is there a "export in third frame" option or something?
my sounds are linked to a button, so i tried just exporting the button with the sounds (i.e. sounds.swf), and then load it as a LoadMovieNum on level 2 or whatever. the thing is, the sounds work fine in standalone sound.swf file, but then they stop working once i load them into a level on another .swf file
Loading Sound
Hello people,
Does anyone know how I can load my audio later.
Because at this time I'm working on a website
http://www.de-stijl.nl/index2.htm at I want to reduse my loading time.
I mean that you first load the movie, so people can view the site. And after
the movie is loaded, you load the audio.
Please HELP.
Thanks, greetings Edo van Apeldoorn
Loading Sound In Mx
Hi all
Going nuts here, having problems loading sound.
Ideally what I want to do is just load an .swf (test.swf) set up like this:
layer 1, frame 1 - stop();
layer 2, frame 1 - image of a circle
layer 2, frame 2 - image of a square
layer 3, frame 2 - sound starts here (timeline continues until sound ends)
I want to load it into a holding movie 'SoundHolder' like this
loadmovie ("test.swf", "_root.SoundHolder");
Then tell it to go to frame two when I need to use the sound:
_root.SoundHolder.gotoAndPlay(2);
This isn't working.
I also tried looking into the Sound Object in MX but can't get this working either! (I have the very latest player)
My code looks like this:
mySound = new Sound(this)
mySound.loadSound("testsound.mp3")
mySound.onLoad = function () {
mySound.start(0, 100)
}
any help would be much appreciated, like I said method one is how I'd prefer to do it.
Thanks
L
Sound Loading
I am putting together a website for an ad agency that includes severeral radio spot in MP3 format. Unfortunately, it takes the movie forever to load initially, because it loads all the sound diring the first frame, which come to a whopping 2.1mbs. Those without a fast internet connection wait several minutes befor anything even shows up. I could use a pre-loader to show progress, the wait is still too long. Any suggestions?
awol
Loading Sound
Hi,
I have a very annoying problem. For my friends band website I have created a video lounge whereby I have a number of external swf's which are called upon via a combobox, loaded into a movieclip (using loadMovie) and controlled by play, stop, rew, ff buttons. This works fine.
However, I have tried to replicate this for a music jukebox by creating external swf's containing imported mp3's rather than video footage, and the same procedure loads the music in and it plays fine, but the buttons no longer function!
Please, please, please can anyone suggest how this could happen!!! I can provide further details if necessary.
Any feedback would be much appreciated.
Steve.
Sound Loading
is it possible and how to load external sound filez *.wav so the user can choose which sound to play and it doesn't have to load whit the swf movie
thnx all
Loading Sound.swf
when loading a sound swf into another movie clip (from another swf). is there some way of makeing some kind of volume control too(along stop and play) into the sound swf????
if so please tell me
help is apreciated
thanks!
Loading Mp3 For Sound...
sigh...I swear I am going to have MORE grey hairs by the time I finish this site! I am building a site basically all in flash. I use the loadmovienum to load different swf files into the main body of the movie and that is all working just great. I want to have an mp3 play in the background...at first I just exported on the first frame but it takes a while to load the sound before my movie preloader even shows up..so that's no good.
I have read that the best way to do this instead of just exporting the sound on the first frame, is to load it into an empty movie clip on the main movie. I have looked at the tutorial on cowfly.com about sound and have tried to follow it but I can't even get the preloader to work much less hear anything!
so I guess my basic question is...how come I can't get the thing to work when I follow the tutorial! ok that's not really the question..the question is is there any scipters out there that can explain in simple terms what I need to to to not hold up my whole movie waiting for sound to load.
thank you!
Kari
Loading Mp3 Sound
I posted this in the newbies forum, but thought I would try here too just for more input.
sigh...I swear I am going to have MORE gray hairs by the time I finish this site! I am building a site basically all in flash. I use the loadmovienum to load different swf files into the main body of the movie and that is all working just great. I want to have an mp3 play in the background...at first I just exported on the first frame but it takes a while to load the sound before my movie preloader even shows up..so that's no good.
I have read that the best way to do this instead of just exporting the sound on the first frame, is to load it into an empty movie clip on the main movie. I have looked at the tutorial on cowfly.com about sound and have tried to follow it but I can't even get the preloader to work much less hear anything!
so I guess my basic question is...how come I can't get the thing to work when I follow the tutorial! ok that's not really the question..the question is is there any scipters out there that can explain in simple terms what I need to to to not hold up my whole movie waiting for sound to load.
thank you!
Kari
Sound Loading
Hi,
Is it possible to load a sound into the movie so later it can be loaded with the Sound.attachSound method, I'd like to do this so in my pre-loader I can load the sounds my movie needs from other files then later use them.
Note: Do not suggest putting the sounds in my library to begin with and setting linkage IDs for them, for certain reasons in regards to the purpose of the movie that wont work. Just saying so no one wasts posts.
Loading Sound
I was wondering what the best way to load in background music. So that it can also be muted/unmuted
Sound Loading Help
Working on an MP3 Player....I'm using a List component to display a list of possible audio files the user can pick from. When they pick the one they want, my mp3 Player loads the sounds, and it works great....however, when they pick a new one, I get this error:
Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
at flash.media::Sound/_load()
at flash.media::Sound/load()
at sounds_fla::MainTimeline/changeData()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at fl.controls::SelectableList/handleCellRendererClick()
I'm not really sure what to do from here....apparently sounds do not load the same way the Loaders do....like, when I load something into a Loader object and then load something else, the first thing just goes away....apparently the Sound class does not work that way.
Any ideas?
Sound Loading
Hi,
I am playing a cd on my site and there are a total of 5 tracks. I want to know if anyone can suggest the best solution to play the music as I am worry that playing the sound on the timeline might lag and becomes very slow as the file size of those tracks are rather big. Should I use the attached sound method? Or anybody has better suggestion?? Instead of having to import the sound into the library, is there such thing as loading it externally? juz like loading a jpg externally. Pls Help!!!! THX!
-Fion
Loading FLV With No Sound
HI,
I am streaming an flv through the following code:
//load/play flv
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
vidTV.attachVideo(stream_ns);
stream_ns.play("video.flv");
//
the flv starts playing with sound when it loads...how could I load it without sound and then have a mute/sound_on button to turn on and off it's sound?
I've tried making a movieclip, a button and added some more actionscript and doesn't work:
//sound object movieclip actionscript
this.createEmptyMovieClip("vSound",this.getNextHighestDepth());
this.vSound.attachAudio(ns);
var so:Sound = new Sound(vSound);
so.setVolume(30);
// button actionscript
butMute.onRelease=function()
{
if(so.getVolume()==0){
so.setVolume(90);
}else{
so.setVolume(0);
}
}
Thank you for the help
charles,
Loading Swf Without Sound
I have in my main file
mcEmpty.loadMovie("soundMX.swf");
in "soundMX" I have sounds and it works well but when I load it in the main file the sounds dissapear
why?
Loading Sound (again)
Ok, how do i load a sound on click of a button? Using
on (release) {
whatever
};
that way.. does anyone know?
Loading Sound
Hi all
Going nuts here, having problems loading sound.
Ideally what I want to do is just load an .swf (test.swf) set up like this:
layer 1, frame 1 - stop();
layer 2, frame 1 - image of a circle
layer 2, frame 2 - image of a square
layer 3, frame 2 - sound starts here (timeline continues until sound ends)
I want to load it into a holding movie 'SoundHolder' like this
loadmovie ("test.swf", "_root.SoundHolder");
Then tell it to go to frame two when I need to use the sound:
_root.SoundHolder.gotoAndPlay(2);
This isn't working.
I also tried looking into the Sound Object in MX but can't get this working either! (I have the very latest player)
My code looks like this:
mySound = new Sound(this)
mySound.loadSound("testsound.mp3")
mySound.onLoad = function () {
mySound.start(0, 100)
}
any help would be much appreciated, like I said method one is how I'd prefer to do it.
Thanks
L
Loading Swf With Sound
Hi all
I try to play external loaded swf; these swf can have a stop() at the first image, but sometimes not.
Into these swf there is a sound.
So when I make a loadMovie, in case the swf doesn't have stop, it plays.
So I want whenever swf has stop or not that I can't ear sound only if I click on play(), and only if sound (swf) has completely been loaded.
What I've found is to set the volume to 0, but I loose few first minutes.
See attachment.
1.fla is the loader (player)
5405985.swf doesn't have stop at first image
ruedesetoiles.swf has stop at first frame
Loading Sound
Hello there
Is there a way to play sound without adding the sound file to the frames in flash?
for example when i press a button it goes to a movie clip that plays a mp3 file, im thinking it would be something like loadMovie when loading a .swf file. Is there a way for me to play a sound file like that??
thanks for the help?
quick question which program is better
Flash or Swish
I would think is Flash but a friend of mine differs
Loading Sound
hi
Im working with a very long narration voice, once compress, it still to heavy for low band user.
Anyone know how to load content while seeing first part
or load content in external file (mp3)
thank for help
Loading Sound
I want to make my website load all its graphics in a regular preloader, then, while you are looking at the site, I want the sound to load once its done playing. The sound is a fairly large file, and I don't want to reduce it. Is there a way to load the site then have the sound load, and once its done, have it play? Thanks
Loading Sound From URL
Does anyone know if it is possible to load into flash the audio from say an online radio station ?
in other words to reference audio through a URL rather than import it ?
Many thanks Dom
Help With Loading Sound From AS
HELP,
I have a typing game that I've put together.
fontWars
It works fine and it has a decent loader, BUT I am using sound objects loaded from Actionscript.
All the audio is loaded BEFORE the first frame plays... This ruins the whole point of a preloader, since on a 56k connection someone gets 20 seconds of blank before the preloader even appears...
Now I opened the sound in the library and unchecked "load in first frame" but then the sounds don't load at all!!!
-Grrrr
Is there a way to bring the sounds in immediately AFTER or DURING the loading sequence instead of before the first frame appears?
I'm sure it's a simple trick, but I don't know it yet...
Any help would be much appreciated
Loading Sound
Hey, Say I have a Mp3 that consists of background music and voiceover throughout the clip and around a minute long.
Would it be better to load the mp3 externally to the swf or embed it on the timeline of the swf???
Also, Why would one route be better than the other?
Thanks for anyone who replies! :D
Loading Sound Movie
Hello all,
I have no idea what the heck is goin' on... i have a flash site using multiple swfs. I have on swf called control which called all the swfs I need to start my movie (ex. intro, nav, sound etc.)
When the movie start playing the sound clip (only in the movie sound.swf, nowhere else, I checked) seems to load twice.... but only for one loop.
For one loop of the sound there are two distinct loops, about one second off of each other.
check it at http://www.genesiscomm.com/sugar
If it matter the sound.swf is just one frame with the sound clip in it.
Any help would be greatly appreciaited.
Cheers,
motiv
ps. the other wierd thing is that when I preview the movie with Flash Player on my desktop everything is just peachy.
[Edited by motiv on 07-24-2001 at 11:19 AM]
Loading Sound On Levels
This is a two part question.
First, for the main loop on my site. How do I set it to play on Level 1?
Second, I want to have a section where I display some of the loops I have created. I made this .swf which has a load meter on it. When I put a button with the
loadMovieNum("http://www.calpomatt.f2s.com/Loops/Sample1.swf",1);
script, the new loop played but I couldn't see the loadbar. Am I doing something wrong?
- Matt
PLEASE HELP With External SWF Sound Loading>
I've been trying to preload an external swf file containing all my sounds for nearly 3 days now!! I've tried numerous diffrent methods and followed various tutorials(as mentioned above). Still I don't have a working preloader.
At one point I had the sounds linking fine and playing locally, but the preloader still would'nt work, and running the movie locally in a browser there was no sound at all. Part of the problem is that I need full control of the sounds in the main movie in order to set volume, stop, start e.t.c.
So far I've found one .fla example that works, and lots that don't. I've tried recreating this sample file but it is overly complex in its features http://www.flash5actionscript.com/sampleloopmixer.php
Please can someone help me, I desperately need this working in the next 24hrs. If anyone can send me a stripped down example, or point me in a direction, it would be greatly appreciated!!
Loading Sound Seperately
i have a music loop in a movie clip which i want to load after everything else in the scene is loaded? How do i do this? Its probably dead simple but i cant do it being a newbie an all.
Dynamically Loading Sound
I know there has been a lot of information here and I tried to find out what I need by searching but did not find it. Here is the question: When I load and mp3 file into a single frame using this code:
Code:
mySound = new Sound();
mySound.loadSound("my.mp3",true);
and set isStreaming to true, I get the file playing but too fast and so it sounds pitchy. How do I get it to play normal of course dynamically?
Loading Movie With New Sound AS
Hi guys..
I have my main site that loads music.swf into a target clip.
In music.swf, I used the new Sound object and control the music with .start(0,999999) and setVolume(##).
Whhen I export the music.swf, it runs perfectly fine.. but when I load my site, I can see the animation in the target clip from music.swf but I can't hear the sound.
Does anyone know how I can fix this?
Thanks a lot..
Tony
Loading External Sound
I'm trying to load an external sound.swf into a MC using load movienum. It works, but a few problems... there's 2 sounds in the sound.swf on seperate layers. During playback of main movie, the sound just stops right after 1st sound plays, doesn't play second sound. I have 2 stop keyframes in the MC. In the sound.swf file, I have a stop keframe in the begininning and the sound is set to "start", at the end of sound, I have an action telling it to loop.
Can anyone help me or direct me to a tutorial?
Thanx in advance,
Christina
Loading Sound Problem
hi everyone
I need some help with loading an MP3 into a flash movie. check out this link to see what exactly I am talking about. www.djniaz.com
when you enter the website, click on the audio button at the bottom
left side of the turntable. the ARM turns and it loads sounds, while its loading the MP3 to play, everything else freezes until the sound starts streaming. and now let me explaine how i have done this. i have created a movieClip called ARM, and when you press the audio button the ARM movieClip is played and position where its suppose to be and also a sound object is attached to the audio button. if anyone knows what i am talking about please download the fla file
www.djniaz.com/home.fla and look at the code and please let me know what am i doing wrong or what should i do different.
Thanks in advance
najib
Loading Sound On Runtime
How can i load an mp3 file and play it at runtime? I want to be able to have a loading bar for whilst the mp3 is downloading
Loading Sound Failed
I'm bilding a sound menu with options for music on or off and different tracks to choose from. Loading the music via .swf (level 1) file works fine when I test the movie in flash but when I move the files on the web server I can only turn the music off.
I can't find a solution. What should I do?
flyzone
Sound Skipping When Loading From CD
I have a Flash MX movie running off a CD. The main movie (level0) has a main menu and each menu item loads an .swf into level1
Each of these 'sub movies' has a menu button in each scene and when you press the menu button I use "unloadMovieNum(1)" to get the sub movie out of the projector and the demo goes back to the main menu in the main movie.
The problem I am encountering is that sometimes the audio will start to jump and sound slow. It happens in random spots but always at the start of one of the sub movies. Once it starts jumping like this, it continues even if you go back to the main menu and into another sub movie. If you quit the demo and restart it the problem goes away and may or may not come back the next time you run it. I've been trying to fix this for waaay too long now and I'm at my wits end. If any of you have any suggestions how to fix this or theories about what might be causing this problem I would be forever grateful.
Problem In Loading Sound
I have loaded a sound file in my movie. I have used load movie for this. The problem is that when the flash is playing, I am unable to hear sound for few seconds. It is playing after somethime. I have a preloader in my site. But it is not loading the sound.
You may check the site www.geocities.com/salimsdesign. It is a big sized flash. About 300k
Please give me some solution
Salim
Problem In Loading Sound
I have loaded a sound file in my movie. I have used load movie for this. The problem is that when the flash is playing, I am unable to hear sound for few seconds. It is playing after somethime. I have a preloader in my site. But it is not loading the sound.
You may check the site www.geocities.com/salimsdesign. It is a big sized flash. About 300k
Please give me some solution
Salim
Loading Sound From Another Domain - Possible?
Ok, I'm loading up an XML list of sounds, and some of them are on other domains.
First,
I strip the URLs down to their base URLs and then add them to a quoted, comma separated list ('domainone.com','domaintwo.com','...'). The list is saved as a variable "domainList"
After I have this text list list created, I do this:
System.security.allowDomains(domainList).
Then I proceed to try loading the sound (my_sound.loadSound('url_of_sound/sound',true), and as I thought, I can't.
Is there any way to load sounds from another domain???
I thought the allowDomain method let the app have access to the domains listed. How exactly does this work?
Loading Sound Dynamicaly
Hello
I want to load sound dynamicaly. I have the .swf, .html and .mpc3 file in a same folder.
I have applied some action script in the first frame.
Here is the script:
s.loadSound( "music.mp3", true);
But it is not working. Shall I have to upload the files in a server and check it or it would work locally.
Or is there any error in the script.
Please help me with this.
Thanks
Salim
|