More specifically, you shouldn’t use public variables as references *within* 
the MXML. The reason for that is that the references in the MXML are saved as 
text which might not match the renamed variables when the code is minified.

> On Mar 28, 2019, at 11:45 AM, yishayw <[email protected]> wrote:
> 
>> Does this have any disadvantages or leads to unpredictable behavior when
>> using public vars?
> 
> 
> In light of this [1] comment it looks like you might run into trouble when
> using classes with public vars from within MXML.
> 
> [1]
> http://apache-royale-development.20373.n8.nabble.com/Public-Vars-tp2698p2702.html
> 
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
> 
> 
> 
> 
> 
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/

Reply via email to