> what I need to know is how to get the value of objone properties,
> currently I have tried objone.myname and it's not working

make sure you declare your properties - ie put "property myName" at the top
of the script. 

Incidentally, if you are needing the access object properties like this,
then you might want to re-consider your design approach (the internal
properties of an object really shouldn't been the concern of another object,
at least from an object-orientated view). Perhaps the functionality that
requires access to those properties is something that is best incorporated
into the objects themselves. The general rule that "accessors are bad" (ie
methods which simply return property values indicate poor abstraction or
definition of an object's 'purpose') is good to the extent that it forces
you to think of objects as more than passive data containers.

Luke

 
__________________________________________________________________________
Mecca Medialight Pty Ltd

Mecca Medialight:                       Mecca Medialight Sound Studio:
111 Moor Street                         1 Bakehouse Lane
Fitzroy, Vic. 3065                      North Fitzroy, Vic. 3068
Tel +613 9416 2033                      Tel +613 9416 2033
Fax +613 9416 2055                      Fax +613 9416 2055

http://www.meccamedialight.com.au/

**************************************************************************
This email and any files transmitted with it may contain information which
is privileged, confidential and protected from disclosure. If you have
received this email in error please notify [EMAIL PROTECTED] and do
not use, disclose, copy, distribute or retain any of it without our
authority.
**************************************************************************

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to