Thanks.  Searched my Outlook Express messages to no avail; I know it was 
already mentioned in another way, but gave up finding it.  Running Flex in 
Debug mode just to see the classes is a pain in the arse.

She's getting stricter every month, bro, and it sucks.  One of the weird 
things I started seeing Java developers do via AJAX is start learning about 
JavaScript's prototype property, and all of the magical things, like the 
below, you can do with a loesly typed language.

Most of that is gone in AS3.  Granted, you can still do some introspection, 
like for in loops, the new for each loop, but trying to dyanically asset 
privates:

private var somePrivate1:Object;

// outside class access
someInstance["somePrivate" + 1];

Throws an exception...

The compiler's even getting smart to see if you try to do that ahead of time 
on some instances.

Thankfully, there is still Proxy which allows pretty much the same 
flexibility via a class structure.

I think the only thing that can be said that is positive about AJAX is that 
if you miss prototyping hacking, you still have something to play with.

----- Original Message ----- 
From: "Eric Raymond" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 29, 2005 2:18 PM
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