A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How do I put a MC's instance name in a variable?

  1. #1
    Gaming Forever Dot Com
    Join Date
    Aug 2002
    Posts
    124

    How do I put a MC's instance name in a variable?

    How do I do this?:

    _root.car_currently_driving = this_mcs_instance_name;

    Thanks

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Location
    Houston TX
    Posts
    563
    Try doing a DUP movie clip instead.

    www.e4net.com
    www.tobymack.com
    Best regards
    Toby Mack

    For the best and funniest Audio Blog on the Internet come visit:

    http://feeds.feedburner.com/Fla****UpBlog

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    _root.car_currently_driving = this._name;

  4. #4
    Gaming Forever Dot Com
    Join Date
    Aug 2002
    Posts
    124
    Simple, yet it's not in the Help Panel. Thanks alot.

    (I'm making a Grand Theft Auto-ish game where you can jack any of the cars on the street)

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