|
You have to html-encode the ampersand as “&”,
the pipe should be fine as it is… <?xml
version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="horizontal"> <mx:Script> <![CDATA[ [Bindable] private
var bool1 : Boolean = false; [Bindable] private
var bool2 : Boolean = true; ]]> </mx:Script> <mx:Button
enabled="{ bool1 && bool2 }" label="AND
operator" /> <mx:Button
enabled="{ bool1 || bool2 }" label="OR operator" /> </mx:Application> -Andy _____________________________________ Andrew Trice Cynergy Systems, Inc. Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: I want to be able to enter: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcoders] how to handle && and || in mxml boy_trike
- RE: [flexcoders] how to handle && and || in mxml Andrew Trice

