dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: return depth as var

  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    21

    return depth as var

    Depths have been covered but I have not seen code that can just tell me what depth a movie clip is on.

    How do you get a MC's depth and return it as a variable?

    DS

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Location
    Egypt
    Posts
    332
    there's a new method in flash mx called getDepth():

    var d = myMc.getDepth();

    regards,
    Hamza.

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