dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: retrieve instance name or Identifier

  1. #1
    the naked eye waynenort's Avatar
    Join Date
    Jan 2002
    Location
    Melbourne, Australia
    Posts
    334

    retrieve instance name or Identifier

    How can I retrieve instance name or identifier from an MC?
    So if used an on(release) on the MC, how could I get the instance or identifier name of that MC?

  2. #2
    dubba you tee eff steven_h_2000's Avatar
    Join Date
    Oct 2000
    Location
    Columbus, Ohio
    Posts
    137
    you can retrieve the instance name via the _name property, you shouldn't need to see what the identifier name is though, but if yoy must... you could always name the identifier the same and add a named extension like "myMcName_ID"...follow?

  3. #3
    FK Newb Beater
    Join Date
    Dec 2002
    Location
    Seattle
    Posts
    676
    Use the keyword 'this'.
    Code:
    on(release) {
        trace(this)
    }
    Just because you changed the code, doesn't mean it's yours

    Most Recent Work:
    Commercial tanning beds website

  4. #4
    the naked eye waynenort's Avatar
    Join Date
    Jan 2002
    Location
    Melbourne, Australia
    Posts
    334
    thanks

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