MANY great tnx! it works!
this is my final code:
the onRelease = null is not necessary kuz a Button component
allready transmit it.
and the keyDown function fires a click event on ENTER key press.
any comments?
class myComponents.myButton extends mx.controls.Button {
public function
You can set the useHandCursor and onRelease properties in a mouse
over handler, like so:
class myComponents.myButton extends mx.controls.Button {
public function myButton(){
extraSpacing = 50;
this.btnOffset = 1;
label = NO LABEL;
addEventListener(mouseOver,
still not working, just to remind u - i m trying to use the
useHandCurosr
if i write it directly in the mxml tag (useHandCursor=true) it works
great!! but when trying to do this from AS its not working.
my guess it is something to do with the scope..
but what is the solution?
Add:
Er, wait a minute, what the heck is this?
myComponents.myButton
Why not:
class MyComponent? What is the . for?
- Original Message -
From: shemeshkale [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, July 16, 2006 3:18 PM
Subject: [flexcoders] Re: tryin to extend
this is the way it is structured in my site. the AS file name is
myButton.as and it is inside myComponents folder.
Er, wait a minute, what the heck is this?
myComponents.myButton
Why not:
class MyComponent? What is the . for?
Yahoo! Groups Sponsor
5:38 PM
Subject: [flexcoders] Re: tryin to extend the Button (flex1.5)
this is the way it is structured in my site. the AS file name is
myButton.as and it is inside myComponents folder.
Er, wait a minute, what the heck is this?
myComponents.myButton
Why not:
class MyComponent? What
6 matches
Mail list logo