  | | | Best way of ataching code to a movieclip to work as a button? | Best way of ataching code to a movieclip to work as a button? 2004-03-15 - By Kevin Boyd (MMCR)
Back I have to put around 36 movie clips on my stage to act as a buttons, they will all have the same functionality, just different images on them. So what is the most efficient way of attaching code to them. I was looking at #initclip but that seems to be used for setting up classes etc. all I really need is this functionality
onPress(){ gotoAndStop(2) }
TIA
Kevin
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107000 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |