dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Bring to Front

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    8
    does anyone know any code that would allow an object to be brought to the front. Kind of like in the
    Modify > Arrange > bring to front menu option?

  2. #2
    Denim Demon
    Join Date
    Jun 2002
    Location
    Outside of society
    Posts
    514
    Yeah.
    You could use the movie clip method: swapDepths

    myClip.swapDepths(depth);// replace the word depth with the name of another movie clip instance.

    You'll be switching the depth of one with another. They both have to be in the same parent movie.

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