ActionScript 2.0 :: Loadsound() Not Working When Movie Is Loaded In Other Movie?

Mar 17, 2009

I'm made a flash movie[main movie 1] where another movie is loading using the "loadMovie()"[this is the movie2] command.my probblem is - when I'm trying to loadsound in to the second movie

Code:
var mySound1:Sound = new Sound(this);
mySound1.loadSound("music.mp3",true);

[code]....

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Can Not Working On Loaded Movie?

Dec 17, 2009

i have a chat page in flash, that works.but when i load the chat true a loader (loadmovie) it works but only the cam is not working (own cam).in my chat.swf this works

if (Camera.names.length > 0)
{
cam = Camera.get();[code].....

to view a local copy of the cam.the same fuction works it i put it in the loader.swf but when the chat.swf is loaded into the loader.swf the fuction does not work anymore.also not working when loaded true the loader

cam.onStatus = function (data)
{
tracer.text = data.code;[code].....

and works when loading the chat.swf directly.viewing camstreams works, but publishing and local view dont works

View 2 Replies

ActionScript 2.0 :: DropTarget Not Working When Puzzle Loaded Into Movie

Nov 14, 2002

I have a problem with _droptarget. I created a puzzle in witch the target works. Now I want to load the puzzle into an other movie, lets say in _level100. Everything in the puzzle works, except for the _droptarget.

View 1 Replies

ActionScript 2.0 :: Movie Clip Resize Not Working When Image Is Loaded

Oct 25, 2007

I'm having some strange luck in building an image slide show.I load the image paths into an array from an XML page and then step through the array elements w/ forward and back buttons.I have an empty image clip on the stage where I create an empty movie clip inside each time a new image is loaded.I load the image into the second movie clip like this:[code]Now, 98% of the time this works perfectly, but there is some certain times where the image resizing is completely ignored and the image gets loaded as it's normal size.Can anyone see why the image sizing get's ignored in some instance?

View 1 Replies

ActionScript 2.0 :: Form Mailer Not Working When Loaded Into Movie Clip?

Apr 19, 2004

I followed this tutorial for a form mailerHowever when I try to load this from my main swf into a movie clip holder, it no longer works. It only wants to work by itself, im a novice at flash/actionscript but im wondering if this is causing the problem by trying to get to the root of my main movie instead of the actual mailer.swf?

onClipEvent(data){
_root.nextFrame();
}

View 3 Replies

ActionScript 2.0 :: Level - Movie Is Not Working Anymore After Load It Into Other Movie

Aug 23, 2004

Let say A is the main movie and B will be a external swf file that i'm going to load into A movie. The problems is that, some actionscript(AS) in my B movie is not working anymore after i load it into A movie. I believe that the AS in my B movie is not working anymore because it is refer to A as the _root instead of B movie as _root. This can be a common problem. So, i wonder what should i change in the B movie AS in order to make it work in A movie.

View 3 Replies

ActionScript 1/2 :: Addressing Movie Clips Inside A Movie Clip That Has Been Loaded Into A ScrollPane

Jul 6, 2009

I'm trying to use the scroll pane component for the first time, and I've spent most of the day getting nowhere. Based on my experience with other components and with loading content into movie clips, I expected that I would point my scroll pane to its content and be off and running, but that hasn't happened.

[Code]...

View 4 Replies

ActionScript 2.0 :: Load A Movie From A Specific Frame And Unload A Previously Loaded Movie?

Mar 28, 2010

I am making a flipping page book in flash and have had to create sections in different movies because it kept crashing when i tried to have all the pages in the same movie. I have 3 movies 'page flip4', 'pageflip4-2', and 'page flip 4-3' . I have used the code below to go (flip bacwards) from 'page flip4-2' to the frame label ''backflip'' in 'page flip4'..This works fine

Code:
on (press) {
loadMovieNum("page flip4.swf", 1);
}

[Code].....

View 0 Replies

ActionScript 2.0 :: Target A Loaded Movie Within The Main Timeline And Stop Sounds In That Particular Movie Only?

Apr 14, 2004

Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?

View 4 Replies

ActionScript 2.0 :: Oaded Movie To Perform Some Kind Of Action (fade Out Or Whatever) While The New Movie Is Loaded?

Nov 12, 2005

I'm not sure how to describe what I'm seeking, but basically I have a movie loaded in a clip and when the user clicks a button, I want the loaded movie to perform some kind of action (fade out or whatever) while the new movie is loaded.

Probably something simple, but I'm an idiot,

View 2 Replies

ActionScript 3.0 :: Buttons In A Child Movie Won't Work While Loaded In Parent Movie

Jun 25, 2009

I have an external swf (sub.swf) that loads into my main swf. The external swf has buttons of its own...that I would like to use to load additional external swf's in its place. I click on the buttons and nothings happens.

My current code is as follows:

All of the following code is in my main.swf
================================
//Location where the external SWFs will load
var Xpos:Number=18;
var Ypos:Number=10;

[Code]...

External swf has no code except for a stop action.

I pieced this current code based on various articles I've found on the net.

View 4 Replies

ActionScript 1/2 :: Referencing _root.Button  From A Movie Loaded Inside Another Movie?

Oct 18, 2009

MainMove.swf is doing a loadmovie of SecondMovie.swfThe Button that loads SecondMovie.swf also disables other buttons in MainMovie.swfon (release) {  _root.intro_btn.enabled = flase;  loadMovieNum("SecondMovie.swf", 2);How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???

View 4 Replies

ActionScript 2.0 :: _visible Property Onload - Other Movie (menubar.swf) Is Loaded Before First Movie

Jun 27, 2005

I have 2 EXTERNAL movies being loaded with initial load of my site into my main.swf, one of which (movingbg.swf) is being loaded with a preloader. The problem is that my other movie (menubar.swf) is loaded before my first movie. I think I should use the _visible property to solve this and here is what I have so far...

[Code]....

View 2 Replies

ActionScript 2.0 :: Drag And Drop Movie Doesn't Work When Loaded On Another Movie

Jan 31, 2012

Greetings. I've been doing this tutorial. [URL] And worked pretty well. In order to adapt to my needs i made it a movie with a drag and drop parameter to be loaded in another movie (with loadMovie or loadMovieNum). The problem is than the movie loads, drags but doesnt drops. Even i tried with the example movie and nothing happens.

View 1 Replies

ActionScript 2.0 :: Assigning A Level For The External Movie(reseller_locations.swf) Loaded To A Movie Clip(clipHolder)?

Jul 25, 2006

assigning a level for the external movie(reseller_locations.swf) loaded to a moivie clip(clipHolder)

code

loadMovie("reseller_locations.swf", this._parent.clipHolder);

View 1 Replies

ActionScript 3.0 :: Unloading A Movie With A Button Click From The Loaded Movie?

Oct 27, 2010

I have a movie clip (a) with a button that will load movie clip (b) when clicked. It loads (b) on top of (a) which is exactly what i want.

Now the problem. I have a button in (b) that I want to use to close (or unload) (b).

This is the code in (a) that loads (b):

Code:
spinner_mc.production.addEventListener(MouseEvent.DOUBLE_CLICK, doubleClickHandler2);
function doubleClickHandler2(event:MouseEvent):void {

[Code]....

View 3 Replies

ActionScript 2.0 :: Resize External Loaded Movie To Main Movie

Jan 9, 2010

my problem is that i need to make a reisze, cause the screen resolution for other users. My main and news movie works perfect, but the others movies re-scale everything bigger. The problem of the external loaded movie is: this movie needs the funktion:

Stage.scaleMode = "noScale";
Stage.align = "TL";

If i dont have this code inside the movie is not going to resize fullscreen into the main movie. Inside this movie im scalling photos and some mc's You can take a look what i mean under: [URL]

If you take a look to the bar where the Number of pictures (30) are you will see that the lower bar and the pictures is not going to scale to fill the full screen if i delete the this code;

Stage.scaleMode = "noScale";
Stage.align = "TL";

View 3 Replies

ActionScript 2.0 :: Displaying Loading Progress Of A Movie Loaded Into A Movie?

Feb 25, 2003

My _root movie is nothing more than a interface with navigation buttons. When someone clicks a button another swf is loaded into an empty movie clip on _root.

My Problem:I understand loaders and use them all the time, however, I still to this day have never gotten a loader to work with loading an external movie into a currently playing movie. (ie: in my _root movie you press the "Searching" button and searching.swf is loaded into _root.contents --> contents is the empty movie clip)So anyways... where does the loader go? The only results I've ever had is as SOON as the loadMovie method is called the movie hangs until the entire movie clip is loaded. Then the loader runs... thus making it totally useless.

View 1 Replies

ActionScript 2.0 :: [Flash MX] Loaded Movie Controlling The Source Movie?

Apr 28, 2003

say i have a main movie, into this movie is loaded another movie on level_1.

is there any actionscript that allows a button inside the loaded movie control the main movie? i.o.w. can a button inside the loaded movie tell the main movie to go to another scene?

+ i am looking for code for that same button to unload the movie it is in itself..

View 10 Replies

ActionScript 2.0 :: Fixed Size Loaded Movie In Fullscreen Movie?

Oct 3, 2007

I have a movie that opens up full screen and load an external movie into it. No problem there but I want the loaded movie to keep its original size and not resize with the full screen movie. In the screenshot, you see how the yellow external movie loads into the fullscreen green movie. The white rectangle is only for size reference (photoshopped it in) and is not in the actual flash movies. The yellow movie is supposed to be 800x125 pixels but resizes with the fullscreen of the green movie.

View 1 Replies

ActionScript 2.0 :: Unload Movie For External Loaded Movie

Jul 31, 2010

i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below

[Code]....

and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing.

View 5 Replies

Actionscript 3.0 :: New Movie Load, Old Loaded Movie Remove?

May 23, 2009

I have 5 buttons to load 5 different flv movies. What I try to do is to remove the loaded movie and run the new movie when the new button being clicked. Also, I am wondering anybody who knows how to create a lightbox effect in flash. I want the screen to be grey when the movie is on.

View 5 Replies

ActionScript 2.0 :: Dropdown Not Responding In A Movie Loaded Into Another Movie?

Aug 11, 2006

I have a flash program that is loading another flash file into a container movie clip. The flash movie being loaded has a dropdown that works perfectly when the movie clip is run by itself but when it's loaded into the parent movie, the dropdown doesn't even respond.

View 1 Replies

ActionScript 2.0 :: Check For Missing File If Loaded Into LoadSound()?

Apr 19, 2009

I have built an Mp3 player for my site and users are allowed to put their own music into the playlist. The only problem I have run into now is that if the URL becomes invalid later, the player will stop at that song and the user would have to press next to skip to the next song. Is there any way to get the player to do this on it's own?

Code:
AudioPath = aPath[current_song-1];
song_text.text = songTitle[current_song-1]+" / "+bandTitle[current_song-1];
MySound = new Sound();

[code]....

View 2 Replies

ActionScript 2.0 :: Loaded Movie To Define A Var In The Whole Movie?

Jan 10, 2009

i dont think my title made much sense...but here is my question/problem in this flash thing im creating. So, last time my problem was loading the swf into the right level...and it got solved and i figured it out Basically, I'm loading a swf into my main movie, and that loaded movie needs to send important variables to a php script. Those important vars can only be found in the main movie. And so far, the loaded movie is in level9, and I don't want to change that. The important variable name is "id".

[Code]....

View 6 Replies

Multiple Movie Clips On Stage - Buttons Not Working In Movie Clips?

Jul 15, 2009

I have multiple movie clips on stage (all in separate layers, of course) as well as buttons on stage to play each movie clip. There are buttons inside each movie clip. The problem is that the buttons inside the top layered movie clip work, but the others in the movie clips below don't.

View 2 Replies

Professional :: Movie Clip Button Not Working Within An Movie Clip

Jun 30, 2010

I'm trying to create a movie clip on my my main timeline that has a movie clip button within it that pops up a box in the middle of the site that contains text and links. On Frame 1 I have the Up state, frame 2 the roll over state, and frame 3 my Down State (where Box appears).

[Code]...

The problem is that on the main time line, the button is clickable but doesnt do anything

View 7 Replies

ActionScript 2.0 :: Sound.loadSound("1.mp3",false) Not Working?

Mar 3, 2006

sound.loadSound("1.mp3",false)where 1.mp3 is residing in my current folder (as the swf).However, the sound does not get played. It is only played when I say:sound.loadSound("1.mp3",true) //(hence a streaming sound)I want the first one to work, in order to be able to use the onSoundComplete event

View 11 Replies

ActionScript 2.0 :: Loading A Movie Clip From A Loaded Movie Clip

Feb 18, 2009

I've been trying to load a movie clip from a movie clip that has been loaded. I am trying to provide a simple means to change the look / feel of the flash application by placing the graphics and controls into a second swf. Each different screen is represented by a different movie clip that is in the second swf. So I've got app.swf loading ui.swf. I want to load screen1_mc from ui.swf.

The app.swf is loaded by a master swf. There may be multiple copies of the app.swf that can be loaded by the master.swf and each app.swf could be configured differently. For each "unique" app.swf it is stored under a unique folder that is not known to me in advance. Since I don't know the unique folder in advance, I can't use import / export for runtime sharing. Is there any way to load the movie clips from the loaded movie clip? (Basically, I want to treat the ui.swf as an extension to the library.)

View 0 Replies

ActionScript 2.0 :: Loading Movie Clip Into Loaded Movie Clip?

Mar 16, 2005

I'm working on a flash site and I'm having some trouble with the programming for it. I'm not so great at action script, so I'm hoping that my troubles are caused by my own stupidity and that some cool smart person will have an answer for me.
So, I have a main menu flash file that functions like the one in this tutorial:
http://www.kirupa.com/developer/mx/p...transition.htm I set it to load various swf files and it's works just fine. What I want to do is have it load a swf that functions exactly the same (buttons that load external clips with transitions) as the main swf- this is a sub page menu. So, in theory, the sub menu page should load the final content, and three swfs would be seen stacked ontop of each other.

I changed the instance names in the sub menu file to be different than that in the main menu file. This fixed the original problem of it loading the content clip into the clip that the sub menu should stay in. Now, It loads the sub menu just fine, but then it gets stuck and never loads the content. The sub menu buttons will not function at all. Independent of the main menu, the sub menu file works perfectly What can I do??? Does it have anything to do with the "_root"? I never understood the concept, so I'm having trouble with it.

View 5 Replies







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