Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

properties with $ prefix in Flex

What is the significance of the $ prefix on some properties of Flex Objects?

e.g. item.$width

like image 458
Assaf Lavie Avatar asked Dec 29 '22 06:12

Assaf Lavie


1 Answers

The $identifier notation is the used naming convention for mx_internal functions (mostly getters/setters) in the Flex SDK. Whereas the _identifier convention is used for private and mx_internal variables.

For the exact definition of the naming conventions check this page: Coding Conventions - Flex SDK

like image 61
splash Avatar answered Jan 09 '23 18:01

splash