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
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
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
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
//---
// this is what is possible:
//---
var listener = new Object();
listener.click = function ()
{
trace("click");
}
this.test_btn.addEventListener("click", listener);
//
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
>
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
7 matches
Mail list logo