I have a button that I am using multiple places in multiple swfs. It has a graphic that means "Copy to clipboard", and for my users means "from whatever textbox it is near." I am going to convert it to a movieclip so that I can have a tooltip pop up after a hover of a settable duration. I want to expose:
1--the tooltip contents,
2--the target textbox whose contents get copied, and
3--the duration of the hover needed to pop the tooltip
as read/write properties of the mc at design time.
Please, let me have your opinions -- what's the best way of making this re-usable across fla's? Make it a component, or make a class to set the behaviors and attach a copy of the mc from each fla's library, or just what? I am pretty sure I can do the coding for any of the approaches, but I could sure use some help in choosing an approach.
1--the tooltip contents,
2--the target textbox whose contents get copied, and
3--the duration of the hover needed to pop the tooltip
as read/write properties of the mc at design time.
Please, let me have your opinions -- what's the best way of making this re-usable across fla's? Make it a component, or make a class to set the behaviors and attach a copy of the mc from each fla's library, or just what? I am pretty sure I can do the coding for any of the approaches, but I could sure use some help in choosing an approach.