RE: [Flashcoders] Creating Components Basic - RadioButton

2006-01-27 Thread Helmut Granda
Ok, I have been doing my homework and the more I search and try to
understand the farther away I get from my goal.

Could someone give me a little more of guidance of how to register an object
to a class as Eric described?

I have read a lot about different ways to dispatch events from within the
class but I haven't been able to find how to register the object.

TIA.

...helmut

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Thursday, January 26, 2006 3:40 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Creating Components Basic - RadioButton

Thanks!

Ill look into this, I had the idea that it had something to do with the
scoping of the movieclip.

So, let me understand this correctly.

When I create the manager class any events or even the name of the movieclip
will be contained within that class for later use.

...helmut

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Thursday, January 26, 2006 3:15 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Creating Components Basic - RadioButton

Make a manager class that basically allows objects to register with it, and
then have it do what you want it to do. It can dispatch events and also
enable/disable members of the group.

- edolecki

On 1/26/06, Helmut Granda [EMAIL PROTECTED] wrote:

 [ - Moved from Flashnewbie - ]



 I am creating a basic component, its just an MC that behaves like a button
 with its RollOver, RollOut behavior.



 There is one catch, when the user selects this button the button itself
 becomes disabled, but when the user selects any other button ( a copy of
 this component) the button that was selected gets enabled again.



 I have tried to get the button re-activated by getting its _name and
 _target
 but no go.



 Basically I am trying to achieve a similar behavior that the RadioButton
 component has, for example when the user selects any button from a group
 the
 other buttons from the same group become de-selected.



 Any Ideas would be appreciated.



 .helmut.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Creating Components Basic - RadioButton

2006-01-26 Thread eric dolecki
Make a manager class that basically allows objects to register with it, and
then have it do what you want it to do. It can dispatch events and also
enable/disable members of the group.

- edolecki

On 1/26/06, Helmut Granda [EMAIL PROTECTED] wrote:

 [ - Moved from Flashnewbie - ]



 I am creating a basic component, its just an MC that behaves like a button
 with its RollOver, RollOut behavior.



 There is one catch, when the user selects this button the button itself
 becomes disabled, but when the user selects any other button ( a copy of
 this component) the button that was selected gets enabled again.



 I have tried to get the button re-activated by getting its _name and
 _target
 but no go.



 Basically I am trying to achieve a similar behavior that the RadioButton
 component has, for example when the user selects any button from a group
 the
 other buttons from the same group become de-selected.



 Any Ideas would be appreciated.



 .helmut.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Creating Components Basic - RadioButton

2006-01-26 Thread Helmut Granda
Thanks!

Ill look into this, I had the idea that it had something to do with the
scoping of the movieclip.

So, let me understand this correctly.

When I create the manager class any events or even the name of the movieclip
will be contained within that class for later use.

...helmut

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: Thursday, January 26, 2006 3:15 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Creating Components Basic - RadioButton

Make a manager class that basically allows objects to register with it, and
then have it do what you want it to do. It can dispatch events and also
enable/disable members of the group.

- edolecki

On 1/26/06, Helmut Granda [EMAIL PROTECTED] wrote:

 [ - Moved from Flashnewbie - ]



 I am creating a basic component, its just an MC that behaves like a button
 with its RollOver, RollOut behavior.



 There is one catch, when the user selects this button the button itself
 becomes disabled, but when the user selects any other button ( a copy of
 this component) the button that was selected gets enabled again.



 I have tried to get the button re-activated by getting its _name and
 _target
 but no go.



 Basically I am trying to achieve a similar behavior that the RadioButton
 component has, for example when the user selects any button from a group
 the
 other buttons from the same group become de-selected.



 Any Ideas would be appreciated.



 .helmut.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders