If the lines are being drawn using actionscript, chances are they do not have a home in the timeline. If that's the case, try drawing them inside a movieclip that lives in a layer below the menu.
Ned, thanks very much for your help as ever. Each line lives within a movieclip, i use the following code:
(with an increasing depth value as otherwise it wouldn't seem to display properly) for each line and then within each movieclip draw the relevant line. This code is placed within the actions of a frame within a layer beneath the menu layer. Does this amount to what you were suggesting or is there a difference in collating all of these movieclips into one container movieclip?
Thanks so much for your help,
1 person found this helpful
putting the script in a layer below other visual assets does not make that script draw on that layer of your movie.
Ned's advice was correct.
On your outline layer place an empty movieclip and give it the instance name "outline_mc"
In all of your code that draws lines try something like this:
Thank you both so much, that has made it work perfectly now i have physically added a movieclip on the stage and placed everything within that as suggested. This makes perfect sense, what i'm still slightly confused about (i don't need it for this, i'm just intrigued!) is how you would create that movieclip using actionscript and have it placed in that location (rather than manually adding it)? Or is that not actually possible? I had thought if i put
this.createEmptyMovieClip("myLine7", 10); within the actions of a frame then it would place the movieclip within that frame, although i'm now pretty sure that's wrong.
Thanks so much guys!
For everything you wanted (and more) to know about depth management in AS2.
Read the whole thing, but the second page will explain the difference between timeline placed artwork and dynamic artwork.