Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Depth Of Movies



is it possible to swap the depths of externally loaded movies? if so, what is the best to do it?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-21-2004, 03:04 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Depth Of Movies
is it possible to swap the depths of externally loaded movies? if so, what is the best to do it?

Depth With Dragging Movies
Hi,

I have created some movies using and array and these movies need to be able to be dragged around a screen to a target (note: I haven't set up the target as yet). The problems is that when you click on a movie using the this.startDrage() method you actually get the movie above it which makes the dragged movie appear to go under other movies. Is there a solution to this as I have not been able to find a workable solution to this. Below is the code that I am using.

//array to hold movieClip names
var buttonName:Array = ["dragMovie0", "dragMovie1", "dragMovie2", "dragMovie3", "dragMovie4", "dragMovie5"];

//create text format for buttons
Uformat = new TextFormat();
Uformat.color = 0xffffff;
Uformat.align = "center";
Uformat.font = "Arial";
Uformat.size = 15;
//initial location for movieClips and distance between them
var xpos:Number = 100;
var ypos:Number = 20;
var distance:Number = 30;
var arraySize:Number = buttonName.length;
//for loop take creates the movies and places them on the stage
for(i:Number=0; i<buttonName.length;i++){;
//create the movienames
var bn:String = buttonName+"_mc";
//create the text label for the movies
var bl:String = buttonName;
container._name = bn;
container = _root.createEmptyMovieClip(bn, i);
var tf:TextField = _root.container.createTextField("tf"+i, 1, xpos, ypos, 160, 20);
tf.text = bl;
tf.setTextFormat(Uformat);
tf.background = true;
tf.backgroundColor = 0x000066;
tf.border = true;
//the original depth of each of the movies
var origDepth:Number;


//
container.onPress = function() {
orig_x = this._x;
orig_y = this._y;
origDepth = this.getDepth();

trace(" this is "+this+ "& this._name is "+this._name);
//set the depth to above the height of the other dynamically created movies
//so that when it is dragged it is the dragged over the other movies
this.swapDepths(arraySize);
this.startDrag();
};//end onPress

container.onRelease = function() {
trace(" this is "+this+ "& this._name is "+this._name);
this.stopDrag();
this.swapDepths(origDepth);//sets the movie back to it's original depth
//sets movie back to original screen position
this._x = orig_x;
this._y = orig_y;
};//end onRelease
ypos = ypos+distance;//places movies a set distance apart
}//end of loop

thank you for any support

Swap Depth Of Attached Movies
hi,
i'm trying to figure out how to swap depth of attached movies. sort of like in:

www.lovelydesing.com

under journals / karlek fran sverige


i have multiple buttons in the main timeline that attaches movies. i need to be able to drag them and swap depths. i can drag, but don't know how to swap depth.

please help!

thanks

Change The Depth Of Loaded Movies
I looked at the depths description in the thread "MX Depths Explained" but Im stuck.

I have 5 external movies loaded in the same frame in different empty movies. They load fine, problem is I have a masking effect that overlaps each other.

This is how Im loading them:
loadMovie("flash/images/photo1.swf", "_root.contenido.photo_loader1");
loadMovie("flash/images/photo2.swf", "_root.contenido.photo_loader2");
.....

This is the script for the mc loading:
on (rollOver) {
_root.contenido.photo_loader1.photo_mask1.gotoAndP lay("down");
_root.contenido.photo_loader2.photo_mask2.gotoAndP lay("over");
}

I want to be able to tell Flash that when I rollover "photo_mask2" it goes over the other 4, the same goes for the others.

is this possible?

Thank you

Depth Problem With Dynamicaly Loaded Movies
I'm having trouble when trying to put movies that are created via action script into a particular depth

I have many layers, but have set an absolute background to a depth of -16384

then i want to load many movies on top of this dynamically (up to 10,000)
then everything else should go above this(non dynmic parts), Im not sure how to do this, I have tried:



Quote:




_root._depth = -1000;
_root.AbsBack_depth = -16384; // (lowest possible)
//bg_img_depth = -16282 and up
_root.usersURL_depth = -990;
_root.Lt_summ_depth = -980

while ( ((L-1)*(_root.Bg_Two._width)) < 400){
_root.Bg_Temp.duplicateMovieClip(["Bg_Two"+L], (-16282+L));
_root["Bg_Two"+(L)]._depth = (-16282+L);
_root["Bg_Two"+L].loadMovie("http://www.localtutor.co.uk/Tuition/"+localName+"/upload/Tutor_bg2.jpg?noCache="+new Date().getTime());
_root["Bg_Two"+L].gotoAndStop(0);
_root["Bg_Two"+L]._x = _root.Bg_Two._x + ((_root.Bg_Two._width)*L); _root["Bg_Two"+L]._y = _root.Bg_Two._y;
L++;}





but this doesnt seem to work, since "Bg_Two"+(L) seems to go ontop of every thing, hmmmm?

any ideas?

Masking "i" Depth Movies
Do you know these "duplicateMovie/random" animations? Like:

ActionScript Code:
i = 0;onEnterFrame = function () {i++;duplicateMovieClip(_root.mymovie, "mymovie_"+i, i);if (i>1000) {i = 0;}};

How to mask them? Each movie has a higher depth.

Problem About Depth Of Objects..(swap Depth) Plse.help
umph..hello i'm nameg sir
i'm trying to do dragging project. drag isomatric object in small room(isomatric view too) for test installation..(so i necessary have foreground objects,background objects ..u know)
now i can drag many objs. in same movie when i press it , by i use swap depth command (for see it above other)and drag it around sometime it works...but sometime it don't!...
1..... some obj. automatic swap its depth! when i release other one....i don't know why
2. some time i dup. new obj. to drag and it del some old obj. that call before
ps. i use swap code from this site tutorial ...s.a.Drag & Drop / Swap DepthsAuthor by : estudioworks

thank u so muchhhhhhhhhhhhh

[as1] [clip Depth] Can You Assign A Clips Depth?
Does anyone know if it is possible to assign a depth to a MC? What I need to be able to do is to tell a MC to be at a certain depth. Any thoughts?

--xenite

Question About Depth And Highest Depth
Hello hello
I am learning AS and am now at the depth story.
I have questions about it : when I create an empty mc, where different swfs will load in ( loaded on main stage by several movie clips) is it interesting to use the getNextHighestDepth command ??
Thank you action scripters !!!

Loading Movies Inside Other Movies In An Ext Movie Holder?
Here's one for you:

I've got my main movie that has a movie holder on it (entitled movieholder.) The buttons on the left control what goes in the movie holder. In one of the movies there is a list of songs that are actually buttons. These buttons call up another movie(with MP3s). How do I get the MP3 movies to go into "movieholder" when they are being called by a button inside 'movieholder'

I'm using MX

Hope that made a slight bit of sense!

Thanks for any help,

Graeme

Trouble Creating Reverse Rollover Movies Within Movies
Hey ooh my first post.

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

stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};


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?


