[flexcoders] What is ObjectEvent.property property?

2006-02-28 Thread Vadim Melnik
Hi All,

Documentation describes mx.utils.event.ObjectEvent.property as public
String property [1]. But Flex 2 Beta 1 implements it as AS3 Object
(and we have to cast it to String explicitly, to prevent compilaton
errors). Is there reason to have other type for property name than
string? And if so what are other possible types for property name,
(perhaps QName, or something else say related to namespaced properties)? 

There is also third type used to describe property name mentioned in
ObjectProxy class. ObjectProxy uses any * type for property name -
it's first parameter to getProperty/ setProperty/ deleteProperty/
callProperty and other brothers. 

In my understanding (1) first parameter to ObjectProxy.xxxProperty,
(2) ObjectEvent.property field implementation and (3)
ObjectEvent.property documentation refer to the same thing, but using
different words...

[1]
http://livedocs.macromedia.com/labs/1/flex/langref/mx/utils/events/ObjectEvent.html#property

--
Thanks,
Vadim Melnik.





--
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/
 





RE: [flexcoders] What is ObjectEvent.property property?

2006-02-28 Thread Matt Chotin
Yes, QName is usually the other type.  But we use * for the parameter
type to match what the Player does in its Proxy class.  You're probably
right that we should match them up.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Vadim Melnik
Sent: Tuesday, February 28, 2006 9:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is ObjectEvent.property property?

Hi All,

Documentation describes mx.utils.event.ObjectEvent.property as public
String property [1]. But Flex 2 Beta 1 implements it as AS3 Object
(and we have to cast it to String explicitly, to prevent compilaton
errors). Is there reason to have other type for property name than
string? And if so what are other possible types for property name,
(perhaps QName, or something else say related to namespaced properties)?


There is also third type used to describe property name mentioned in
ObjectProxy class. ObjectProxy uses any * type for property name -
it's first parameter to getProperty/ setProperty/ deleteProperty/
callProperty and other brothers. 

In my understanding (1) first parameter to ObjectProxy.xxxProperty,
(2) ObjectEvent.property field implementation and (3)
ObjectEvent.property documentation refer to the same thing, but using
different words...

[1]
http://livedocs.macromedia.com/labs/1/flex/langref/mx/utils/events/Objec
tEvent.html#property

--
Thanks,
Vadim Melnik.





--
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

* 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/