[FlashComm] netconnection to be declared private [as 2] 2004-03-11 - By Heiko Schweickhardt
Back i've got the following simple code inside inside my class:
class lounge { //var declaration private var nc:NetConnection;
[...] }
though the "private" keyword works for each of my other variables, the "nc"-object is still accessible from outside the class!
i'm still able to connect i.e. the connection-light component to it in the flash timeline:
light_mc.connect(my_lounge.nc);
i'm not that excessively experienced in OOP with f7, i hope someone can clear things up for me.
cheers! -heiko
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: flashcomm-unsubscribe@(protected) For additional commands, e-mail: flashcomm-help@(protected)
|
|