On 2/28/17, 12:26 AM, "Justin Mclean" <jus...@classsoftware.com> wrote:
>Hi, > >With the Fade Effect (and probably others) the constructor takes the >target and saves it to a private property actualTarget. > >When the ValueEvent is dispatched there no way to get at the target of >the event. Should actualTarget be made a read only getter? Again, PAYG. So far, the examples we've created haven't needed to get at the target of the event. Some other set of effects can provide that if needed. > >BTW You can get at private properties, which I didn’t expect, by simply >using array notation like so - event.target["actualTarget”]. Way back in the beginning we decided not to add the overhead of trying to truly prevent access to private variables. This is one of the reasons I like having a SWF version as well, so the Flash runtime will find these hacks for you but you don't have to pay for it on the JS runtime. -Alex