Sorry for the poor explantion, any ideas?

Movies In Movies And Multiple Scenes...grrrr HELP
Hi all!

loadMovieNum ("events.swf", 8);
level8.gotoAndPlay("DIRECT3");
stop ();

ok, i have just done a few flash movies, but I am openning swf files in my movie, however these movie have a preloader and a 2nd scene before the main scene.

The problem I have is that I need play from a frame in my main scene (called Direct3).

I used the above AS to load my movie, but I have a feeling that its not going to my requested frame label...

I am sure this is possible, please could someone point me in the right direction...

Thanx in Advance....

WolfFang

Loading Movies Into Movies With Scroll Bars O_O
I have a site where I'm showcasing my talents (Obviously figuring scripting out won't be one of them) and I load movies into the central area by using simple commands, and it all works. Now I need to have of of those movie to scroll around, because I'm showcasing banners and have more than 400 pixels of height can fit.

I was thinking of using the same textField system that I used for my news section, but replacibng the textField part was a different thing for Movies.

There's got to be an easier way though. Can anyone help me?

Can Flash6 Movies Load Flash7 Movies?
I was just thinking about this today:

Could I load a Flash 7 movie into a level of my Flash 6 movie?

thanks
Dene
www.meshybeats.com

Ummm... Loading Movies Inside Movies.... Help?
I posted a question about this a month or so ago, but now (I've had to work out problems on other sites in the meantime) I'm totally ready to figure this out!

I have a VERY large Flash Web site. So, it was suggested that I chop up the site into a few smaller movies. From there, I would set up a main page with a ["target"?] movie clip nested in it. Then, when a button has been pushed, the corresponding swf loads inside the movie clip. I think I can handle that... (although a nice tutorial would be great!)

The problem I'm having is... These swf's can be 'called' from each other, meaning the same buttons will be in each movie. However, the buttons will trigger different frames in each movie, depending on which movie you're already in. I'm betting this is confusing...

EXAMPLE: Every page has 4 buttons, "Who We Are", "Success Stories", "Portfolio", and "Contact". From the Home page you can push any of these buttons and it will go to the first frame of the corresponding movie and a quick, little animation displays as it takes you into the page. That's great. The problem is that, if you were in the "Who We Are" page and clicked "Contact" it should NOT go to Frame 1 of that movie... It should go to Frame 30, because there is a specific animation that connects "Who We Are" to "Contact" that is not the same as the connection animaton between "Home" to "Who We Are". So how do I get the code to be more specific?

HELP!

~Vik

http://www.explorecore.com/index3.html

Dynamically Loading Movies Into Movies With Variables
This might be a kinda tough one. I'll explain the best that I know how.

I want to load jpg images into a movie/button (movie clip with a button instance inside of it with another movie clip inside the button), but I need to do it dynamically.

I was thinking about naming all of the files the same but just change the numbering at the end. Then I can just use an i value to obtain the next file.


Code:
for(i=1;i<5;i++){
loadMovie("something"+i+".jpg","mv_btn_"+i)
}


so, basically I have 5 buttons with 5 images to import. The buttons already have the proper numbers on them, I just need to import the clips into the corresponding button.

Sound Linkage When Loading Movies Into Movies
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 I haven’t been able to figure out how without breaking the sound. Any advice or help would be greatly appreciated.

Frustrated With Loading Movies Inside Movies.
Ok here's my sight:
http://www.fantim.org/811/index2.html
This is my second attempt at making an all flash site. I got two questions.
1. Lets say I have three movies. Movie1.swf Movie2.swf and Movie3.swf
Movie1.swf has Movie2.swf loaded inside of it. Is there anyway to make Movie2.swf load Movie3.swf inside Movie1.swf ? Does that make sence?
2. Is there anyway to load only certian parts of a movie into another movie? For example:
I have this file http://www.fantim.org/fantimshow/movies/movies.swf (Don't mind the chopiness of it) As you can see it has excess stuff on the sides. Is there anyway to load this within another movie without showing this excess stuff?
Any help would be appreciated.
Thanks

Loading/unloading Movies In Loaded Movies :|
Yeah, I know that sounds confusing. Lemme explain:


- interface.swf it's my main movie;
- interface.swf load section1.swf in a specific container called containerMC (duh! );
- section1.swf load other movie, section1a.swf;
- I need a button in section1.swf that load section3.swf in the same main container (containerMC in interface.swf), unloading section1.swf and section1a.swf.

Well... I need some tips about the action of my 'overloaded' button

Sorry about my english

[]'s
Edu

Frustrated With Loading Movies Inside Movies.
Ok here's my sight:
http://www.fantim.org/811/index2.html
This is my second attempt at making an all flash site. I got two questions.
1. Lets say I have three movies. Movie1.swf Movie2.swf and Movie3.swf
Movie1.swf has Movie2.swf loaded inside of it. Is there anyway to make Movie2.swf load Movie3.swf inside Movie1.swf ? Does that make sence?
2. Is there anyway to load only certian parts of a movie into another movie? For example:
I have this file http://www.fantim.org/fantimshow/movies/movies.swf (Don't mind the chopiness of it) As you can see it has excess stuff on the sides. Is there anyway to load this within another movie without showing this excess stuff?
Any help would be appreciated.
Thanks

Buttons To Advance Movies Within Movies
I'm still a novice with ActionScript...so sorry about this:

I have a movie...let's call it "Foundation.swf". It is nothing more than a huge, thick border with buttons that run along the side (like using frames in HTML). One layer has an ActionScript that "LoadsMovie" onto Level 1. It starts off with automatically loading "Intro.swf".

When "Intro.swf" is done, "Intro.swf" then loads "Scene01.swf" in its place. Then "Scene01.swf" loads "Scene02.swf" and so on and so forth. But all this is happening within the "Foundation.swf" movie.

OK...all is good.

Now what I want to do...is to use the buttons in "Foundation.swf" to move whatever movie that is loaded onto that layer up one scene or back one scene, etc. So, how do I script it so that WHATEVER movie is loaded onto that layer can be jumped around within it?

Thanks for all your help!

-Darcie

Can I Preload .SWF Movies For Use Later In Other Not Yet Loaded .SWF Movies?
Hello World!!!

What I creating is a web site consisting of many .SWF files, each of which loads over the last @ _level0. The first SWF file consists of three scenes, a preloader an intro and the main movie. Once the main movie has loaded you can click links to the next pages. The following pages show a preloader and then load. This seams to work fine because each page is quite small. This is where I get greedy. What I want to do is preload four movies, say during the intro of the first .SWF file that are not seen just loaded into the computers cache, so they will work instantly when another .SWF file is loaded.

Also, If you know how to do the above. How can I target a frame in another movie when it has not loaded yet?

Thank you all for any help in advance.

Rachel.

Load Movies/hide Movies
Level 10 is my menu.
Level 2 thru 8 are movies I want to load, depending on the menu choice at level 10.
Level 0 is the main movie.

Part One:

I want to Load Movie X on level 5. When I'm done reading Movie X, I want to click on another menu pick (on menu level 10) and have whatever menu choice clicked on appear WHILE Movie X on level 5 dissappears.

The problem is that I don't THINK I want to use UNLOAD movie - I just want it to "turn invisible". And do this throughout the user experience when called upon. Any ideas?

Part Two: On loadmovie can you call a specific frame?
I tried this:

on (release)
loadMovieNum ("pres1.0.swf", 3);
gotoAndPlay (2);


To no avail. Any ideas here?

Thanks a bundle.

Controling Movies With Movies (not Porn)
Ok, it maybe questionable so i removed all but the necessary parts. I'm learning and trying to keep it interesting (makes posting questions tough though ).

Ok, in this movie when you mouse over movie one, it advances movie two to frame 2. When you mouse out it should move movie two back to frame 1. I see the problem, the actionscript must be on the button instance which only exists in frame 1. Once movie one is playing the mouseOut...err rollOut script isn't present.

How do you control the rollOn and rollOut as the "playhead" moves along the time line? Do i need to nest the movies/buttons one more layer deep?

flash movie: http://www.dns.ca/unknown.swf
flash source: http://www.dns.ca/unknown.fla

Thanks !!!

Loading Movies Within Movies Question
Hi,
I have 2 questions.

I'm making a flash website, about 20 pages, right now contained in one movie. Since the file is up to about 400 K , I'm wanting to break out some of the pages into separate movies, and then load them up with the loadmovie command when someone clicks on a link.

1) is IS possible to have a new movie load within a first movie right?? I want to have all of the navbars and stuff in the base movie, and then when you click on something, it loads up that pages' movie onto the base. this IS possible right??

