You should be able to override the className property, something like this:

override public function className():String{
 return 'VBox'
}

 Whether it is a good idea or not is open to discussion.

pmotzfeldt wrote:
> Hi, 
>
> I am wondering if anybody knows how I can find the actual class type
> of a custom component?
>
> By that I mean I create a custom component that is a VBox, but I call
> it MyCustomBox, and whenever I call className on that it returns
> MyCustomBox, but I want to get the class VBox by any means.
>
> Appreciate any help, thanks!
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>
>   

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust


Reply via email to