estanglerbm opened a new issue #1159:
URL: https://github.com/apache/royale-asjs/issues/1159


   Using variables (non-property) in fx:Binding causes exception on JS side.  
(SWF is fine, and compiling in Flex is fine.)
   
   It looks like properties and functions and xml and other things are expected 
in fx:Binding on the JS side, but not directly using variables like Boolean or 
String or int.
   
   (Based on other testing) In 
org.apache.royale.binding.DataBindingBase.decodeWatcher(), type = 5 for the 
problem bindings.
   
   If you use only one of the labels, the problem doesn't show up.  But with 
the two labels, plus the fx:Binding, then watchers.length == 3, and the last 
watcher has null bindings.
   
   See attached example; exception thrown during load on JS side.  If you use 
the commented-out sections (which use properties), instead, then it loads fine
   
[TestFXBindingNonProperty.mxml.txt](https://github.com/apache/royale-asjs/files/7448539/TestFXBindingNonProperty.mxml.txt)
   .
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to