FORUMS: list search recent posts

Trace clicked MC

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Seth Olson
Trace clicked MC
on Feb 13, 2006 at 4:02:53 pm

I want to dynamically call the name of the button that I am clicking on. Is that possible?
When I use "this", it references the MC the button is in, not the button itself. Suggestions?


Return to posts index

Matt Klundt
Re: Trace clicked MC
on Feb 13, 2006 at 8:21:55 pm

if you place the actionscript on a keyframe instead of directly on the button, calling "this._name" should give you the button name instead of the movieclip it is contained within.

Matt
--------------------
http://www.mcquillendesign.com
http://www.mattfoxgames.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]