2) what happens if I don't want to unload the loaded movies, and just keep them hidden and available in the base movie, so that if the user clicks on a link twice, it doesn't have to reload it, but just diaplays it? will the accumulation of movies slow down a user's computer or crash a browser?

As I said, the whole thing totals about 400K, and there is no rocket science scripting or anything, it's all pretty straight forward.

Any insight from you Flash wizards would be GREATLY appreciated!!

Mucho Garcia!
Z33man

Loading All Movies, Even Movies To Be Loaded
hi guys.. how do u do that?

see, i have a main movie and the other movies are called later on byu loadMovie, but they have their separate loading times. what if i want to load it all in one go?

can any1 help me?

Loading Movies On Top Of Loaded Movies
I'm trying to load a movie on top of a loaded movie. For Example:
I have an interface with 4 buttons on it. Each button loads an external swf above the buttons. The loaded movies fade in on top of the lower level. I want it so that when you click button 1, it loads "movie01" and then if you click button 2 it loads (fading in) "movie02" on top of "movie01". Instead, it unloads "movie01" first, then loads "movie 02". I want it to look like the movies fade in on top of each other no matter what order you press the buttons.

I have them all loading in at level 1, is that my problem?

Movies Within Movies (load) URGERNT
Hello.

Please, please, please help me.

