ActionScript 2.0 :: Loading A Movie On Level 2?

Oct 19, 2005

Im having trouble with this script again. I need to load a movie on the 2nd leve this is the script here.

// Time value, in milliseconds, after which, failing any mouse movement, an action is to occur.
numMouseTimeoutMS = 30000;
// Define what is to happen should the mouse be moved.

[Code]....

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Loading Movie Into Level?

Nov 5, 2002

I am loading a swf into a level, but need to use actionscript to manipulate its location in the root movie. This is my code:

stop ();
loadMovieNum ("logo_sm.swf", 1);
_level1._x = 300;
// whatever you want for upperleft x
_level1._y = 300;
// whatever you want for upperleft y

yet the loaded swf continues to load in its native position, rather than at any coordinate which I specify. It is riding in the upper left hand corner, even tho here I am indicating a much different position.

View 5 Replies

ActionScript 2.0 :: Loading An External .swf Movie On The Top Level?

Jan 10, 2003

how do I load an external .swf files in order for them always to load on top of the one loaded previously. I've tried to put all of them in the same level but the transition is abrubt. I want the transition to be smooth and each .swf file to load on top most level.

View 3 Replies

ActionScript 2.0 :: Loading Movie Diamonds.swf Onto Level

Apr 19, 2004

I have a button that is a few levels down in movie clips. When It is pressed, it is supposed to load diamonds.swf. It does this, but not on the first press. On the first press the _root time line goes to and plays "fade," but doesn't execute the rest of the script.

[Code]...

View 2 Replies

ActionScript 2.0 :: Load A Movie To Level 1 That Deactivates The Movie In Level 0 Without Unloading It?

Nov 5, 2004

I have a movie that's 500x400 px in level 0 and has lots of thumbnails with pictures that I want to open. the thumbnails open a 500x400 px movie above the other but on level 1. the problem is that when the new movie loads on level 1, the thumbnails on level 0 (that are now hidden by the new movie) are still active, and if i click anywere in the movie on level 1, it trigger an action from level 0. Is it possible to load a movie to level 1 that deactivates the movie in level 0 without unloading it?

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 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 2.0 :: Loading Var Into Different Swf In Different Level?

Sep 3, 2005

loading var into different swf in different level.

I got the index.html to hold navigation.swf, navigation.swf loads login.swf in level 10 then I got an var coming from the database but login.swf cant receive it (it shows nothing). So I try to use index.html to hold the login.swf then it works, does anyone know why login.swf can't receive the var? If I load into different swf in different leve, does it mean I have to specify the level for the var?

View 1 Replies

ActionScript 2.0 :: Loading Swf In Another Level?

Jan 30, 2005

Top level = main.swf bottom level = pagexx.swf (xx = 1,2,3,etc)

Problem: When loading another swf from the main.swf into main.swf, it works fine. But now I have a problem of loading page2.swf from page1.swf which is now opened in main.swf. I've tried using loadmovienum but they overlap each other instead of page1.swf disappearing. Hope I explained the situation well enough. Here's the script from main.swf used to load page5.swf (where all the 5 = page5).

on(rollOver) {
if(_root.link<>5) {
gotoAndPlay("s1");
}

[Code]....

View 6 Replies

AttachMovie Not Loading On Correct Level?

May 1, 2010

Code:

thumb03.onRelease = function(){
image_holder.loadMovie("images/03.jpg");
submenu01_holder.attachMovie( "submenu01", "submenu01_new",this.getNextHighestDepth());
getURL("./htm/03.html", "tracker");
};

So I'm working on a portfolio and I'm trying to load an image with a submenu on top of it that will let you click through a couple different related images. However, right now the submenu keeps loading underneath the image, so the buttons are there and you can see it a split second before the other image loads over the top. I tried manually putting in levels for the image and submenu and no luck.

View 4 Replies

ActionScript 2.0 :: Loading XML Photogallery Into Level?

Dec 26, 2005

The trouble is that when I click in the button in the first film, the "main.swf", the "album.swf" is loaded into level 10, but the images and description does not load. Seems to be here some parsing problem between flash and xml, but I can't solve it.

View 8 Replies

ActionScript 2.0 :: Loading A Sound In A Level Other Then Level0

Jan 10, 2009

Does anyone know how I can load a movie into level1 that has sounds embeded in it and be able to play them? I would like to load the sounds using code on the timeline. I don't understand why my method is not working.Here is what I tried.I have a movie that I am loading into level 1.My sounds are inside the movie that I load into level1.So I ran a test and if I load the movie into level0 the following code works fine and plays the sound.[code]But then when I load the move into level1 and change the code to the following, it deosn't work.[code]

View 3 Replies

ActionScript 2.0 :: Loading Swf Into Level And Starting At Certain Frame?

Jan 15, 2009

I am using levels for this project to allow transparency transitions between swf files as they load. I created two variables:levelvar=5;removevar=(levelvar - 2)The external swf files load into _level0.levelvar and removevar prevent the root file from unloading. All is well except on one button I want it to load the swf at a particular frame. I tried this:

button.onRelease = function() {
loadMovieNum("contact.swf", _level0.levelvar);
gotoAndPlay ("_level0.levelvar" 52);

[code].....

View 0 Replies

ActionScript 2.0 :: Loading Swf With Preloader At _root Level

Sep 30, 2009

I have a swf file ("myfile.swf") which i want to load using preloader.

I referred many tutorials for preloader but problem is I want to load "myfile.swf" at _root level as I have referenced many movieclips in it as for example _root.mc1.mc2

I tried following but may be i am mistaking somewhere...

1) I used preloader in frame 1 and frame 2 and swf content in frame 3 but the file is so huge that the preloading almost starts at around 69% or so

2) I kept preloader in scene 1 and swf content in scene 2. But i cannot see the preloader or i can see at 98% or 99%

