RE: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Steven Sacks | BLITZ
BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
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


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread dnk

Steven Sacks | BLITZ wrote:

BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
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
  

Thanks Steven

I had found out that one earlier today. The reply is appreciated though!


Onto the next issue I am having... =-)


Dustin
___
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


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Victor Gaudioso
It is such a simple concept and it took me days to truely get it...I guess 
old habits die Hard.  Now that I do get it, my life is much easier.  Thanks 
John ;)


V
- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 6:40 PM
Subject: RE: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
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


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Victor Gaudioso
Oh and just as a side note, I was giong crazy because I wanted to Delegate a 
function without having a button event, I came up with Delegate with a 
setInterval.  Worked great, there might be other better ways; I am always 
willing to learn a better way.  V



- Original Message - 
From: Victor Gaudioso [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 7:37 PM
Subject: Re: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



It is such a simple concept and it took me days to truely get it...I guess 
old habits die Hard.  Now that I do get it, my life is much easier. 
Thanks John ;)


V
- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 16, 2006 6:40 PM
Subject: RE: [Flashcoders] ::dk:: understanding roll over with 
addEventListener



BTN_Foo.onRollOver = Delegate.create(this, fooRollOver);
BTN_Foo.onRelease = Delegrate.create(this, fooRelease);

etc.
etc.

:)

___
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



___
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


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-14 Thread eka

Hello :)

if you use Macromedia's V2 components, the Button component don't have over
and out event  you must override the class and add your custom events.

EKA+ :)


2006/10/14, dnk [EMAIL PROTECTED]:


Hi there - this is probably a simple question, but...

I have been using addEventListener with button components:

this._targetMc.btn.addEventListener(click, MyDelegate.create(this,
onHit));

Then the onHit function deals with it.

Now I need some rollover  rollout functions.

So I wrote those, and then tried adding the event with:


this._targetMc.btn.addEventListener(rollOver, MyDelegate.create(this,
onRollOvr);
this._targetMc.btn.addEventListener(rollOut, MyDelegate.create(this,
onRollOut);

Yet nothing is called - what am I missing?


Not sure if it matters, these actions are within an AS2 class.

Thanks in advance!

d


___
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


Re: [Flashcoders] ::dk:: understanding roll over with addEventListener

2006-10-14 Thread dnk

eka wrote:

Hello :)

if you use Macromedia's V2 components, the Button component don't have 
over
and out event  you must override the class and add your custom 
events.


EKA+ :)


Pointers to any docs on how to do that?

Thanks!

d


___
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] ::dk:: understanding roll over with addEventListener

2006-10-13 Thread dnk

Hi there - this is probably a simple question, but...

I have been using addEventListener with button components:

this._targetMc.btn.addEventListener(click, MyDelegate.create(this, 
onHit));


Then the onHit function deals with it.

Now I need some rollover  rollout functions.

So I wrote those, and then tried adding the event with:


this._targetMc.btn.addEventListener(rollOver, MyDelegate.create(this, 
onRollOvr);
this._targetMc.btn.addEventListener(rollOut, MyDelegate.create(this, 
onRollOut);


Yet nothing is called - what am I missing?


Not sure if it matters, these actions are within an AS2 class.

Thanks in advance!

d


___
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