Re: [Flashcoders] Re: Iterate through instance methods

2006-05-04 Thread Keith Salisbury

Hi Tom,

No, not using AS3, just AS2. Its seems its not possible, so i've
tackled the problem from the inside using __resolve instead

thanks for your suggestion



On 5/3/06, Tom Lee [EMAIL PROTECTED] wrote:

What kind of object are you trying to introspect? A movieclip?  Which
language are you working with?  In ActionScript 3, for...in will only
enumerate dynamic properties of an object.   You will need to use
describeType for static properties and methods.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Salisbury
Sent: Wednesday, May 03, 2006 12:25 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: Iterate through instance methods

I'm assuming the reason is due to the method existing further up the
prototype chain, but even so, is there really no way to discover what
(public) methods an instance supports??


On 5/3/06, Keith Salisbury [EMAIL PROTECTED] wrote:
 Hi,

 How do i iterate through the public methods of an instanceusing a
 for in seems to result in nothing



--
[EMAIL PROTECTED]
___
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




--
[EMAIL PROTECTED]
___
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] Re: Iterate through instance methods

2006-05-03 Thread Keith Salisbury

I'm assuming the reason is due to the method existing further up the
prototype chain, but even so, is there really no way to discover what
(public) methods an instance supports??


On 5/3/06, Keith Salisbury [EMAIL PROTECTED] wrote:

Hi,

How do i iterate through the public methods of an instanceusing a
for in seems to result in nothing




--
[EMAIL PROTECTED]
___
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] Re: Iterate through instance methods

2006-05-03 Thread Tom Lee
What kind of object are you trying to introspect? A movieclip?  Which
language are you working with?  In ActionScript 3, for...in will only
enumerate dynamic properties of an object.   You will need to use
describeType for static properties and methods.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Salisbury
Sent: Wednesday, May 03, 2006 12:25 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: Iterate through instance methods

I'm assuming the reason is due to the method existing further up the
prototype chain, but even so, is there really no way to discover what
(public) methods an instance supports??


On 5/3/06, Keith Salisbury [EMAIL PROTECTED] wrote:
 Hi,

 How do i iterate through the public methods of an instanceusing a
 for in seems to result in nothing



--
[EMAIL PROTECTED]
___
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