Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Changing the state of a button? (again :) |
| From: | Marc Hoffman, Poison Dart Frog Media |
| Date: | Wed, 1 Mar 2000 19:11:54 GMT |
At 10:47 AM 3/1/00 , you wrote:
>Hi all...
>
>Sorry about asking the question again, but fixing this problem would make
>my life a whole easier. My problem is that I have to have a load of hot
>spot buttons arranged over an island map and I want a roll over event on
>one of these buttons to trigger another button to show a roll over state in
>the key box, I've tried combining both buttons into a single entity and
>this works but it requires a load of faffing about and as there are 100+
>buttons over 10 levels to do. I can also get the roll over effect by
>converting the button to a movie and using TellTarget but the movie will
>not act as a button "doah"
>
>Could somebody tell me how to use TellTarget (or some other coding
>solution) to change another buttons state, if this is possible?
You can't use TellTarget to change another button's state, because button
instances don't have instance names (hence they can't be targeted). You
can, however, place a button inside a movie clip, so that might help in
your pondering all of this. I think coding all the TellTargets, especially
after the fact, is going to be harder than my suggestion of combining
buttons. You would need even more objects (movie clips to receive
TellTargets from buttons). If you were doing this from scratch, I imagine
Branden or another of our ActionScript gurus could give you some generic
code to copy and paste that would shorten development time. Perhaps someone
else has a better idea -- I hope so!
Marc Hoffman
Poison Dart Frog Media: Specializing in Flash Animation and Digital Audio
Production
Our latest Flash job is on display at <http://www.dartfrogmedia.com/rickfrnd>
See our Flash portfolio at <http://www.dartfrogmedia.com/portfolio>
(featured in Flash 3 Web Animation, by Ken Milburn)
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: Changing the state of a button? (, Mark Prettyman
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

