Share Posted August 1, 2012 I put this into my AS: manager.addSelectionBoxElement(deleteButton, "topRight", 40, 0); how do I reference to the deleteButton, to change scaling or other things on the deleteButton? Maybe I am to dumb to see the right way?? thanx in advance Link to comment Share on other sites More sharing options...
Share Posted August 1, 2012 You should keep a reference yourself. Like: private var _deleteButton:DisplayObject; function myFunction() { _deleteButton = this.getChildByName("delete_btn"); //or whatever manager.addSelectionBoxElement(_deleteButton, "topRight", 40, 0); } See what I mean? Link to comment Share on other sites More sharing options...
Share Posted August 2, 2012 Ah ok ... I see ... thanx for the fast reply ... cheers Chrome 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