-
Send to back
Hello,
Im trying to make a simple Image loop for a home page of a website.
I have flash loading the images dynamically thru loadmovie
the Images load fine, but they go on top of everything else.
Is there a way to get them on a lower layer?
-
erm change the depth of the images, you can use swapdepths
the script is
YOURMCNAME.swapDepths(11);
11 is the depth, 1 being low and 10000 being high
-
I tried using that, and it didnt do anything. The Loaded Image still goes to the Front.
I have two Objects on the time line, A White Box, that I fade in and out, and the MC that loads the Image.
the box is called white, the image is called img1
img1.swapDepths(11);
white.swapDepths(15);
Would this not work?
-
You need to wait until the image has loaded. I suggest dropping loadMovie in favor of the MovieclipLoader class and its onLoadInit event, in which you can place the swapDepths.
More info and examples in the liveDocs (link in my footer)
gparis
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|