Share Posted February 11, 2010 I have a button I was trying to enable only if there are items in the transform manager: But it is not enabling when I add items to the transform manager. Am I missing something? Link to comment Share on other sites More sharing options...
Share Posted February 11, 2010 Frankly, I'm not a big Flex guy but this sure seems like a data binding issue that's Flex-related, not so much TransformManager-related. You could just set up a listener for the SELECTION_CHANGE event and have it affect your button's enabled state. Link to comment Share on other sites More sharing options...
Author Share Posted February 11, 2010 I wound up adding a function call whenever I add or remove an item to update the boolean. I think all I'd need, though, is to make the "items" variable bindable. I can try it out; where is this variable set in your code? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now