Re: [Flashcoders] Selection class makes me want to kick someone in theface

2006-10-02 Thread Andreas Rønning
All this stuff is true, but my problem isn't getting the selection, it is *unselecting* it. As in setSelection(0,0); My problem is more related to not being able to control setSelection with an onPress without having it borking on me. Right now i've "solved" it with a clearSelection method that

RE: [Flashcoders] Selection class makes me want to kick someone in theface

2006-10-02 Thread Giles Taylor
Hi Andreas, I've got round this in the past by getting the selection when it is made rather than when the button is pushed. Something like (you may need to fiddle with the scopes): richText_txt.onMouseDown = function(){ if((this._parent._xmouse > this._x) && (this._parent._xmouse < (this.