Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Elmo Elmo #1
Levels
Hi
I have a movie which has 6 thumbnails. Each thumbnail calls for another movie
(movie1.swf, movie2.swf, etc until movie6.swf.) which brings up my larger
image. I put levels on each of these movies and they come up in the order I
want but when i click on the first movie (movie1.swf ) it still stays under the
others. (Which makes sense because of the level I gave it)
But I want to be able to click on any of the movies and have it come on top.
How can I do this?
Can you help, please
Elmo Elmo
Elmo Elmo Guest
-
Undo Levels?
It seems there is only one level of "undo" in Director MX 2004 (mac). I've searched the preferences and help files and cannot seem to find any... -
attachMovie (levels)????
hello, i created this graph by the attach movie command, and i can not get it to go to the lowest level, I want the graph to appear beind the... -
levels and internet??
HEllo, I made a flash page to include in my website that includes levels, level o calls a movie in level 4 which in turn calls two movies in level 2.... -
Help with Levels....
Ok, on the left side of my website I have a vertical navigation bar with pop out menus and the right side holds all of the real content. My site... -
Black Levels
PS7 - Graph in levels and curves is totally black. Noticed advertisement splash on boot up is black. No previous problems until boot up yesterday.... -
CesareRocchi #2
Re: Levels
From the documentation:
MovieClip.swapDepths
Availability
Flash Player 5.
Usage
myMovieClip.swapDepths(depth)
myMovieClip.swapDepths(target)
Parameters
target The movie clip instance whose depth is swapped by the instance
specified in myMovieClip. Both instances must have the same parent movie clip.
depth A number specifying the depth level where MovieClip is to?be?placed.
HTH,
-c.
CesareRocchi Guest
-
Elmo Elmo #3
Re: Levels
Thanks!
I tried this but it did not work. I'm doing something wrong. (?)
I am using a Main Movie and i'm calling 6 External Movies by using loadmovie
action. So does this mean they have the same parent movie clip (my Main Movie)
or not because each external movie being called in a separate movie?
thanks.
Elmo Elmo Guest
-
Laiverd.COM #4
Re: Levels
Please correct me if I'm wrong but if I remember well swapdepths() will only
work with movieclips that are dynamically placed on stage using either
attachMovie() or duplicateMovieClip().
John
--
----------------------------------------------------------------------------
-----------
RESOURCES
[url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
----------------------------------------------------------------------------
-----------
TUTORIALS at
[url]www.laiverd.com[/url]
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------
Laiverd.COM Guest
-
kenarchi #5
levels
Is it possible to laod a .swf in to a movie clip on a new level. I would like
to load a .swf into a movie clip that is created at level 0 at run time, that
clip is called "base". I would like to insert a new clip "Top" into "base" with
a button using load movie at level 1 of the base movie clip. Can that be done?
on (release) {
loadMovie("top.swf", "1"); I need this to load into the "base" movie
clip at level 1
}
kenarchi Guest
-
CesareRocchi #6
Re: Levels
AFAIK should work with loaded mcs also.
requirements are:
- you load all your mcs in the 'same' mc(as you said)
- mcs are on differenr levels of the 'same' mc
e.g. movie1.swf is on level1 of 'main' and so on
Then swap depth should work properly.
How do you load your movies? would you post some code snippet?
HTH,
-c.
CesareRocchi Guest
-
Elmo Elmo #7
Re: Levels
Thanks for the info. I'm fairly new at this...
Can you take a look at this link
[url]http://www.adailynote.com/esp/swfs/movie_diagram.pdf[/url]
it will show show the steps i'm taking.
and this link will give you the swf files i have.
[url]http://www.adailynote.com/esp/swfs/movie_intro.swf[/url]
thanks for all the help - I appreciate your time
ee
Elmo Elmo Guest
-
Rothrock #8
Re: Levels
What code are you using to bring in the movies? If you are giving them a level,
then you won't be able to swap them. Swapping works on depth--something
different that level. The highest depth for a given level will always be below
the lowest depth for the next highest level. For example depth 500 in level 10
will always be below depth -10000 for level 11.
Instead maybe have a container movie and duplicated it as many times as you
need. Then load the swfs into those. Since the container movie and its
duplicates are all in the same level, you will be able to swapdepth them.
Rothrock Guest
-
Elmo Elmo #9
Re: Levels
I'm using loadMovie() and giving it a level.
I'm not sure how to use attachMovie(). Do you know a place where I can get a
good sense on how to use it. I tried several tutorials but they all seemed
unclear to me. If you know where i can get a good tutorial. please let me know.
I just want to be able to click on some images and bring them to the front...
here is the URL again
[url]http://www.adailynote.com/esp/swfs/movie_intro.swf[/url] . You'll notice when you
click on"web" in the menu, you have different thumbnails that bring up larger
images. But they come up in order because of the levels. When i click on a
certain one i want it to come to the front. thanks for all the help.
ee
Elmo Elmo Guest
-
Rothrock #10
Re: Levels
What are you using to load the movies? Is it loadMovieNum()? Instead use
loadMovie("url",target). Check it out in the help files.
So here could be some code. (I haven't tested this, so there might be some
quotes missing or some such.) Let us say you have to load 20 different clips.
On the stage you have an empty movie clip called Frame_0. Then in the first
frame of the timeline do something like this.
var numSWFs=20;
for(i=1;i<numSWFs;i++){
Frame_0.duplicateMovieClip("Frame_"+i,100+i);
loadMovie("MySampleSWF"+i+".swf","Frame_"+i);
}
So then they will all be in the same level, but at different depths. But then
you can use the swapdepth/getdepth to pop the current one to the top. Of course
if there are also levels, it won't go above ones above it!
Rothrock Guest



Reply With Quote

