Ask a Question related to Macromedia Flash, Design and Development.
-
Mirsky #1
Q about Loading SWF at Different Depths
Hi. I own Flash 4 and I recently downloaded the demo version of Flash
2004 MX. I'm having trouble understanding how to load swf files into
different depths (i.e. stacking orders) in Flash 2004 MX. In Flash 4, I
used the Load command which required that I include a URL parameter, for
the location of the swf file, and a level parameter, for the depth of
the file, i.e. the file's stacking order. I'm not sure how to dictate
the stacking order using Flash 2004 MX. There is a LoadMovie command,
but I am not sure if it works the same was as the Load command in Flash
4. Can anyone explain how I can load different swf movies into different
stacking orders in Flash 2004 MX?
Thanks,
Mirsky
Mirsky Guest
-
3D : Extrude pie chart pieces to different extruded depths
I want to make a 3D pie chart with one of the pie pieces not as deep (i.e. extruded) as other piece(s). First, I created a pie chart and the then... -
loading MC loading text path question? link fixed
Sorry my link to the files was bad before try this link 8) this is the code in the frame of the shell.fla //load Movie Behavior -
loading MC loading text question?
I have a movie that I dynamically load text into the "bodyText" dynamic text field from a text file it works fine. However when I load that movie... -
Swap Depths of Target Loaded Movie Clips
Can anyone help? I'm using buttons to load external draggable mc's into the movie where the buttons are located. I'm trying to swapDepths of these... -
PHP files not loading- html loading fine from the same folder!?
I have IIS installed on a Win2000 Server SP4 platform. I have installed PHP V4.3.3 and phpBB forum pages. All is running fine except for one slight... -
Adam Albright #2
Re: Q about Loading SWF at Different Depths
On Sat, 24 Jul 2004 17:48:38 -0700, Mirsky <mirsky@mirsky.com> wrote:
To load a movie into a level (layer) you need to specify the movie>Hi. I own Flash 4 and I recently downloaded the demo version of Flash
>2004 MX. I'm having trouble understanding how to load swf files into
>different depths (i.e. stacking orders) in Flash 2004 MX. In Flash 4, I
>used the Load command which required that I include a URL parameter, for
>the location of the swf file, and a level parameter, for the depth of
>the file, i.e. the file's stacking order. I'm not sure how to dictate
>the stacking order using Flash 2004 MX. There is a LoadMovie command,
>but I am not sure if it works the same was as the Load command in Flash
>4. Can anyone explain how I can load different swf movies into different
>stacking orders in Flash 2004 MX?
>
>Thanks,
>
>Mirsky
name and level. The main timeline is always 0. A movie loaded into
level 1 will be on top of 0, 2 will be on top of 1 and so forth. There
are many ways and methods.
example:
loadMovieNum{"myMovie.swf",4;) would load a movie at the forth level.
There are also ways to determine which level a object is on, switch
levels, etc..
Perhaps a better method for many situations is to just create a empty
movie with a instance name. In the example below I used a instance
name of mainHolder1_mc and use it as a holder then load into it. This
way you can reuse the same container over and over again, the contents
(what you load into the movie holder) automatically takes on the
properites of the container. In other words whatever you want to do to
the contents, you address its container, not the contents.
So if you wanted a movie you load into the empty movie holder to scale
to 50% or move to x or y postion, or become invisible or have a
gradient fill etc., simply use
loadMovie("myMovie.swf",mainHolder1_mc);
mainHolder1_mc._visible = true;
mainHolder1_mc._xscale = 50;
mainHolder1_mc._yscale = 50;
mainHolder1_mc._x = 200;
mainHolder1_mc._y = 400;
mainHolder1_mc._alpha = 80
and so on... there over a couple dozen things you can control with the
MovieClip class. The above would change a invisible movie to visible,
scale the movie to half size, and move it to have its registration
point at x = 200, y = 400 and change the opacity to 80%.
Adam Albright Guest
-
karDEL #3
Re: Q about Loading SWF at Different Depths
loadMovie("movie1.swf", 1);
loadMovie("movie2.swf", 2);
loadMovie("top.swf", 99);
"Mirsky" <mirsky@mirsky.com> schrieb im Newsbeitrag
news:mirsky-41EB3E.17483724072004@corp-radius.supernews.com...> Hi. I own Flash 4 and I recently downloaded the demo version of Flash
> 2004 MX. I'm having trouble understanding how to load swf files into
> different depths (i.e. stacking orders) in Flash 2004 MX. In Flash 4, I
> used the Load command which required that I include a URL parameter, for
> the location of the swf file, and a level parameter, for the depth of
> the file, i.e. the file's stacking order. I'm not sure how to dictate
> the stacking order using Flash 2004 MX. There is a LoadMovie command,
> but I am not sure if it works the same was as the Load command in Flash
> 4. Can anyone explain how I can load different swf movies into different
> stacking orders in Flash 2004 MX?
>
> Thanks,
>
> Mirsky
karDEL Guest



Reply With Quote

