Q about Loading SWF at Different Depths

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: Q about Loading SWF at Different Depths

    On Sat, 24 Jul 2004 17:48:38 -0700, Mirsky <mirsky@mirsky.com> wrote:
    >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
    To load a movie into a level (layer) you need to specify the movie
    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

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139