I have movies which need to work inside movies.

I currently have the maintimline with a blank movie clip (mtClip) in it. When this needs to play inside the main timeline, it does so nicely with the script:

_.root.mtClip.loadMovie("newMovie1.swf");

That works fine.

However, when in newMovie1.swf, I need to make available another new movie. So here I have placed another blank Movie Clip instance name "moreClip". It does not work though. I have placed the script:

_.root.moreClip.loadMovie("newMovie2.swf);

This works when previewsing NewMovie1, but not when viewing the original movie.

I understand that this has something to do with levels/parents or something.

CAN SOMEONE PLEASE PLEASE EXPLAIN. I NEED THIS DONE ASAP.

ALL YOUR COMMENTS ARE HUGELY APPRECIATED!!!!

Regards,
TCM

Preloaders For Loading Movies Within Movies
I have a main movie and within that movie other movies are loaded, but it takes too long to load. Is it possible to preload a movie within a movie? An example is at www.henrycraig.net

thanks for any help
Henry Craig
hcraig4@hotmail.com

FMX - Movies Inside Movies Don't Work
Hello!

Well i have a great problem here!!

I am triying to load a movie while another movie is runing, inside a movie clip, but both of them are runing inside a main movie, like this:

there are 3 movies (.swf)
1º Main
2º A
3º B

The main movie has inside 2 movieclips:

a) site
b) galery

