Sounds like you need a custom JSFL command. That would do it nicely.
____________________________________________
Joseph Balderson
Interactive Media Design & Development
http://www.joeflash.ca
Faculty Member, Flash Development,
Humber College School of Media Studies
http://mediastudies.humber.ca
____________________________________________
Merrill, Jason wrote:
Yeah, I don't think there is any way to do what you're describing... I
could be wrong, but I've never heard of that kind of capability. I
mean, I'm pretty sure there is no way to automatically add framelabels
for example.
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 2:26 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] movieclips functioning as buttons
Hi Jason
It achieves what I'm trying to achieve, but it's a long way round as
I have
to edit each of the symbols to put in the labels and stop actions.
I was wondering if there was a property that could be set so that
Flash
would automatically use the first 4 frames of the movie clips as the 4
buttons states so there's no need to edit the symbols themselves.
The more I think about it, the more I think I'm making it up
though...
On 10/20/05, Merrill, Jason <[EMAIL PROTECTED]> wrote:
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<http://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
--
http://www.chombee.co.uk
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders