Dear all,
i have some question about passing parameter. For example , i
have a user data object which stored the information of the user.
When i have some custom component which may use this object, which
method is better?
a) Pass it in the object (for example)
<xx:Component user_object="{user_data}"/>
b) Reference it inside the custom component
in Component.mxml
<mx:VBox>
<mx:Label text="{parentDocument.user_data.name}"/>
</mx:VBox>
Which one is better for performance?
thx
capho
--
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/