-----------------------

1º - From the main movie, I call movie "A" into the movieclip "site"

2º - From the movieclip "site" I want to call movie "B" into the movieclip "galery" in the main movie, and unload "A" movie form the main movie

3º (and final one) - from movie "B" in the movie clip "galery" of the main movie, i want to call "A" movie to the "site" movie clip, and unload the "B" movie.

What sould I do???????????
I can call the "A" movie, but nothing else!!!!!!!!!!

Any suggestion?

Thanks in advance!!!!

Movies Within Movies Help And Advice Needed Please
Hi

I am trying to create an online portfolio of some of my work using Flash MX 2004 to make the site and then publish it to html.

I want to include on some of the pages other flash work I have done (flash banners and mini interactive presentations).

I thought the best way would be to open the original flash files, create the swf then import the swf as a movieclip into the main site flash file, but this resulted in the imported clip being broken down to frames and not working correctly.

What is the best way around this? I have thought about going into each flash anim i want to include and converting the whole of scene 1 to a clip but this would take forever, or maybe my buttons could load a swf into a space on my main site?

Wondering where to turn, any help or advice appreciated.

Thanks

Frankie

Loading Movies Inside Of Movies
Hey Guru's,

I am trying to figure out something with flash. I am working on making my site not so big by creating multiple movies of each page therefore making the movie smaller and loading in sections instead of loading the whole thing at once. I was wondering if you knew how to do this? Do I need to create a movie that lives on level0 and then load each movie inside of that when they click one of the topics on the page? How do I go about making that load in and then once they click to a differnt topic it loads another .swf? Can i make it so that the top bar stays or anything of that nature? I am just confused on how levels work and how to get it to work for me. Any advice or references I could possibly get would be appreciated!

Help Pls :'( Cant Connect My Movies To Run As Links To Other Movies
hi people, im having some trouble with actually getting my .swf's to link properly, im not sure if im using the wrong action script or what.

heres the example, when u go to the index page or index.swf i guess, after hitting the enter button id like it to go to the homepage.swf but the problems im running into are

1.the new homepage.swf will load over the index.swf after pressing enter button on index.swf which is set up through the .fla

2. movie wont load

am i not setting the target properly or? no target? or am i not using the loadMovie("example.swf"); action script properly

in short im just trying to get it to work like an html page, click one link, takes you to that page, click another link, and it takes you to a different part of the page.

any help would be greatly greatly appreciated!!!!!!

Attaching Movies From Attached Movies
Hi I'm trying to attach a movie from another attached movie but having problems.

I'm generating a bunch of lockers using a for loop and they are being attached to an empty mc called lockergroup, passing the initobject so I can get locker numbers on the lockers.

Then when you click on one of these lockers I'm trying to attach a "large open locker" movie above all of the other generated lockers, but it's not going to the highest level no matter what I try to use (_root.getNextHighestDepth(), etc). I need to use attach instead of load so I can pass the locker number to the open locker mc. Anyone have any ideas on how to pass the locker number or bring the open locker mc to the front?

