A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Depth Issue

  1. #1
    Flash Incompetent ChaseNYC's Avatar
    Join Date
    Jun 2002
    Location
    new york city
    Posts
    693

    [F8] Depth Issue

    So I'm working on a project that duplicates many movie clips and when I duplicate them I am currently using the .getNextHighestDepth() command; however, my problem lies in the fact that some of the movie clips I have placed on stage I need to appear ontop of the the MCs duplicated in my actionscript but I think when the AS gets the nexthighestlevel its places the newly duplicated movie clips above the MC's I have placed onstage even though the ones I want are on a seperate layer above the layer the movie clip I'm duplicating is on. wow I hope that was readable... anyways, any help with this is much appreciated.
    mmm signature

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    for the MC's you have placed onstage, use -

    myMovieClip1.swapDepths(getNextHighestDepth() )
    myMovieClip2.swapDepths(getNextHighestDepth() )

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center