Re: [Flashcoders] how to get a rollover event from a button component

2005-10-20 Thread Michael Stuhr
eugen pflüger schrieb: hi micha, thanks! its working. but where did you get this trick from? lowlevelevents? never heard before. great! eugen reading manuals sometimes. :-) micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread eugen pflüger
hi micha, thanks! its working. but where did you get this trick from? lowlevelevents? never heard before. great! eugen Am 19.10.2005 um 16:48 schrieb Michael Stuhr: eugen pflüger schrieb: and also no "onRollOver" events or something like this. mouseMove is not working either. i thou

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread Michael Stuhr
eugen pflüger schrieb: and also no "onRollOver" events or something like this. mouseMove is not working either. i thought maybe someone knows a hack? eugen import mx.events.LowLevelEvents; foo.prototype = LowLevelEvents; fooTrace = function (evt) { trace (evt.target._name); } foo.a

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread Aubrey Fletcher
does this work for you? stop(); var myListener:Object = new Object(); myListener.onMouseMove = function() { trace(_xmouse); Mouse.removeListener(myListener); }; myButton.onRollOver = function() { this._parent.onEnterFrame = function() { Mouse.addListener(myListener); }; }; myButton.onPre

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread eugen pflüger
//--- // this is what is possible: //--- var listener = new Object(); listener.click = function () { trace("click"); } this.test_btn.addEventListener("click", listener); //

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread Spike
does mouseMove do what you want? Spike On 10/19/05, eugen pflüger <[EMAIL PROTECTED]> wrote: > > hello, > > this should be an easy one but i dont get it. > > how can i catch a rollover event from a button component? > i just wanted to build a little tooltip. > > tia > eugen >

[Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread eugen pflüger
hello, this should be an easy one but i dont get it. how can i catch a rollover event from a button component? i just wanted to build a little tooltip. tia eugen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.c