thanks

Loading Movies, Real Movies
okay so i know Flash can load external JPGs, and external MP3s..but what about video? can it load like quicktime .mov??? what other video formats can flash AUTOmatically load?!

Loading Movies, Real Movies
okay so i know Flash can load external JPGs, and external MP3s..but what about video? can it load like quicktime .mov??? what other video formats can flash AUTOmatically load?!

Unloading And Loading Movies Within Movies
Hi, I've been using flash for a while, but never had a need for this function before. I'm trying to create a movie with an interface resembling a vintage radio.

I need to have a set of buttons, each loading a different movie (which will consist of only audio), and also unload the movie that previously was playing. The desired effect is to resemble switching channels on the radio.

Is this difficult to do?

Problems Viewing Movies With Movies
Hello
here is my problem. I am creating a website made up of 3 flash movies all visable at the same time. one of the movies  100 pixels in hieght. when the user clicks a button I would like a blue coloured symbol to slide up from below the MC and cover the contents of the movie clip. My problem is that when I publish the site I can see the blue symbol sitting below the MC. I don't want this.

I am not sure if I am expalining it properly

so lets try again

If I create a MC 100 pixels in hieght and place it on another movie clip say 500 pixels in hieght how do I force Flash to only show the first 100 pixels of the first MC and not the contents that reside on out side of the MC?

again I hope I have explained myself

thanks for any replys  

Z-Depth
on my site I have content that appears in windows.
Each content window, (itself a mc) is on a different layer, on the timeline.

Is there a way of bringing a movie to the front, (ie by clicking on a button) using actionscript...I have seen the z-depth command but aint sure how to implement it?

Any ideas anyone?

Cheers - Check my site if you don't fully get what I mean....http://www.beseku.co.uk

Set DEPTH
is it possible to change the depth of a (dublicated)movieClip with a variable? I need this for a (pseudo) 3d engine!

peter

Depth
ok going to try this a diffrent way. I am going to preload 10 swf into difrent levels one on top of the other. the top one being blank so nothing shows. now I have 10 buttons in another swf on the right side that are loaded in there own level so the always show. now how to I get the first 10 movies to swap depth, I read what I could on macromedia and just could not make sence out of it.

Fl Depth
I have button that when clicked it makes a mc move back into the screen using the fl perceptive code which works but what I want is when you roll off the button for it to come back to its orignal scale and position .
on the button I have
on rollOver _root.acive =true; and rollOut _root.active=false[code]
onClipEvent (load) {
fl=150;
x=_x;
y=_y;
z=0;
spd=5;
}
onClipEvent (enterFrame) {
if ( _root.active ) {
scale=fl/(fl+z);
_x=x*scale;
_y=y*scale;
_xscale=_yscale=scale*56.4;
z+=spd;
if (z>400) {
z=400;
} else if (!_root.active) {
z-=spd;
[Edited by ericflash on 03-10-2002 at 08:53 PM]

Depth ?
can somebody please explane this depth thing to me cause i've herd of it but i really don't know what it does and how to use it....ect .

Depth.....
I am trying to have a gun that moves from side to side with Key.LEFT and Key.RIGHT.

and when you press spacebar it attaches a movie of a bullet moving forward

I am not worried yet about all the hitTest and enemys

But there is one problem, i don't know how to make all the bullets stay on the screen.

It sets them at one depth and then if you shoot again it will take away the last bullet, because it sets it at thesame depth.

doe any one have a solution¿?¿

Please help!

Depth
Does anybody know how to change depth property in movie clips?
Thanks.

Depth
hi there!
can anyone tell me how to change the depth of a loaded movie?i can't put it behind the content of the original one!
thanx!

Depth
Hello!

Is it posible in flash to make one mc appear over another even that they are in the same layer a _depth or _z something like that?

Depth.....
How would I go about making a MC in _level0 be above _level2

I sthere a way that a MC on the main time line can be higher than a SWF with

code:
loadMovieNum("contact.swf",2)

Depth
Ok, i have some buttons and movieclips, when you press a button i need it to bring it's corosponding movieclip to the front of the rest...

anyone?

-Stwelin

Copyright © 2005-08 www.BigResource.com, All rights reserved