In an ActionScript component, you can make the component internal to the package. You might also combine it with the "ExcludeClass" metadata tag to 'hide' the class name from people using your SWC.
I'm not sure if I'd equate either of these approach to private, though.

I blogged about this in a bit more detail:

http://www.jeffryhouser.com/index.cfm?mode=entry&entry=4DC9B79C-65B3-D59C-464EC981E0A2EA8F

Josh McDonald wrote:
Not in MXML components.

-Josh

On Wed, Jul 23, 2008 at 9:53 AM, Nate Beck <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Newbish question... but after searching on google, I can't get a
    concise answer.

    Is it possible to encapsulate (mark private) components within a
    Flex component?

    So I have custom MXML component (ResourcesTree) that has a Tree
    inside of it. I don't want
    the Tree to directly be available outside the ResourcesTree Component.

    Any input?


    ------------------------------------

    --
    Flexcoders Mailing List
    FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
    Search Archives:
    http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
    Groups Links


       mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>





--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

--
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711  | Phone: 1-203-379-0773
--
Adobe Community Expert 
<http://www.adobe.com/communities/experts/members/JeffryHouser.html>
My Company: <http://www.dot-com-it.com> My Podcast: <http://www.theflexshow.com> My Blog: <http://www.jeffryhouser.com>

Reply via email to