Is there any reason why you need your tooltip text to be selectable?
Selectable text gives you the i-beam cursor when you roll over it, and the
i-beam interferes with button events. Try this...

myTextField.selectable = false;

On 12/29/06, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:

Thanks, Grégoire.  Your thought process seemed to work.  I also ended up
having to include a check for whether or not the tooltip MC was undefined
onEnterFrame.

- MM


class toolbarFunctions extends MovieClip {
        private var tipID:Number;
        function toolbarFunctions() {
        }
        function onRollOver():Void {
                this.tipID = setInterval(this, "displayTip", 1000);
        }
        function displayTip():Void {
                // create text container...
        // check to see if it was getting created again and again...
                if (_root.tooltip == undefined) {
                        _root.createEmptyMovieClip("tooltip", 20);
                        _root.tooltip.createTextField("tip", 1, 0, 0, 100,
100);
                        _root.tooltip.tip.text = "tooltip";
                        // make text follow mouse...
                        _root.tooltip.onEnterFrame = function():Void  {
                                var coord:Object = {xx:_root._xmouse,
yy:_root._ymouse};
                                this._x = coord.xx;
                                this._y = coord.yy;
                        };
                        clearInterval(this.tipID);
                }
        }
}

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to