Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Dynamically loading image problem

Image covers up the animation



4:25 pm on Jul 29, 2004 (gmt 0)

10+ Year Member

I am trying to create a movie that uses a dynamically loading jpeg. I have some vertical lines that move across the movie and should go over the jpeg image. The problem I am having is the image covers the effects. I have tried to add "loadMovieNum("images/main_image.jpg", 0);" on Layer 2 and then on Layer 1 I have my animated lines that should go across the jpeg image. The line animation is on the bottom layer, but the image still covers the effects. Am I doing something wrong?


8:57 pm on Jul 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

just put the layer with the lines on above the the layer you are loading the image into in the stacking order - irrespective of what thw layers are called.


1:21 am on Jul 30, 2004 (gmt 0)

10+ Year Member

I have tried this but for some reason it pushes the image to the top.

Here is the example of the .fla file:



8:19 am on Jul 30, 2004 (gmt 0)

10+ Year Member

you probably need to actually change the depths of the various bits in code.

if you load the jpg into, for example, a depth of 5, you need to make sure your effects are set to a depth greater than 5, which will mean your 'effects' might also need to be a movieclip too.


Featured Threads

Hot Threads This Week

Hot Threads This Month