Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / March 2007



Tip: Looking for answers? Try searching our database.

Simple Question - Changing Button Text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
robertnzana - 26 Mar 2007 23:45 GMT
I want to create a simple menu.  Each menu "button" is an arrow pointing to the
word.  When a user hovers over the button the arrow/text changes from blue to
red text.  I've created the first button and saved it as a symbol with no
problem.

Here's the issue:  DUPLICATING the button several times to other "menu items".
When I start to change the text of the button it changes ALL instances of the
other buttons (which kind of makes sense because they are really the same
object I believe).

I want to be able to change the "button over" from let's say red to green
later on if I want to - having to change it on ONLY 1 place, even though there
may be 10 buttons.  How should I go about doing this.  

I hope my message is clear to you....

Sorry for the simple question.
magoo - 27 Mar 2007 20:08 GMT
> Here's the issue:  DUPLICATING the button several times to other
> "menu items". When I start to change the text of the button it
> changes ALL instances of the other buttons (which kind of makes sense
> because they are really the same object I believe).

You can either create several objects, or use the same object that gets its
text from a little script, that is different for every button (that`s how I
would do it, rather than populating the lib with lots of almost similar
objects).

> Sorry for the simple question.

Don`t apologize for asking simple things.
You should feel guilty thou if you don`t try first... ;-)

Signature

Kind regards,
magoo

robertnzana - 29 Mar 2007 22:33 GMT
Thanks for your reply.

I was thinking for of like object oriented programming.  There's no easy way
to have all the buttons based on the same "root" button.  It would be great to
just change the behavior of 1 button and all "children" reflect this change.

If I have to use a "little script" are there any simple examples you can point
me to?

Thanks again!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.