ActionScript 1/2 :: Sound Linkage When Loading Movies Into Movies?
Jan 16, 2007
I have an intro.swf file that is basically a movie with sound that is exported for actionscript but not exported in the first frame. I just stuck it in a movie on my timeline and it works great and the preloader works because it doesn't load the sound before the preloader. I use :
musicSound = new Sound();
musicSound.attachSound("music");
musicSound.start();
to play the sound in intro.swf.
However, now this intro.swf gets loaded into an index.swf and everything works fine and the sound plays as long as I have the sound included in BOTH the intro.swf and the index.swf and the sound is exported on the first frame in the index.swf. I was hoping I could remove the sound entirely from my index.swf since it already loads into the intro but so far
View 9 Replies
Similar Posts:
Apr 28, 2010
I made a movie that has sound in it being activated and deactivated by using the sound object and linkage id's and it works like a champ.Now i take that movie and load it into another movie like so.....
actNav_mc.loadMovie("test.swf");
Now the sounds dont play or work.So just for fun i brought the sound files into the library of my _parent movie and the sounds worked. Since i must have the sounds in the loaded file this is not a viable option. I then tried using the import linkage on an empty mc in the parent movie and it worked but i could shut the sound off.What i originally had....
navloop_sound = new Sound();
What fixed it....
navloop_sound = new Sound(this);
View 1 Replies
Apr 26, 2004
I made a movie that has sound in it being activated and deactivated by using the sound object and linkage id's and it works like a champ.Now i take that movie and load it into another movie like so actNav_mc.loadMovie("test.swf");Now the sounds dont play or work.So just for fun i brought the sound files into the library of my _parent movie and the sounds worked. Since i must have the sounds in the loaded file this is not a viable option. I then tried using the import linkage on an empty mc in the parent movie and it worked but i could shut the sound off.I spent all day on this and as i was typing this thread i found a fix..
View 4 Replies
Mar 6, 2007
I made a movie that has sound in it being activated and deactivated by using the soundobject and linkage id's and it works like a champ.Now i take that movie and load it into another movieike so.....actNav_mc.loadMovie("test.swf");Now the sounds dont play or work.So just for fun i brought the sound files into the library of my _parent movie and the sounds worked.Since i must have the sounds in the loaded file this is not a viable option. I then tried using the import linkage on an empty mc in the parent movie and it worked but i could shut the sound off.
View 5 Replies
Apr 26, 2004
I made a movie that has sound in it being activated and deactivated by using the sound object and linkage id's and it works like a champ.Now i take that movie and load it into another movie like so actNav_mc.loadMovie("test.swf");Now the sounds dont play or work.So just for fun i brought the sound files into the library of my _parent movie and the sounds worked. Since i must have the sounds in the loaded file this is not a viable option. I then tried using the import linkage on an empty mc in the parent movie and it worked but i could shut the sound off.[code]
View 4 Replies
Oct 25, 2005
I have been having trouble creating a movie clip with a reverse rollover effect within a movie which has a reverse rollover effect. that sounds confusing
In essence I wish to create a panel that rolls out on rollover and rolls back in reverse when the you rollout. I have done this using this script
[Code]...
However I wish to make movies within this movie that have the same effect on them. But when I create another movie or button within this movie it is not registering on rollover. I guess because the script on the main movie overrides it?
View 2 Replies
May 24, 2003
I am creating a calendar and only one part isnt work. That part is the movie (mc_nav). I have the mc_nav movie on each month's stage. The buttons are named correctly since I used normal modes reference thingy to double check the references. I am trying to have it move to the next frame in the movie, or back, or to the 3rd frame etc. The first section (NAVIGATION BUTTON LINKS) works fine. It is just when I try to navigate on the Scene 1 stage, from a movie within a movie, that the trouble arises. Each of the month movies (mc_sep, mc_oct, etc) have mc_nav placed on them. Then the month movies are placed in Scene 1 on each of their respective frames (mc_sep = 4, mc_oct = 5, etc). When testing the movie and I am sent to any month page, the navigation (mc_nav) wont work. The syntax according to the flash debugger is correct. The action script goes all the way through to the last frame (13) and the stop(); command is set to stop the movie at frame 3 (the splash page).
[Code]...
View 2 Replies
Mar 29, 2011
When I tried to import music to flash animations I have created, I received error message that: One or more files were not imported because there were problems reading them.
The platform: Mac AA audio file Encoded with iTunes 10.1.2, Quick Time 7.6.6
Is it because of the audio file format that music cannot be imported? If so, how can i convert it to the compatible format?
View 5 Replies
Jan 18, 2010
Most of my flash movies have been reasonable sizes, but the one I'm working on now is kind of a beast. It's up against the 16000 frame limit, so I'm looking into ways to chop it up. The problem is that I need a way to keep my background music playing across multiple scenes or movies. Is there a way to start a sound file in one movie, and have it continue when another scene is loaded or when a second movie file is loaded with ActionScript?
View 3 Replies
May 3, 2010
I have been creating mini product movies in Flash using sound recordings, key frames, and tweens. This is the 5th in the series, and just NOW I'm having problems.I had my frame rate set to 30fps with one long sound bite, about 2.5 minutes. Everything looked fine on my end, but when I loaded it into a landing page in IE, everything was out of sync, but only on other people's computers. It still looked fine to me.
I compressed the sound file more, which helped some, but did not aleviate the entire problem. I noticed the frame rate when I did a quick preview (just pressed enter) would fluctuate from the 30 fps all the way to 9 fps.I then cut the sound bite up into 13 segments,shortened the tweens, and reduced the frame rate to 18fps. In development and in preview, it looked fine. However, when I put it into the landing page, the animation was way too fast for the sound and the sound bites looped.
View 3 Replies
Apr 16, 2010
I am trying to load some of my Flash Movies abit faster. I had read somewhere that i should use certain commands to bring the sounds out of the library after the SWF or page is loaded. I think i am suppsed to use Event listeners or call on the sounds somehow?? Does anyone understand what i am saying OR have any tutorials or links to tutorials that i can look at with regards to calling sounds?
View 1 Replies
Oct 31, 2009
I have always the argument with my colleagues which authoring strategy to use. I always attached to the idea of authoring several swf files, and have them all loaded to the main swf when needed. And than attach Preloader to each swf that I load.
Others think that it should be only one swf with one preloader. And have all the navigation to use scenes or goto actions.
So the advantage of using my strategy is that users will not wait too long for one movie when its being loaded. And its more convenient to work on several fla with each have its own layers, symbols, etc
View 6 Replies
Sep 21, 2009
I want to create a website having one main stage file(main.fla) with different swfs(movie1.swf, movie2.swf,movie3.swf) for various sections. Am not sure what I am doing wrong here but somehow when I click the button it does not load the respective flash file
View 6 Replies
Oct 1, 2009
I am creating a presentation which has a main flash and then 3 sub categories to it. Main.fla is nothing but a container to load the other movies into. I could get the the first movie (movie1.swf) to load onto main.swf by using the foll code:
this.createEmptyMovieClip("empty_mc",1);
empty_mc.loadMovie("movie1.swf");
empty_mc.x=0;
empty_mc.y=0;
Now the problem is in movie1.swf the menu is like on the 3rd level, i.e. main stage>menu_mc>menu (where the buttons are).
How can I add a code on level "menu" so that when I click button2 or button3 it loads movie2.swf and movie3.swf respectivley onto the main stage. Makes sense or am making it too confusing..
I want to try this breaking a big movie into smaller parts functionality so that I can understand flash more.
View 1 Replies
May 5, 2009
i have a photography website, the main 'index.swf' file has two scenes, one for the loader and one with the content.i have a navigation menu:item 1, item 2, item 3, and so on. i have 10 layers, my nav menu is on layer 10, at the very top.i also have a a layer for each one of my navigation menu content. Now i click on item 2, and i load a external movie clip called "fotos_mc" on to the stage and inside this movie clipe i load pic1.swf using: loadMovie ("pic1. swf", 1);it loads fine, except that it loads on top of my navigation menu, logo and so on, even it's on a layer that's under the layer where i have placed my menu and logo. is there a way that i have load my movie so that it displays behind my menue?
View 3 Replies
Feb 5, 2010
i am trying to create a swf file that contains 3 movie clips inside of it. i want the swf file to randomly choose one of those movies and play it.
i am on a mac with flash cs4.
View 1 Replies
Dec 31, 2003
is it possible to keep the loaded movies and then attach them to a mc ?The thing is that I have several external resources to load and I wish to attach them pour MCs along the execution of the movie.
View 2 Replies
Feb 13, 2004
on one of the tutorials to load a movie it teaches you how to load with a button...
but.onPress = function () {
_root.createEmptyMovieClip("container", 1);
loadMovie("loaded.swf", "container");
[code]....
View 4 Replies
Feb 17, 2003
i want to load an external swf movie into the main swf movie. now ive been using the loadmovie script and it works fine but the loaded movie comes up in the top left of my site so my ? is, how can i specify the location of where my loaded movie ends up
View 3 Replies
May 30, 2005
I got some movies loading in a container, but the movies stay open, I want to be able to "close" the container, or hide it when I click on other navigation buttons that are included in my main timeline.
View 3 Replies
Nov 15, 2006
Basically I have a primary navigation and secondary or nested menu on one menu item. The following load movie script works fine on the primary menu on the root:
about_mc.onRelease = function() {
createEmptyMovieClip("container2", 1);
loadMovie("about2.swf", "container2");
[code]....
View 1 Replies
Jun 18, 2003
how can i load 2 .swf movies simultaneously through one load movie action button ?
View 7 Replies
Jul 17, 2003
I read the tuts on dynamic loading etc (the one about external stuff like mp3s, jpgs, swfs; and the one with the transitions). I'm messing around with it in MX and all works fine, except the problem I have is I cant check it locally! the bandwidth simulator and profiler doesnt seem to work with loading external content, the movie appears immediately.
So I tried loading the swf from the web (i.e. URL = file://[URL]) that gave errors "opening file" (the movie is there though). my only solution so far is to keep uploading my movie everytime I wanna check it!!! which is CRAP! I dont have a network at home, so cant really use those bandwidth simulators I saw on the sticky. basically I juz wanna load an external movie, and see how the parent movie handles it (i.e. progress is kept track of correctly, loaded notifications work etc.) how can I check all this locally?
View 6 Replies
Nov 5, 2009
I got this tutorial about external movie loading. It works but it seems that their is a little problem with it. How do you keep the button from loading an external movie once it's loaded already?
[URL]
Let's BUTTON-1 loaded MOVIE-1, now when you click on BUTTON-1 again it will load the movie even if it's loaded. How do you do it like only when another button is clicked will it load the movie for that button.
View 2 Replies
Dec 31, 2003
is it possible to keep the loaded movies and then attach them to a mc ? The thing is that I have several external resources to load and I wish to attach them pour MCs along the execution of the movie.
View 2 Replies
Mar 5, 2004
I have a bit of an actionscripting dilema... I am trying load a movie ontop of another movie, so they are at different levels. This I can do ok, its just that when the new movie is launched and sits ontop of the old movie the buttons from the old are still active and interfere with the top movie. I know I could unload the old movie underneath, but my problem is that I want the user to be able to close the top movie to go back to the bottom movie at the place that they left it.!
View 5 Replies
Jul 7, 2002
I subscribe for this forum becausethis r the actions i have in my level 1
on (rollOver) {
startDrag (this, false, 250, 270, 750, 520);
Mouse.hide();
[code].....
View 7 Replies
Feb 28, 2010
develop a header splash like you see on many sites now.I have a few ideas. One is a list of images or clips with images embedded.On load teh first image loads up, then after a set time (30 secs),the second image fades in, the first fades out,and etc.looping.
View 8 Replies
Feb 5, 2011
I have a series of movies in my library (called page1, page2, page3... page87) and I'm looking to load the first one into a blank movie (called pageHolder).Using 'next' and 'previous' buttons, I then want to unload and load the next in the series of 'pages'. I'm trying to work out the best way to do this using addChild and removeChild, but not having much luck. I've read that the best way to do this entire sequence is to set up an array, but I have no previous experience with arrays.
View 2 Replies
Mar 16, 2011
I have 5 movies in my library, called question0, question1, question2, question3, question4. I linked them with export for actionscript. I have an Array, called questions. Then I have a button that calls the getQuestion function. But I get the following error:
[Code]....
View 2 Replies