Hi,

Your mixing apples and oranges here.

You need to access the trackSkin instance inside a subclass as it's probably
protected. It might actually be private, where this is a real problem.

Short end of the stick is, unless an instance property is public, you cannot
do what you want here. Very seldom will an api give you access to an
instance property like that publicly.

Peace, Mike

On 3/22/07, Firdosh Tangri <[EMAIL PROTECTED]> wrote:

  Hey all,
      I have a HSlider where I set the trackSkin to my custom Class


     trackSkin="{SliderTrack}"

      So i get the class at runtime using the getStyles Property

      var sdSkin:Class= Class(video_HSlider.getStyle("trackSkin"));


      but how do go about accessing the properties and methods of
SkinClass so for example I want to
      change its width maybe.

cheers :)
firdosh




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to