Schemaphic Systems Blog

Sharing experiences in Flash, Flex and AIR

Private variables accessible in ActionScript3.0

leave a comment »

While browsing through some blogs I came over this fantastic blog on ActionScript. I bet, you all will like it too.
A new thing I learned today is that a variable declared private can still be accessed from a class by another instance of the same parent class. I am sure you also did not believe me like I did until I tested it myself as well. Check this out.

Advertisements

Written by Deepanjan Das

February 19, 2011 at 10:17 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: