If you put the following frame labels inside 4 frames of a movie clip:

_up, _over, _down, _hit 

and put a stop action in each of those frames,

when you assign behaviors to the movie clip instance (i.e.
myMC.onRelease = function() ) the movie clip will act exactly like a
button.  Is this what you mean?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Tim Stickland
>>Sent: Thursday, October 20, 2005 1:45 PM
>>To: [email protected]
>>Subject: [Flashcoders] movieclips functioning as buttons
>>
>>Hi all
>> I've got a library of button symbols that I want to be movieclips so
I can
>>link them to an as2 class.
>> I can obviously convert all the symbols to movieclips in the library,
and
>>the button states are retained as frames inside the clip, however the
>>movieclip continually loops through the frames (as would be expected).
>> One way of fixing this is to execute a stop() action as soon as the
>>movieclip loads, but I thought it was possible to somehow flag a
movieclip
>>as a button instead so that it automatically treats each of the 4
frames as
>>the 4 button states? Or have I been dreaming again...
>> Thanks in advance
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to