except, as i pointed out in my post, i'm not looking for the skin class names (as that link talks about). i just want to know what the state of it is. if you want to do it like in the article, you have to build a skin class. it would seem to me that you could get the state somehow without doing that. but the "name" property is just the instance name if you don't add the skin class.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Thumb is a Button, so the same rules should apply. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of bryancostanich > Sent: Monday, August 18, 2008 4:08 PM > To: [email protected] > Subject: [flexcoders] how do you check the state during > updateDisplayList()? > > > > hi all, > > i'm creating a custom thumbSlider for a slider control, and in my > updateDisplayList() method, i want to check to see if it's mouseover, > mousedown, etc. how do i check to see what state it is in? > > i know you can do it if you're using custom skins with the name > property, as shown here: > http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel > \ > p.htm?context=LiveDocs_Book_Parts&file=skinning_071_11.html, > <http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhe > lp.htm?context=LiveDocs_Book_Parts&file=skinning_071_11.html,> but i > don't > want to do it based on the skin, i just want to do a simple state check. > > thanks. > -b >

