The describeType utility will give you information about variables
accessible to you, I think it will not give you information about
privates if you are not an instance of that class.  

Agreed that manipulation of privates is sometimes useful, I know lots of
people like to do the prototype hacking that Jesse mentioned, but the
benefits in locking some of this stuff down from an API cleanliness
perspective, developer predictability, and finally performance, seem to
outweigh what we lost.

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Raymond
Sent: Thursday, December 29, 2005 2:19 PM
To: [email protected]
Subject: [flexcoders] Re: Changing the properties of a Drag Proxy in
Flex 1.5 (also AS3 type safety)

Close, but no cigar.

This will get you to the proxy you set via DragManager.doDrag:
Object(mx.managers.DragManager)._dragProxy.proxyImage

Of course it's still undocumented and unsupported. 

FYI,  it's a very useful developer feature to be able to introspect and
subvert the type system at runtime.  It allows the brave to get around
many limitations the library designers did not forsee.  Is this behavior
still supported in AS3?  I vaguely remember they tightened up the
meaning of private.  Hopefully there is still a mechanism to expose even
private properties (strangely even Java allows this via refelction).
Sadly, I haven't been able to devote any time to Flex 2 beta.

--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Yes, but it's undocumented and unsupported.
> 
> I think it's like _root["_dragProxy"], or 
> mx.core.Application.application["_dragProxy"].
> 
> 
> ----- Original Message ----- 
> From: "Eric Raymond" [EMAIL PROTECTED]
> To: [email protected]
> Sent: Thursday, December 29, 2005 2:49 AM
> Subject: [flexcoders] Changing the properties of a Drag Proxy
> 
> 
> Is there a way to change the properties of the dragProxy in response
> to a drag event?
> 
> For example can you change the size or scale of the proxy if you drag
> it over certain targets?
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to