3) I used preloader in "pre.swf" and used loadMovie() to load "myfile.swf" at _root. But as i m loading "myfile.swf" at _root so preloader's code is overwritten and so i m not able to see preloader

My "myfile.swf" is very complicated file and so i cannot change all the movieclips which i have referenced as "_root.mc1.mc2".

View 9 Replies

ActionScript 2.0 :: Loading Dynamic Text Onto Another Level?

Jul 19, 2004

I have figured out how to randomly load and fade in poems from text files. Only, after trying to add additional functionality, namely, an index from which visitors may choose a poem to load, I have run into problems. To put it simply, I can't figure out how to modify the code he provided to load text onto lvl0 so far. Here's some sample code I placed on the first button, which is an mc inside an mc (and that mc is placed on the stage, which is a separate swf loaded on an upper level by lvl0):

Code:

on (release){
var poem = new LoadVars();
poem.onLoad = function(ok) {

[code]....

Here's the url for the files [URL] Main.swf is the main site, which provides a button labeled "INDEX". PoemIndex.fla is the source for the swf loaded when the user clicks the INDEX button. "mcButtons" holds all the buttons for each individual poem (wish I didn't have to hard code all of it), and I've also provided "poem1.txt", for testing purposes.

View 2 Replies

ActionScript 3.0 :: Loading .swfs Into A Movieclip, Same Level?

Nov 24, 2010

My problem is on my stage i have a loader_mc invisible movieclip that i want to load .swfs into using addchild

Problem is, everytime i click on a button that addchild the .swf keeps adding ontop like layers, therefore in my function button i tried to removechild before addchild but i will keep getting error #1009

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at bla_fla::MainTimeline/frame1()

I was wondering if anyone can teach me any other better ways how to load movies like in as2, on the same level when the button is clicked, the previous .swf is kicked aside and the new one will load.

View 2 Replies

ActionScript 2.0 :: Clear A Loaded Swf From A Level Without Loading?

Sep 3, 2004

Is there a way to clear a loaded swf from a level without loading something in its place? I just want to be able to clear out levels that aren't in use anymore.

View 4 Replies

ActionScript 1/2 :: Loading Multiple Levels Into A Main Level?

Nov 12, 2010

How could I make a preloader with multiple levels in as2? Should I use loadMovieNum or the MovieClipLoader class?
 
I want to make a main progress bar, that represents the loading of all the levels, not a progress bar for each level.

View 7 Replies

ActionScript 2.0 :: Random Loading Of External Swf Files Into Level 2

Nov 10, 2011

I've got main time line as Main.swf (level 0) and few external swf files: Message_01, Message_02, Message_03 etc.By the end of the main time line there is a key frame with the script (AS2).The script should call randomly one of the external swf and load it to level 2.

View 5 Replies

ActionScript 2.0 :: Clear A Loaded Swf From Level Without Loading Something In Its Place?

Sep 3, 2004

Is there a way to clear a loaded swf from a level without loading something in its place?

View 4 Replies

ActionScript 3.0 :: Top Level - Loading Objects In A Paper-vision Gallery Through Xml?

Nov 2, 2009

I am loading objects in a paper-vision gallery through xml. I have a footer with some links in them, but the problem is the XML stuff is being loaded on top, how do I get the links and such to be on top so they are not underneath?

View 4 Replies

ActionScript 2.0 :: Create A Level Select Screen So The Buttons Unlock Complete A Level?

Apr 22, 2011

im trying to create a level select screen so the buttons unlock as you complete a level, so far i have this on each button:

on(release){
if(this.number <= currentItem){
gotoAndPlay(3);
}
}

[Code]...

View 0 Replies

Assign Z Level To Movie Clip?

Mar 31, 2009

I have a gallery which is created from the following scipt:

this.createEmptyMovieClip("images",100);
this.attachMovie("mask","mask",101);
etc....,

with the gallery still present i want a movie clip to appear ON TOP of this.

How is this done? i understand i need to set the z level but cannot find a simple explanation of how to do it. I do not want the image to be transparent (i've found lots of explanation on how to do this!)

View 1 Replies

ActionScript 3.0 :: Load AS3 Movie In AS2 On Level 1?

Oct 13, 2009

Is there any method or possibility to load AS3 flash movie in AS2 on level 1, or higer, or in target loder.

View 2 Replies

ActionScript 2.0 :: Getting Name Of Movie Loaded On A Level

Oct 14, 2011

It may be pretty basic but I'm looking for the easy way out. I've a container that loads a movie on level10 using loadMovieNum(). Is there a way I can get the name of this movie?.

View 5 Replies

ActionScript 2.0 :: Unload A .swf From A Different Movie Level?

Apr 18, 2010

I have an index.swf that loads the following movies.

loadMovieNum("home.swf", 4);
loadMovieNum("home_2.swf", 53);
loadMovieNum("help.swf", 50);
loadMovieNum("glossary.swf", 26);
loadMovieNum("Resources.swf", 27);

Is there a way to unload the home_2.swf from the index page when a button is clicked on the home.swf?

Home_2.swf is sort of a splash animation that plays over the navigation panel and then sits on the side so when any of the nav buttons are clicked on in level 4 .swf I want the level 53 .swf to unload.

View 2 Replies

ActionScript 2.0 :: Can't Load Movie Onto Level

Apr 19, 2004

I have a button that is a few levels down in movie clips. When It is pressed, it is supposed to load diamonds.swf. It does this, but not on the first press. On the first press the _root time line goes to and plays "fade," but doesn't execute the rest of the script. [code]...

View 2 Replies

ActionScript 2.0 :: Preload Movie Into Level?

May 11, 2006

Preload movie into level with percent, can this be done? I have tried several preloads from posts in the boards but none seem to work.

I have my main movie, and buttons that load the movies into the main movie by using LocalConnection(); I am using the following action script to load my movies, now I like to add a preload on the loadMovieNum(movie, 2); part.[code]...

View 1 Replies

ActionScript 1/2 :: OnLoad Working At _root Level But Not At Mc_target Level?

Aug 26, 2010

I have two layers in my FLA both with empty movie clips as follows:In mc_Empty1, I attach a faded background movieclip as I wait for mc_Empty2 to load a SWF.  Once the SWF is loaded into mc_Empty2, I want to remove the faded background movieclip from mc_Empty1.  When I load the SWF from the main timeline, the onLoad() function works and removes the faded background from mc_Empty1.  However, when I load the SWF from mc_target, the SWF loads, but the onLoad() function does not.  Here's my AS2 code:
 
//Loading SWF from main timeline
mc_Empty1.attachMovie("mcFadedBg", "mc_FadedBg", 1);
mc_Empty2.loadMovie("My.swf");mc_Empty2.onLoad = function():Void{    trace("loaded"); //This works    removeMovieClip(mc_Empty1.mc_FadedBg); //This works}

[code]....
 
I know I'm targeting properly because the SWF loads as it should, but the onLoad() function does not. 

View 3 Replies

ActionScript 3.0 :: Application Level Vs Document Level Class Paths?

Oct 2, 2010

This is making me a little kooky today. I thought I could defined a library path in PREFERENCES > ACTIONSCRIPT > ACTIONSCRIPT 3.0 SETTINGS then that library would be available to all AS3 FLA files, but that doesn't seem to work for me. If I use the PUBLISH SETTINGS and define the library path everything is fine.

Is there something that I could have done to disable the application level class path functionality? I guess I'm trying avoid having to set the library path for every new FLA I'm making.

View 1 Replies







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